[INFO] cloning repository https://github.com/perceptron10100sdas/example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/perceptron10100sdas/example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperceptron10100sdas%2Fexample", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperceptron10100sdas%2Fexample'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 57a4d7809aba389f9d585129fd8934d1fd9f8d0c [INFO] testing perceptron10100sdas/example against try#028592fec99e54cc92def5a2a849c673b066dd93 for pr-146098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperceptron10100sdas%2Fexample" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/perceptron10100sdas/example [INFO] finished tweaking git repo https://github.com/perceptron10100sdas/example [INFO] tweaked toml for git repo https://github.com/perceptron10100sdas/example written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/perceptron10100sdas/example on toolchain 028592fec99e54cc92def5a2a849c673b066dd93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/perceptron10100sdas/example 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" "+028592fec99e54cc92def5a2a849c673b066dd93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_bytes v0.11.14 [INFO] [stderr] Downloaded ic0 v0.18.11 [INFO] [stderr] Downloaded proc-macro2 v1.0.83 [INFO] [stderr] Downloaded ic-cdk v0.7.4 [INFO] [stderr] Downloaded candid v0.10.8 [INFO] [stderr] Downloaded ic-stable-structures v0.5.6 [INFO] [stderr] Downloaded candid_derive v0.6.6 [INFO] [stderr] Downloaded ic_principal v0.1.1 [INFO] [stderr] Downloaded pretty v0.12.3 [INFO] [stderr] Downloaded candid v0.8.4 [INFO] [stderr] Downloaded logos-derive v0.12.1 [INFO] [stderr] Downloaded serde_tokenstream v0.1.7 [INFO] [stderr] Downloaded ic-cdk-macros v0.8.4 [INFO] [stderr] Downloaded redox_syscall v0.5.2 [INFO] [stderr] Downloaded logos v0.12.1 [INFO] [stderr] Downloaded pretty v0.10.0 [INFO] [stderr] Downloaded ic-cdk-timers v0.1.2 [INFO] [stderr] Downloaded binread_derive v2.1.0 [INFO] [stderr] Downloaded binread v2.2.0 [INFO] [stderr] Downloaded candid_derive v0.5.0 [INFO] [stderr] Downloaded ic-cdk-macros v0.6.10 [INFO] [stderr] Downloaded serde_derive v1.0.202 [INFO] [stderr] Downloaded leb128 v0.2.5 [INFO] [stderr] Downloaded serde v1.0.202 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+028592fec99e54cc92def5a2a849c673b066dd93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7605af19fa56f1089c63e5909f437b47d4bbfcaf1f1525167f2713a14027443b [INFO] running `Command { std: "docker" "start" "-a" "7605af19fa56f1089c63e5909f437b47d4bbfcaf1f1525167f2713a14027443b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7605af19fa56f1089c63e5909f437b47d4bbfcaf1f1525167f2713a14027443b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7605af19fa56f1089c63e5909f437b47d4bbfcaf1f1525167f2713a14027443b", kill_on_drop: false }` [INFO] [stdout] 7605af19fa56f1089c63e5909f437b47d4bbfcaf1f1525167f2713a14027443b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+028592fec99e54cc92def5a2a849c673b066dd93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b5e0433182d249987ac25c90fe797b5c1837e192c4d23c28face0b780be13b7 [INFO] running `Command { std: "docker" "start" "-a" "0b5e0433182d249987ac25c90fe797b5c1837e192c4d23c28face0b780be13b7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling is-terminal v0.4.12 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling ic0 v0.18.11 [INFO] [stderr] Compiling ic-stable-structures v0.5.6 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling serde_derive v1.0.202 [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 lalrpop v0.19.12 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling logos-derive v0.12.1 [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 logos v0.12.1 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling candid v0.10.8 [INFO] [stderr] Compiling candid v0.8.4 [INFO] [stderr] Compiling ic-cdk-macros 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 example_backend v0.1.0 (/opt/rustwide/workdir/src/example_backend) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/example_backend/src/lib.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | 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] 42 | 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/rustc4DHyTn/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustc4DHyTn/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libic_cdk-217852a86ee51923,libic0-ffac5c3a91b50e91,libic_stable_structures-1a5b8d0b697daabc,libcandid-a18a305275adb406,libcrc32fast-ec6b1847c42b19ed,libdata_encoding-02a524d0cb7bb851,libserde_bytes-9b4c2b727c1ad34d,libhex-28742b4ca144387c,libleb128-ae0983f084a091ac,libbyteorder-1efcbe4f07366651,liblogos-20849f7913f126c1,libsha2-662696809238184c,libcpufeatures-42c2188ae17ada4c,libcfg_if-33ef6c02a07f9fec,libdigest-3c2d891685d4b89e,libblock_buffer-8cfc6f57c23bdc22,libcrypto_common-66e2e31812479249,libgeneric_array-f5f3e90d36d8aab9,libtypenum-66c155be53855aa0,libnum_bigint-a351fd3885c40e76,libnum_integer-3b8018de5d267fee,libnum_traits-0dc368860bb68f9d,libanyhow-1bdf2e76b99b1cd6,libnum_enum-7fce978f67a14ca4,libbinread-2daa489fcf006ba1,liblazy_static-2bb390fee0230a38,liblalrpop_util-9a2205370e3c0ffc,libthiserror-94a9be38549e8e06,libcodespan_reporting-fc51de8f376d3aab,libunicode_width-d4af6ef784b2a0cb,libtermcolor-96a9ed65821a6544,libpretty-90d63a9d2fe1aa9e,libarrayvec-f5ee3f47c3793c70,libtyped_arena-e8efe135793da16d,libserde-93c17eb7185081cf}.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/rustc4DHyTn/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/libexample_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/rustc4DHyTn/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 `example_backend` (lib) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0b5e0433182d249987ac25c90fe797b5c1837e192c4d23c28face0b780be13b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b5e0433182d249987ac25c90fe797b5c1837e192c4d23c28face0b780be13b7", kill_on_drop: false }` [INFO] [stdout] 0b5e0433182d249987ac25c90fe797b5c1837e192c4d23c28face0b780be13b7