[INFO] cloning repository https://github.com/mpdn99/ICP_Vote [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mpdn99/ICP_Vote" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmpdn99%2FICP_Vote", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmpdn99%2FICP_Vote'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ecf6e15b3e477feb846a166eb045281dd040ad2e [INFO] building mpdn99/ICP_Vote against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmpdn99%2FICP_Vote" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mpdn99/ICP_Vote [INFO] finished tweaking git repo https://github.com/mpdn99/ICP_Vote [INFO] tweaked toml for git repo https://github.com/mpdn99/ICP_Vote written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mpdn99/ICP_Vote on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mpdn99/ICP_Vote 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic0 v0.18.11 [INFO] [stderr] Downloaded quote v1.0.31 [INFO] [stderr] Downloaded serde_bytes v0.11.12 [INFO] [stderr] Downloaded parking_lot_core v0.9.8 [INFO] [stderr] Downloaded ic-cdk v0.7.4 [INFO] [stderr] Downloaded ic-stable-structures v0.5.6 [INFO] [stderr] Downloaded ic-cdk-timers v0.1.2 [INFO] [stderr] Downloaded syn v2.0.27 [INFO] [stderr] Downloaded rustix v0.38.4 [INFO] [stderr] Downloaded futures-channel v0.3.28 [INFO] [stderr] Downloaded futures-core v0.3.28 [INFO] [stderr] Downloaded futures-macro v0.3.28 [INFO] [stderr] Downloaded futures-executor v0.3.28 [INFO] [stderr] Downloaded pin-project-lite v0.2.10 [INFO] [stderr] Downloaded slab v0.4.8 [INFO] [stderr] Downloaded binread v2.2.0 [INFO] [stderr] Downloaded num-bigint v0.4.3 [INFO] [stderr] Downloaded windows-targets v0.48.1 [INFO] [stderr] Downloaded leb128 v0.2.5 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.48.0 [INFO] [stderr] Downloaded winnow v0.5.0 [INFO] [stderr] Downloaded serde_tokenstream v0.1.7 [INFO] [stderr] Downloaded regex-syntax v0.7.4 [INFO] [stderr] Downloaded ic-cdk-macros v0.6.10 [INFO] [stderr] Downloaded futures-sink v0.3.28 [INFO] [stderr] Downloaded candid_derive v0.5.0 [INFO] [stderr] Downloaded bitflags v2.3.3 [INFO] [stderr] Downloaded petgraph v0.6.3 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.48.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.48.0 [INFO] [stderr] Downloaded futures-util v0.3.28 [INFO] [stderr] Downloaded smallvec v1.11.0 [INFO] [stderr] Downloaded siphasher v0.3.10 [INFO] [stderr] Downloaded regex-automata v0.3.3 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.48.0 [INFO] [stderr] Downloaded aho-corasick v1.0.2 [INFO] [stderr] Downloaded typed-arena v2.0.2 [INFO] [stderr] Downloaded cpufeatures v0.2.9 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.48.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.43 [INFO] [stderr] Downloaded candid v0.8.4 [INFO] [stderr] Downloaded futures-io v0.3.28 [INFO] [stderr] Downloaded futures-task v0.3.28 [INFO] [stderr] Downloaded binread_derive v2.1.0 [INFO] [stderr] Downloaded unicode-width v0.1.10 [INFO] [stderr] Downloaded cc v1.0.79 [INFO] [stderr] Downloaded errno v0.3.1 [INFO] [stderr] Downloaded lock_api v0.4.10 [INFO] [stderr] Downloaded pretty v0.10.0 [INFO] [stderr] Downloaded typenum v1.16.0 [INFO] [stderr] Downloaded linux-raw-sys v0.4.3 [INFO] [stderr] Downloaded sha2 v0.10.7 [INFO] [stderr] Downloaded futures v0.3.28 [INFO] [stderr] Downloaded anyhow v1.0.72 [INFO] [stderr] Downloaded data-encoding v2.4.0 [INFO] [stderr] Downloaded log v0.4.19 [INFO] [stderr] Downloaded regex v1.9.1 [INFO] [stderr] Downloaded either v1.8.1 [INFO] [stderr] Downloaded windows_i686_gnu v0.48.0 [INFO] [stderr] Downloaded num-traits v0.2.16 [INFO] [stderr] Downloaded thiserror v1.0.43 [INFO] [stderr] Downloaded serde_derive v1.0.173 [INFO] [stderr] Downloaded serde v1.0.173 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.48.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82657f8da548a44bdc05a66ca20067b4eed675a47ab37cbae245f732c71e5356 [INFO] running `Command { std: "docker" "start" "-a" "82657f8da548a44bdc05a66ca20067b4eed675a47ab37cbae245f732c71e5356", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82657f8da548a44bdc05a66ca20067b4eed675a47ab37cbae245f732c71e5356", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82657f8da548a44bdc05a66ca20067b4eed675a47ab37cbae245f732c71e5356", kill_on_drop: false }` [INFO] [stdout] 82657f8da548a44bdc05a66ca20067b4eed675a47ab37cbae245f732c71e5356 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f0c8f3a70450f9535a03250de55006bf4dc831a08c4031dc7561a2009731fcb [INFO] running `Command { std: "docker" "start" "-a" "9f0c8f3a70450f9535a03250de55006bf4dc831a08c4031dc7561a2009731fcb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lock_api v0.4.10 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling smallvec v1.11.0 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.3 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling serde v1.0.173 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.173 [INFO] [stderr] Compiling winnow v0.5.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling quote v1.0.31 [INFO] [stderr] Compiling ena v0.14.2 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling syn v2.0.27 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling petgraph v0.6.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling thiserror v1.0.43 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling anyhow v1.0.72 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling cpufeatures v0.2.9 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling regex-automata v0.3.3 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling futures-io v0.3.28 [INFO] [stderr] Compiling pin-project-lite v0.2.10 [INFO] [stderr] Compiling slotmap v1.0.6 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling ic0 v0.18.11 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ic-stable-structures v0.5.6 [INFO] [stderr] Compiling sha2 v0.10.7 [INFO] [stderr] Compiling toml_edit v0.19.14 [INFO] [stderr] Compiling thiserror-impl v1.0.43 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling serde_bytes v0.11.12 [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [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 num_enum v0.5.11 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling futures-executor v0.3.28 [INFO] [stderr] Compiling logos v0.12.1 [INFO] [stderr] Compiling futures v0.3.28 [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 final_project_backend v0.1.0 (/opt/rustwide/workdir/src/final_project_backend) [INFO] [stdout] warning: unused import: `candid::bindings::javascript::value` [INFO] [stdout] --> src/final_project_backend/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::bindings::javascript::value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/final_project_backend/src/lib.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | fn to_bytes(&self) -> 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] 45 | fn to_bytes(&self) -> 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/rustcR0S9fx/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcR0S9fx/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libic_cdk-7dd249571991e5f7,libic0-ffac5c3a91b50e91,libic_stable_structures-1a5b8d0b697daabc,libcandid-07a2cc19013050bd,libcrc32fast-6bd2f9a022460d01,libdata_encoding-895f1f4cbdae727d,libserde_bytes-db8a1bf1353041a5,libhex-28742b4ca144387c,libleb128-ae0983f084a091ac,libbyteorder-379f547b04d51d02,liblogos-847794ec4fce258b,libsha2-515726b793ea85a6,libcpufeatures-77532a8d776daa73,libcfg_if-33ef6c02a07f9fec,libdigest-6f6a6a7c3acb69c5,libblock_buffer-8b3785b76e969141,libcrypto_common-a7ab9c2ce61987fe,libgeneric_array-7c2e0e952299dd52,libtypenum-1ab5967a8ed48346,libnum_bigint-461dd1a025f18c01,libnum_integer-100901199b8bf6b5,libnum_traits-2e272a9345fc3c9f,libanyhow-41dbd987b548ec71,libnum_enum-2e1346d46bd54adf,libbinread-2cbfdac9b3d34cb9,liblazy_static-2bb390fee0230a38,liblalrpop_util-9a2205370e3c0ffc,libthiserror-4010cf656eb82fb8,libcodespan_reporting-481789aff7225304,libunicode_width-7913f665bfaff21d,libtermcolor-bf907dc46feeefc7,libpretty-90d63a9d2fe1aa9e,libarrayvec-f5ee3f47c3793c70,libtyped_arena-e8efe135793da16d,libserde-88a308491776b537}.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/rustcR0S9fx/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/libfinal_project_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/rustcR0S9fx/list:3: ; expected, but got get_proposal [INFO] [stdout] >>> canister_query get_proposal; [INFO] [stdout] >>> ^ [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `final_project_backend` (lib) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9f0c8f3a70450f9535a03250de55006bf4dc831a08c4031dc7561a2009731fcb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f0c8f3a70450f9535a03250de55006bf4dc831a08c4031dc7561a2009731fcb", kill_on_drop: false }` [INFO] [stdout] 9f0c8f3a70450f9535a03250de55006bf4dc831a08c4031dc7561a2009731fcb