[INFO] cloning repository https://github.com/0xjustAJ/proposal_build_on_ICP
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xjustAJ/proposal_build_on_ICP" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xjustAJ%2Fproposal_build_on_ICP", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xjustAJ%2Fproposal_build_on_ICP'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bbc5e91c74ff6e7697917dba62e3173504a9914b
[INFO] testing 0xjustAJ/proposal_build_on_ICP against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xjustAJ%2Fproposal_build_on_ICP" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/0xjustAJ/proposal_build_on_ICP
[INFO] finished tweaking git repo https://github.com/0xjustAJ/proposal_build_on_ICP
[INFO] tweaked toml for git repo https://github.com/0xjustAJ/proposal_build_on_ICP written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/0xjustAJ/proposal_build_on_ICP on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/0xjustAJ/proposal_build_on_ICP 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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ic-cdk-macros v0.14.0
[INFO] [stderr]   Downloaded thiserror v1.0.61
[INFO] [stderr]   Downloaded ic-cdk v0.14.0
[INFO] [stderr]   Downloaded ic-cdk-timers v0.8.0
[INFO] [stderr]   Downloaded psm v0.1.21
[INFO] [stderr]   Downloaded candid v0.10.9
[INFO] [stderr]   Downloaded anyhow v1.0.86
[INFO] [stderr]   Downloaded cc v1.0.103
[INFO] [stderr]   Downloaded ic-stable-structures v0.6.5
[INFO] [stderr]   Downloaded syn v2.0.68
[INFO] [stderr]   Downloaded serde v1.0.203
[INFO] [stderr]   Downloaded serde_derive v1.0.203
[INFO] [stderr]   Downloaded stacker v0.1.15
[INFO] [stderr]   Downloaded serde_tokenstream v0.2.1
[INFO] [stderr]   Downloaded thiserror-impl v1.0.61
[INFO] [stderr]   Downloaded unicode-width v0.1.13
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c188fd89e5bbab1ca374fb6adaabdfe1a4be0274694ce1752c1173c992b84f1c
[INFO] running `Command { std: "docker" "start" "-a" "c188fd89e5bbab1ca374fb6adaabdfe1a4be0274694ce1752c1173c992b84f1c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c188fd89e5bbab1ca374fb6adaabdfe1a4be0274694ce1752c1173c992b84f1c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c188fd89e5bbab1ca374fb6adaabdfe1a4be0274694ce1752c1173c992b84f1c", kill_on_drop: false }`
[INFO] [stdout] c188fd89e5bbab1ca374fb6adaabdfe1a4be0274694ce1752c1173c992b84f1c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Copt-level=3" "-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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8deca01eb39f31b689085767ded250b628ad1c929a75a055e58768829d2ab2ae
[INFO] running `Command { std: "docker" "start" "-a" "8deca01eb39f31b689085767ded250b628ad1c929a75a055e58768829d2ab2ae", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]    Compiling cc v1.0.103
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling rustversion v1.0.17
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling data-encoding v2.6.0
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling unicode-width v0.1.13
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]    Compiling ic0 v0.23.0
[INFO] [stderr]    Compiling pretty v0.12.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling syn v2.0.68
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling psm v0.1.21
[INFO] [stderr]    Compiling stacker v0.1.15
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling candid_derive v0.6.6
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling ic_principal v0.1.1
[INFO] [stderr]    Compiling serde_bytes v0.11.15
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling serde_tokenstream v0.2.1
[INFO] [stderr]    Compiling ic-stable-structures v0.6.5
[INFO] [stderr]    Compiling candid v0.10.9
[INFO] [stderr]    Compiling ic-cdk-macros v0.14.0
[INFO] [stderr]    Compiling ic-cdk v0.14.0
[INFO] [stderr]    Compiling ic-cdk-timers v0.8.0
[INFO] [stderr]    Compiling build_proposal_backend v0.1.0 (/opt/rustwide/workdir/src/build_proposal_backend)
[INFO] [stdout] warning: unused import: `ic_cdk::api::time`
[INFO] [stdout]   --> src/build_proposal_backend/src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use ic_cdk::api::time;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Cell`
[INFO] [stdout]   --> src/build_proposal_backend/src/lib.rs:13:28
[INFO] [stdout]    |
[INFO] [stdout] 13 | use ic_stable_structures::{Cell, DefaultMemoryImpl, StableBTreeMap, Storable};
[INFO] [stdout]    |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `proposal`
[INFO] [stdout]    --> src/build_proposal_backend/src/lib.rs:141:26
[INFO] [stdout]     |
[INFO] [stdout] 141 | fn end_proposal(key:u64, proposal: CreateProposal) -> Result<(), VoteError> {
[INFO] [stdout]     |                          ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_VALUE_SIZE` is never used
[INFO] [stdout]   --> src/build_proposal_backend/src/lib.rs:20:7
[INFO] [stdout]    |
[INFO] [stdout] 20 | const MAX_VALUE_SIZE: u32 = 5000;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/build_proposal_backend/src/lib.rs:55:17
[INFO] [stdout]    |
[INFO] [stdout] 55 |     fn to_bytes(&self) -> Cow<[u8]> {
[INFO] [stdout]    |                 ^^^^^     --------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 55 |     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/rustcNgSVpA/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcNgSVpA/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libic_stable_structures-cfa4d10b87412b35.rlib,libic_cdk-980c1c285d5b37db.rlib,libic0-34aeb837c82777a3.rlib,libcandid-d36cee4b3afb2081.rlib,libstacker-ff88f1f670483ee2.rlib,libpsm-35a76ae74b3954a7.rlib,liblibc-4e941f3c786d1baf.rlib,libhex-f8780b52ba33bd3a.rlib,libserde_bytes-0a6b3385bda37361.rlib,libpretty-fd7ee6f9f54d8ac7.rlib,libunicode_width-e8cd55034d947a59.rlib,libarrayvec-d3a3159c0badb6dc.rlib,libtyped_arena-b0234a7260a633d5.rlib,libleb128-d64510d9bf07956d.rlib,libbyteorder-6bb12dffd5e1b12b.rlib,libic_principal-00fdf885c2f3826d.rlib,libcrc32fast-eb05d000a72119f1.rlib,libdata_encoding-25664bb491ba017f.rlib,libsha2-08bdca5070529b6b.rlib,libcpufeatures-4d7c22fabe19e2f9.rlib,libcfg_if-238a855292fb6d2b.rlib,libdigest-6c36a0ae020c9066.rlib,libblock_buffer-64187f710a10a171.rlib,libcrypto_common-233ef679e8e85d01.rlib,libgeneric_array-b2259655a11fbb54.rlib,libtypenum-ba205961437c96e4.rlib,libnum_bigint-c27a09c9242695f1.rlib,libnum_integer-a3ee2ee8c55cd4ad.rlib,libnum_traits-6bee7ae8e423b0e2.rlib,libanyhow-0442785db30417bb.rlib,libbinread-0f37de0bae0de6a8.rlib,liblazy_static-5f41077b1fb4f2c7.rlib,libthiserror-91d9710014cea5c9.rlib,libserde-cee65290fb185153.rlib}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcNgSVpA/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/psm-1bc1efa471f5cedd/out" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libbuild_proposal_backend.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: /tmp/rustcNgSVpA/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 `build_proposal_backend` (lib) due to 1 previous error; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8deca01eb39f31b689085767ded250b628ad1c929a75a055e58768829d2ab2ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8deca01eb39f31b689085767ded250b628ad1c929a75a055e58768829d2ab2ae", kill_on_drop: false }`
[INFO] [stdout] 8deca01eb39f31b689085767ded250b628ad1c929a75a055e58768829d2ab2ae
