[INFO] cloning repository https://github.com/abhaysingh200/Digivoter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/abhaysingh200/Digivoter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabhaysingh200%2FDigivoter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabhaysingh200%2FDigivoter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e5ad310f5324782e0563e52399ed09d3c3e7405f [INFO] testing abhaysingh200/Digivoter against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fabhaysingh200%2FDigivoter" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/abhaysingh200/Digivoter [INFO] finished tweaking git repo https://github.com/abhaysingh200/Digivoter [INFO] tweaked toml for git repo https://github.com/abhaysingh200/Digivoter written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/abhaysingh200/Digivoter on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/abhaysingh200/Digivoter already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.94 [INFO] [stderr] Downloaded ic0 v0.18.11 [INFO] [stderr] Downloaded ic-cdk v0.7.4 [INFO] [stderr] Downloaded ic-cdk-macros v0.6.10 [INFO] [stderr] Downloaded ic-cdk-timers v0.1.2 [INFO] [stderr] Downloaded lalrpop-util v0.19.12 [INFO] [stderr] Downloaded ena v0.14.3 [INFO] [stderr] Downloaded ascii-canvas v3.0.0 [INFO] [stderr] Downloaded string_cache v0.8.8 [INFO] [stderr] Downloaded candid_derive v0.5.0 [INFO] [stderr] Downloaded phf_shared v0.11.3 [INFO] [stderr] Downloaded beef v0.5.2 [INFO] [stderr] Downloaded pretty v0.10.0 [INFO] [stderr] Downloaded hermit-abi v0.5.0 [INFO] [stderr] Downloaded term v0.7.0 [INFO] [stderr] Downloaded data-encoding v2.8.0 [INFO] [stderr] Downloaded anyhow v1.0.97 [INFO] [stderr] Downloaded diff v0.1.13 [INFO] [stderr] Downloaded log v0.4.26 [INFO] [stderr] Downloaded indexmap v2.8.0 [INFO] [stderr] Downloaded candid v0.8.4 [INFO] [stderr] Downloaded smallvec v1.14.0 [INFO] [stderr] Downloaded redox_syscall v0.5.10 [INFO] [stderr] Downloaded logos-derive v0.12.1 [INFO] [stderr] Downloaded once_cell v1.21.1 [INFO] [stderr] Downloaded ic-stable-structures v0.5.6 [INFO] [stderr] Downloaded lalrpop v0.19.12 [INFO] [stderr] Downloaded logos v0.12.1 [INFO] [stderr] Downloaded libc v0.2.171 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 847f65b53cea2f67d01f0202e539379a5a3a3829423ac1b721ed63769445e747 [INFO] running `Command { std: "docker" "start" "-a" "847f65b53cea2f67d01f0202e539379a5a3a3829423ac1b721ed63769445e747", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "847f65b53cea2f67d01f0202e539379a5a3a3829423ac1b721ed63769445e747", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "847f65b53cea2f67d01f0202e539379a5a3a3829423ac1b721ed63769445e747", kill_on_drop: false }` [INFO] [stdout] 847f65b53cea2f67d01f0202e539379a5a3a3829423ac1b721ed63769445e747 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f564b09f31596e036aecab26a555b455357f2679b18807784b8bae2d13db648 [INFO] running `Command { std: "docker" "start" "-a" "4f564b09f31596e036aecab26a555b455357f2679b18807784b8bae2d13db648", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling log v0.4.26 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling ic0 v0.18.11 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ic-stable-structures v0.5.6 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling string_cache v0.8.8 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling logos-derive v0.12.1 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling candid_derive v0.5.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling num_enum v0.5.11 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling candid v0.8.4 [INFO] [stderr] Compiling ic-cdk-macros v0.6.10 [INFO] [stderr] Compiling ic-cdk v0.7.4 [INFO] [stderr] Compiling ic-cdk-timers v0.1.2 [INFO] [stderr] Compiling digivoter_backend v0.1.0 (/opt/rustwide/workdir/src/digivoter_backend) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/digivoter_backend/src/lib.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 48 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/digivoter_backend/src/lib.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 99 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/digivoter_backend/src/lib.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | fn to_bytes(&self) -> std::borrow::Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 115 | fn to_bytes(&self) -> std::borrow::Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--version-script=/tmp/rustcYseAuD/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcYseAuD/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libic_stable_structures-1a5b8d0b697daabc,libic_cdk_timers-a8c6949ef4d58ad8,libslotmap-18d5eb1f5f29a07d,libfutures-883bf730067ba353,libfutures_executor-b3cc764e36780fd3,libfutures_util-90e7aed5d157311c,libmemchr-3ffe5f7a52883367,libfutures_io-3e19596c076de665,libslab-b066ee2c679b47fd,libfutures_channel-bb3bea02536f003a,libpin_project_lite-bedc6e0acd72ff2a,libfutures_sink-23538ced8fe824d7,libfutures_task-19b3aba2be9e7ae8,libpin_utils-9a5791cba021167a,libfutures_core-7288ace658af78d0,libic_cdk-9667deb7b6565572,libic0-ffac5c3a91b50e91,libcandid-a9ecd44e034cf123,libcrc32fast-ec6b1847c42b19ed,libdata_encoding-b2c98f7e771d5c4c,libserde_bytes-6f1ba2e06e815426,libhex-28742b4ca144387c,libleb128-ae0983f084a091ac,libbyteorder-1efcbe4f07366651,liblogos-ad8738e47aa8fe1d,libsha2-3a8d5788fe4ca974,libcpufeatures-471354fefbcaf2d8,libcfg_if-33ef6c02a07f9fec,libdigest-1c0ded6696e33019,libblock_buffer-eb912e7657afff52,libcrypto_common-7fdbb27dd40ebdc7,libgeneric_array-4d1e7d2120c15a03,libtypenum-b636c2b461885073,libnum_bigint-e41b618778bfd103,libnum_integer-3367a357d6e00808,libnum_traits-1a0074f98e3a6d0e,libanyhow-75a9af91c5a25be8,libnum_enum-167d832bb46bc8b7,libbinread-a46ea91b7d0541b1,liblazy_static-b3603208c0de2608,liblalrpop_util-9a2205370e3c0ffc,libthiserror-7c1344085899d0d8,libcodespan_reporting-95536f9d6a0ef0d8,libunicode_width-08b963676a6677c5,libtermcolor-96a9ed65821a6544,libpretty-90d63a9d2fe1aa9e,libarrayvec-f5ee3f47c3793c70,libtyped_arena-e8efe135793da16d,libserde-0cb3c1f217d08baf}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcYseAuD/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libdigivoter_backend.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /tmp/rustcYseAuD/list:4: ; expected, but got __get_candid_interface_tmp_hack [INFO] [stdout] >>> canister_query __get_candid_interface_tmp_hack; [INFO] [stdout] >>> ^ [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `digivoter_backend` (lib) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4f564b09f31596e036aecab26a555b455357f2679b18807784b8bae2d13db648", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f564b09f31596e036aecab26a555b455357f2679b18807784b8bae2d13db648", kill_on_drop: false }` [INFO] [stdout] 4f564b09f31596e036aecab26a555b455357f2679b18807784b8bae2d13db648