Building on c2-3.equinix.ci.dev (from ocaml/opam:debian-unstable@sha256:b80a9ed31b0abdd4ae9a195c7fc6cb6cd952fbd4654e59f1ef219880bbbd71f6) Unable to find image 'ocaml/opam:debian-unstable@sha256:b80a9ed31b0abdd4ae9a195c7fc6cb6cd952fbd4654e59f1ef219880bbbd71f6' locally docker.io/ocaml/opam@sha256:b80a9ed31b0abdd4ae9a195c7fc6cb6cd952fbd4654e59f1ef219880bbbd71f6: Pulling from ocaml/opam 624365a1732e: Pulling fs layer 624365a1732e: Verifying Checksum 624365a1732e: Download complete 624365a1732e: Pull complete Digest: sha256:b80a9ed31b0abdd4ae9a195c7fc6cb6cd952fbd4654e59f1ef219880bbbd71f6 Status: Downloaded newer image for ocaml/opam@sha256:b80a9ed31b0abdd4ae9a195c7fc6cb6cd952fbd4654e59f1ef219880bbbd71f6 2023-06-17 21:33.41 ---> using "7d60bd9cf13de83a2fc915bd8660b84a000026ca2eadd109efbf3b57cd5af04f" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2023-06-17 21:33.41 ---> using "62379d35ed668426d9d8110913c125fa3183b296a68efdc9da0c91b6897e4bf2" from cache /: (run (network host) (shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q 6ed4e23f2cefb96b2e2fce1c99e5cd85d7c4ee04")) 2023-06-17 21:33.41 ---> using "d67783525c2f7c1fb3010c0e770129217b499fe94429b3e3f0772c072398792a" from cache /: (run (shell "rm -rf ~/.opam && opam init -ya --bare --config ~/.opamrc-sandbox ~/opam-repository")) Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults. Checking for available remotes: rsync and local, git. - you won't be able to use mercurial repositories unless you install the hg command on your system. - you won't be able to use darcs repositories unless you install the darcs command on your system. <><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><> [default] Initialised User configuration: ~/.profile is already up-to-date. [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc. 2023-06-17 21:33.41 ---> using "394a25570d264bb6df13e493742820ac5dab3969c617aac9165a8108bc036a57" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '5.1' '5.1.0+trunk'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-variants" {= "5.1.0+trunk"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-variants.5.1.0+trunk (https://github.com/ocaml/ocaml/archive/5.1.tar.gz) -> installed ocaml-variants.5.1.0+trunk -> installed ocaml-config.3 -> installed ocaml.5.1.0 -> installed base-domains.base -> installed base-nnp.base Done. # Run eval $(opam env --switch=5.1) to update the current shell environment 2023-06-17 21:33.41 ---> using "b49f927472fad51b348c3e17c573d5cdd40d4c6cd16cc17508ab6a17111d9c65" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [199 kB] - Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2023-06-16-2007.30-F-2023-06-15-1407.28.pdiff [119 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2023-06-16-2007.30-F-2023-06-15-1407.28.pdiff [119 kB] - Fetched 382 kB in 2s (203 kB/s) - Reading package lists... 2023-06-17 21:33.41 ---> using "6ce2251c75bfff0d407ea6759fbe2a1637e17267056e58d1f4e3734fd5fce4fb" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"topiary.0.2.2\"\ \nopam install -vy \"topiary.0.2.2\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"topiary.0.2.2\" | grep -q '\"debian-unstable\"'; then\ \n echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\ \n exit 69\ \n fi\ \nfi\ \n\ \n\ \nexit $res\ \n")) Nothing to do. [NOTE] topiary.0.2.2 is not installed. The following actions will be performed: === install 2 packages - install conf-rust-2021 1 [required by topiary] - install topiary 0.2.2 The following system packages will first need to be installed: cargo <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run apt-get to install them (may need root/sudo access) 2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal) 3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable 4. Abort the installation [1/2/3/4] 1 + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "cargo" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package libpipeline1:amd64. - (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% - (Reading database ... 100% (Reading database ... 18078 files and directories currently installed.) - Preparing to unpack .../libpipeline1_1.5.7-1_amd64.deb ... - Unpacking libpipeline1:amd64 (1.5.7-1) ... - Selecting previously unselected package binfmt-support. - Preparing to unpack .../binfmt-support_2.2.2-2_amd64.deb ... - Unpacking binfmt-support (2.2.2-2) ... - Selecting previously unselected package libpython3.11-minimal:amd64. - Preparing to unpack .../libpython3.11-minimal_3.11.4-1_amd64.deb ... - Unpacking libpython3.11-minimal:amd64 (3.11.4-1) ... - Selecting previously unselected package python3.11-minimal. - Preparing to unpack .../python3.11-minimal_3.11.4-1_amd64.deb ... - Unpacking python3.11-minimal (3.11.4-1) ... - Setting up libpython3.11-minimal:amd64 (3.11.4-1) ... - Setting up python3.11-minimal (3.11.4-1) ... - Selecting previously unselected package python3-minimal. - (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18407 files and directories currently installed.) - Preparing to unpack .../python3-minimal_3.11.2-1+b1_amd64.deb ... - Unpacking python3-minimal (3.11.2-1+b1) ... - Selecting previously unselected package media-types. - Preparing to unpack .../media-types_10.0.0_all.deb ... - Unpacking media-types (10.0.0) ... - Selecting previously unselected package libpython3.11-stdlib:amd64. - Preparing to unpack .../libpython3.11-stdlib_3.11.4-1_amd64.deb ... - Unpacking libpython3.11-stdlib:amd64 (3.11.4-1) ... - Selecting previously unselected package python3.11. - Preparing to unpack .../python3.11_3.11.4-1_amd64.deb ... - Unpacking python3.11 (3.11.4-1) ... - Selecting previously unselected package libpython3-stdlib:amd64. - Preparing to unpack .../libpython3-stdlib_3.11.2-1+b1_amd64.deb ... - Unpacking libpython3-stdlib:amd64 (3.11.2-1+b1) ... - Setting up python3-minimal (3.11.2-1+b1) ... - Selecting previously unselected package python3. - (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18817 files and directories currently installed.) - Preparing to unpack .../00-python3_3.11.2-1+b1_amd64.deb ... - Unpacking python3 (3.11.2-1+b1) ... - Selecting previously unselected package libhttp-parser2.9:amd64. - Preparing to unpack .../01-libhttp-parser2.9_2.9.4-5_amd64.deb ... - Unpacking libhttp-parser2.9:amd64 (2.9.4-5) ... - Selecting previously unselected package libmbedcrypto7:amd64. - Preparing to unpack .../02-libmbedcrypto7_2.28.3-1_amd64.deb ... - Unpacking libmbedcrypto7:amd64 (2.28.3-1) ... - Selecting previously unselected package libmbedx509-1:amd64. - Preparing to unpack .../03-libmbedx509-1_2.28.3-1_amd64.deb ... - Unpacking libmbedx509-1:amd64 (2.28.3-1) ... - Selecting previously unselected package libmbedtls14:amd64. - Preparing to unpack .../04-libmbedtls14_2.28.3-1_amd64.deb ... - Unpacking libmbedtls14:amd64 (2.28.3-1) ... - Selecting previously unselected package libgit2-1.5:amd64. - Preparing to unpack .../05-libgit2-1.5_1.5.1+ds-1_amd64.deb ... - Unpacking libgit2-1.5:amd64 (1.5.1+ds-1) ... - Selecting previously unselected package libicu72:amd64. - Preparing to unpack .../06-libicu72_72.1-3_amd64.deb ... - Unpacking libicu72:amd64 (72.1-3) ... - Selecting previously unselected package libxml2:amd64. - Preparing to unpack .../07-libxml2_2.9.14+dfsg-1.2_amd64.deb ... - Unpacking libxml2:amd64 (2.9.14+dfsg-1.2) ... - Selecting previously unselected package libz3-4:amd64. - Preparing to unpack .../08-libz3-4_4.8.12-3.1_amd64.deb ... - Unpacking libz3-4:amd64 (4.8.12-3.1) ... - Selecting previously unselected package libllvm14:amd64. - Preparing to unpack .../09-libllvm14_1%3a14.0.6-12_amd64.deb ... - Unpacking libllvm14:amd64 (1:14.0.6-12) ... - Selecting previously unselected package libstd-rust-1.63:amd64. - Preparing to unpack .../10-libstd-rust-1.63_1.63.0+dfsg1-2_amd64.deb ... - Unpacking libstd-rust-1.63:amd64 (1.63.0+dfsg1-2) ... - Selecting previously unselected package libstd-rust-dev:amd64. - Preparing to unpack .../11-libstd-rust-dev_1.63.0+dfsg1-2_amd64.deb ... - Unpacking libstd-rust-dev:amd64 (1.63.0+dfsg1-2) ... - Selecting previously unselected package rustc. - Preparing to unpack .../12-rustc_1.63.0+dfsg1-2_amd64.deb ... - Unpacking rustc (1.63.0+dfsg1-2) ... - Selecting previously unselected package cargo. - Preparing to unpack .../13-cargo_0.66.0+ds1-1_amd64.deb ... - Unpacking cargo (0.66.0+ds1-1) ... - Selecting previously unselected package icu-devtools. - Preparing to unpack .../14-icu-devtools_72.1-3_amd64.deb ... - Unpacking icu-devtools (72.1-3) ... - Selecting previously unselected package libclang-cpp14. - Preparing to unpack .../15-libclang-cpp14_1%3a14.0.6-12_amd64.deb ... - Unpacking libclang-cpp14 (1:14.0.6-12) ... - Selecting previously unselected package libnspr4:amd64. - Preparing to unpack .../16-libnspr4_2%3a4.35-1.1_amd64.deb ... - Unpacking libnspr4:amd64 (2:4.35-1.1) ... - Selecting previously unselected package libnss3:amd64. - Preparing to unpack .../17-libnss3_2%3a3.89-2_amd64.deb ... - Unpacking libnss3:amd64 (2:3.89-2) ... - Selecting previously unselected package nss-plugin-pem:amd64. - Preparing to unpack .../18-nss-plugin-pem_1.0.8+1-1_amd64.deb ... - Unpacking nss-plugin-pem:amd64 (1.0.8+1-1) ... - Selecting previously unselected package libcurl3-nss:amd64. - Preparing to unpack .../19-libcurl3-nss_7.88.1-10_amd64.deb ... - Unpacking libcurl3-nss:amd64 (7.88.1-10) ... - Selecting previously unselected package libffi-dev:amd64. - Preparing to unpack .../20-libffi-dev_3.4.4-1_amd64.deb ... - Unpacking libffi-dev:amd64 (3.4.4-1) ... - Selecting previously unselected package libicu-dev:amd64. - Preparing to unpack .../21-libicu-dev_72.1-3_amd64.deb ... - Unpacking libicu-dev:amd64 (72.1-3) ... - Selecting previously unselected package libncurses6:amd64. - Preparing to unpack .../22-libncurses6_6.4-4_amd64.deb ... - Unpacking libncurses6:amd64 (6.4-4) ... - Selecting previously unselected package libncurses-dev:amd64. - Preparing to unpack .../23-libncurses-dev_6.4-4_amd64.deb ... - Unpacking libncurses-dev:amd64 (6.4-4) ... - Selecting previously unselected package libpfm4:amd64. - Preparing to unpack .../24-libpfm4_4.13.0-1_amd64.deb ... - Unpacking libpfm4:amd64 (4.13.0-1) ... - Selecting previously unselected package libtinfo-dev:amd64. - Preparing to unpack .../25-libtinfo-dev_6.4-4_amd64.deb ... - Unpacking libtinfo-dev:amd64 (6.4-4) ... - Selecting previously unselected package libxml2-dev:amd64. - Preparing to unpack .../26-libxml2-dev_2.9.14+dfsg-1.2_amd64.deb ... - Unpacking libxml2-dev:amd64 (2.9.14+dfsg-1.2) ... - Selecting previously unselected package libyaml-0-2:amd64. - Preparing to unpack .../27-libyaml-0-2_0.2.5-1_amd64.deb ... - Unpacking libyaml-0-2:amd64 (0.2.5-1) ... - Selecting previously unselected package libz3-dev:amd64. - Preparing to unpack .../28-libz3-dev_4.8.12-3.1_amd64.deb ... - Unpacking libz3-dev:amd64 (4.8.12-3.1) ... - Selecting previously unselected package llvm-14-runtime. - Preparing to unpack .../29-llvm-14-runtime_1%3a14.0.6-12_amd64.deb ... - Unpacking llvm-14-runtime (1:14.0.6-12) ... - Selecting previously unselected package llvm-14-linker-tools. - Preparing to unpack .../30-llvm-14-linker-tools_1%3a14.0.6-12_amd64.deb ... - Unpacking llvm-14-linker-tools (1:14.0.6-12) ... - Selecting previously unselected package llvm-14. - Preparing to unpack .../31-llvm-14_1%3a14.0.6-12_amd64.deb ... - Unpacking llvm-14 (1:14.0.6-12) ... - Selecting previously unselected package python3-pkg-resources. - Preparing to unpack .../32-python3-pkg-resources_67.8.0-1_all.deb ... - Unpacking python3-pkg-resources (67.8.0-1) ... - Selecting previously unselected package python3-pygments. - Preparing to unpack .../33-python3-pygments_2.15.1+dfsg-1_all.deb ... - Unpacking python3-pygments (2.15.1+dfsg-1) ... - Selecting previously unselected package python3-yaml. - Preparing to unpack .../34-python3-yaml_6.0-3+b2_amd64.deb ... - Unpacking python3-yaml (6.0-3+b2) ... - Selecting previously unselected package llvm-14-tools. - Preparing to unpack .../35-llvm-14-tools_1%3a14.0.6-12_amd64.deb ... - Unpacking llvm-14-tools (1:14.0.6-12) ... - Selecting previously unselected package llvm-14-dev. - Preparing to unpack .../36-llvm-14-dev_1%3a14.0.6-12_amd64.deb ... - Unpacking llvm-14-dev (1:14.0.6-12) ... - Setting up media-types (10.0.0) ... - Setting up libpipeline1:amd64 (1.5.7-1) ... - Setting up libicu72:amd64 (72.1-3) ... - Setting up libyaml-0-2:amd64 (0.2.5-1) ... - Setting up libpython3.11-stdlib:amd64 (3.11.4-1) ... - Setting up libffi-dev:amd64 (3.4.4-1) ... - Setting up libz3-4:amd64 (4.8.12-3.1) ... - Setting up libpfm4:amd64 (4.13.0-1) ... - Setting up libmbedcrypto7:amd64 (2.28.3-1) ... - Setting up libnspr4:amd64 (2:4.35-1.1) ... - Setting up libncurses6:amd64 (6.4-4) ... - Setting up binfmt-support (2.2.2-2) ... - invoke-rc.d: could not determine current runlevel - invoke-rc.d: policy-rc.d denied execution of start. - Setting up icu-devtools (72.1-3) ... - Setting up libicu-dev:amd64 (72.1-3) ... - Setting up libxml2:amd64 (2.9.14+dfsg-1.2) ... - Setting up libhttp-parser2.9:amd64 (2.9.4-5) ... - Setting up libpython3-stdlib:amd64 (3.11.2-1+b1) ... - Setting up libz3-dev:amd64 (4.8.12-3.1) ... - Setting up python3.11 (3.11.4-1) ... - Setting up libncurses-dev:amd64 (6.4-4) ... - Setting up libmbedx509-1:amd64 (2.28.3-1) ... - Setting up libmbedtls14:amd64 (2.28.3-1) ... - Setting up python3 (3.11.2-1+b1) ... - running python rtupdate hooks for python3.11... - running python post-rtupdate hooks for python3.11... - Setting up libnss3:amd64 (2:3.89-2) ... - Setting up libxml2-dev:amd64 (2.9.14+dfsg-1.2) ... - Setting up libllvm14:amd64 (1:14.0.6-12) ... - Setting up llvm-14-linker-tools (1:14.0.6-12) ... - Setting up libgit2-1.5:amd64 (1.5.1+ds-1) ... - Setting up python3-pkg-resources (67.8.0-1) ... - Setting up libtinfo-dev:amd64 (6.4-4) ... - Setting up libstd-rust-1.63:amd64 (1.63.0+dfsg1-2) ... - Setting up nss-plugin-pem:amd64 (1.0.8+1-1) ... - Setting up python3-yaml (6.0-3+b2) ... - Setting up libstd-rust-dev:amd64 (1.63.0+dfsg1-2) ... - Setting up python3-pygments (2.15.1+dfsg-1) ... - Setting up llvm-14-runtime (1:14.0.6-12) ... - Setting up libclang-cpp14 (1:14.0.6-12) ... - Setting up rustc (1.63.0+dfsg1-2) ... - Setting up libcurl3-nss:amd64 (7.88.1-10) ... - Setting up llvm-14 (1:14.0.6-12) ... - Setting up llvm-14-tools (1:14.0.6-12) ... - Setting up cargo (0.66.0+ds1-1) ... - Setting up llvm-14-dev (1:14.0.6-12) ... - Processing triggers for libc-bin (2.36-9) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 2/6: [topiary.0.2.2: http] Processing 3/6: [topiary.0.2.2: http] [conf-rust-2021: cargo] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "cargo" "--version" (CWD=/home/opam/.opam/5.1/.opam-switch/build/conf-rust-2021.1) - cargo 1.65.0 Processing 3/6: [topiary.0.2.2: http] [conf-rust-2021: rustc 2021] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "rustc" "--edition" "2021" "test.rs" (CWD=/home/opam/.opam/5.1/.opam-switch/build/conf-rust-2021.1) -> compiled conf-rust-2021.1 Processing 3/6: [topiary.0.2.2: http] -> installed conf-rust-2021.1 Processing 4/6: [topiary.0.2.2: http] Processing 4/6: -> retrieved topiary.0.2.2 (https://github.com/tweag/topiary-opam/releases/download/v0.2.2/source-code-with-submodules.tar.xz) Processing 5/6: [topiary: cargo build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "cargo" "build" "--release" "--package" "topiary-cli" (CWD=/home/opam/.opam/5.1/.opam-switch/build/topiary.0.2.2) - error: package `tree-sitter v0.20.10` cannot be built because it requires rustc 1.65 or newer, while the currently active rustc version is 1.63.0 - Either upgrade to rustc 1.65 or newer, or use - cargo update -p tree-sitter@0.20.10 --precise ver - where `ver` is the latest version of `tree-sitter` supporting rustc 1.63.0 [ERROR] The compilation of topiary.0.2.2 failed at "cargo build --release --package topiary-cli". #=== ERROR while compiling topiary.0.2.2 ======================================# # context 2.2.0~alpha~dev | linux/x86_64 | ocaml-variants.5.1.0+trunk | file:///home/opam/opam-repository # path ~/.opam/5.1/.opam-switch/build/topiary.0.2.2 # command ~/.opam/opam-init/hooks/sandbox.sh build cargo build --release --package topiary-cli # exit-code 101 # env-file ~/.opam/log/topiary-8-b1bc32.env # output-file ~/.opam/log/topiary-8-b1bc32.out ### output ### # error: package `tree-sitter v0.20.10` cannot be built because it requires rustc 1.65 or newer, while the currently active rustc version is 1.63.0 # Either upgrade to rustc 1.65 or newer, or use # cargo update -p tree-sitter@0.20.10 --precise ver # where `ver` is the latest version of `tree-sitter` supporting rustc 1.63.0 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build topiary 0.2.2 +- +- The following changes have been performed | - install conf-rust-2021 1 +- # Run eval $(opam env) to update the current shell environment The former state can be restored with: /usr/bin/opam switch import "/home/opam/.opam/5.1/.opam-switch/backup/state-20230617213343.export" 'opam install -vy topiary.0.2.2' failed. "/bin/bash" "-c" " opam remove -y "topiary.0.2.2" opam install -vy "topiary.0.2.2" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "topiary.0.2.2" | grep -q '"debian-unstable"'; then echo "This package failed and has been disabled for CI using the 'x-ci-accept-failures' field." exit 69 fi fi exit $res " failed with exit status 31 Failed: Build failed