[INFO] cloning repository https://github.com/kiavin/internetcomputer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kiavin/internetcomputer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkiavin%2Finternetcomputer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkiavin%2Finternetcomputer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dd0a84e91b7a7efc77ecd6ad03d091c868f39c73 [INFO] testing kiavin/internetcomputer against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkiavin%2Finternetcomputer" "/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/kiavin/internetcomputer [INFO] finished tweaking git repo https://github.com/kiavin/internetcomputer [INFO] tweaked toml for git repo https://github.com/kiavin/internetcomputer written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/kiavin/internetcomputer on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/kiavin/internetcomputer 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 983f53212bc70582585327f48f9e1ac67b044a734b0b3a32a89ad725c2d2d48e [INFO] running `Command { std: "docker" "start" "-a" "983f53212bc70582585327f48f9e1ac67b044a734b0b3a32a89ad725c2d2d48e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "983f53212bc70582585327f48f9e1ac67b044a734b0b3a32a89ad725c2d2d48e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "983f53212bc70582585327f48f9e1ac67b044a734b0b3a32a89ad725c2d2d48e", kill_on_drop: false }` [INFO] [stdout] 983f53212bc70582585327f48f9e1ac67b044a734b0b3a32a89ad725c2d2d48e [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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 638ff8bbf306c4d55043c12004fce78e03ec57753a822b2f2d426758cb5aa4d8 [INFO] running `Command { std: "docker" "start" "-a" "638ff8bbf306c4d55043c12004fce78e03ec57753a822b2f2d426758cb5aa4d8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling ic0 v0.21.1 [INFO] [stderr] Compiling ic-stable-structures v0.5.6 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling num-integer v0.1.46 [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 sha2 v0.10.8 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling candid v0.10.6 [INFO] [stderr] Compiling ic-cdk-macros v0.8.4 [INFO] [stderr] Compiling ic-cdk v0.12.1 [INFO] [stderr] Compiling ic-cdk-timers v0.6.0 [INFO] [stderr] Compiling solanke_backend v0.1.0 (/opt/rustwide/workdir/src/solanke_backend) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/solanke_backend/src/lib.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | 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] 50 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Product_opt` should have a snake case name [INFO] [stdout] --> src/solanke_backend/src/lib.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | let Product_opt: Option = p.borrow().get(&id); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `product_opt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Product` should have a snake case name [INFO] [stdout] --> src/solanke_backend/src/lib.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | let mut Product = Product_opt.ok_or(ShowError::NoSuchProduct)?; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `product` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Product_opt` should have a snake case name [INFO] [stdout] --> src/solanke_backend/src/lib.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let Product_opt: Option = p.borrow().get(&id); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `product_opt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Product` should have a snake case name [INFO] [stdout] --> src/solanke_backend/src/lib.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | let mut Product = Product_opt.ok_or(ShowError::NoSuchProduct)?; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `product` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--version-script=/tmp/rustcI5XQpf/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcI5XQpf/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libic_stable_structures-1a5b8d0b697daabc,libic_cdk-4005b95c92eee92e,libic0-88cedc4127ae8e95,libcandid-b808121527f84bf0,libstacker-daa18796abfef1a3,libpsm-a95471d3c5b0e5ea,liblibc-21d71f812ea07b39,libhex-28742b4ca144387c,libserde_bytes-119dd25768f1112e,libpretty-41081c325a40ded8,libunicode_width-ff8848b4c91bc42d,libarrayvec-f5ee3f47c3793c70,libtyped_arena-e8efe135793da16d,libleb128-ae0983f084a091ac,libbyteorder-1efcbe4f07366651,libic_principal-10edb6b91b13ab32,libcrc32fast-b0a822c04decf57d,libdata_encoding-27d68fb865743c1d,libsha2-662696809238184c,libcpufeatures-42c2188ae17ada4c,libcfg_if-33ef6c02a07f9fec,libdigest-3c2d891685d4b89e,libblock_buffer-8cfc6f57c23bdc22,libcrypto_common-66e2e31812479249,libgeneric_array-f5f3e90d36d8aab9,libtypenum-66c155be53855aa0,libnum_bigint-bcb760ff6fee36f6,libnum_integer-ca2625f27b3a518f,libnum_traits-761869e7806078bf,libanyhow-4579fbf1a0a58f3e,libbinread-9030d474317aa786,liblazy_static-2bb390fee0230a38,libthiserror-7421404546b514c1,libserde-80f6ef9fd184b64d}.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/rustcI5XQpf/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/psm-3dbdf58b94ebaf0a/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libsolanke_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/rustcI5XQpf/list:3: ; expected, but got get_product [INFO] [stdout] >>> canister_query get_product; [INFO] [stdout] >>> ^ [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `solanke_backend` (lib) due to 1 previous error; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "638ff8bbf306c4d55043c12004fce78e03ec57753a822b2f2d426758cb5aa4d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "638ff8bbf306c4d55043c12004fce78e03ec57753a822b2f2d426758cb5aa4d8", kill_on_drop: false }` [INFO] [stdout] 638ff8bbf306c4d55043c12004fce78e03ec57753a822b2f2d426758cb5aa4d8