[INFO] cloning repository https://github.com/pawan-cpu/Azienda [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pawan-cpu/Azienda" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpawan-cpu%2FAzienda", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpawan-cpu%2FAzienda'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a26131c263d1eeb54576e6da4300bb10c31722b3 [INFO] testing pawan-cpu/Azienda against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpawan-cpu%2FAzienda" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/pawan-cpu/Azienda [INFO] finished tweaking git repo https://github.com/pawan-cpu/Azienda [INFO] tweaked toml for git repo https://github.com/pawan-cpu/Azienda written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/pawan-cpu/Azienda 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/pawan-cpu/Azienda 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] Downloading crates ... [INFO] [stderr] Downloaded ic-cdk-timers v0.8.0 [INFO] [stderr] Downloaded ic-cdk-macros v0.14.0 [INFO] [stderr] Downloaded ic-cdk v0.14.0 [INFO] [stderr] Downloaded ic-stable-structures v0.6.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b24eae22be9321aa9c1029ceb55d1ebae41fa341c42bddf71e954d314b495971 [INFO] running `Command { std: "docker" "start" "-a" "b24eae22be9321aa9c1029ceb55d1ebae41fa341c42bddf71e954d314b495971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b24eae22be9321aa9c1029ceb55d1ebae41fa341c42bddf71e954d314b495971", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b24eae22be9321aa9c1029ceb55d1ebae41fa341c42bddf71e954d314b495971", kill_on_drop: false }` [INFO] [stdout] b24eae22be9321aa9c1029ceb55d1ebae41fa341c42bddf71e954d314b495971 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] b4897ab052ac0a3f43657cf55951fd23bd5a5c469daab292b412c45608874a41 [INFO] running `Command { std: "docker" "start" "-a" "b4897ab052ac0a3f43657cf55951fd23bd5a5c469daab292b412c45608874a41", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling cc v1.0.104 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling syn v2.0.68 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling ic0 v0.23.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_derive v2.1.0 [INFO] [stderr] Compiling futures-util v0.3.30 [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 ic_principal v0.1.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling serde_bytes v0.11.15 [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 crypto_hire_backend v0.1.0 (/opt/rustwide/workdir/src/crypto_hire_backend) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/crypto_hire_backend/src/lib.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | use ic_stable_structures::memory_manager::{self, MemoryId, MemoryManager, VirtualMemory}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/crypto_hire_backend/src/lib.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/crypto_hire_backend/src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk::storage` [INFO] [stdout] --> src/crypto_hire_backend/src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use ic_cdk::storage; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto_hire_backend/src/lib.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let mut job_opt = { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto_hire_backend/src/lib.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | let mut storage_ref = storage.borrow_mut(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto_hire_backend/src/lib.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | let mut job_opt = STORAGE.with(|storage| { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/crypto_hire_backend/src/lib.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | let mut job_opt = STORAGE.with(|storage| { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `JobStatus` is never used [INFO] [stdout] --> src/crypto_hire_backend/src/lib.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 47 | enum JobStatus{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (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/crypto_hire_backend/src/lib.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | 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] 56 | 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/rustctu6NZB/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustctu6NZB/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libic_stable_structures-65128f94618bc5d1,libic_cdk-7cd4530dbaca5d4d,libic0-472458860f014911,libcandid-33b4df92dcec4dfb,libstacker-b6e5c55b842e4f16,libpsm-4d2b75b32c53200d,liblibc-87ba8c2d9747b2c7,libhex-28742b4ca144387c,libserde_bytes-b98fd2e1eaaff7ab,libpretty-cf5276037e010efe,libunicode_width-ea37189c48be061a,libarrayvec-f5ee3f47c3793c70,libtyped_arena-e8efe135793da16d,libleb128-ae0983f084a091ac,libbyteorder-1efcbe4f07366651,libic_principal-d84bdb7160970ebd,libcrc32fast-ec6b1847c42b19ed,libdata_encoding-02a524d0cb7bb851,libsha2-662696809238184c,libcpufeatures-42c2188ae17ada4c,libcfg_if-33ef6c02a07f9fec,libdigest-3c2d891685d4b89e,libblock_buffer-8cfc6f57c23bdc22,libcrypto_common-66e2e31812479249,libgeneric_array-f5f3e90d36d8aab9,libtypenum-66c155be53855aa0,libnum_bigint-2bce01ccfeb927ae,libnum_integer-3b8018de5d267fee,libnum_traits-0dc368860bb68f9d,libanyhow-1bdf2e76b99b1cd6,libbinread-5b8fee24da2d55a2,liblazy_static-b3603208c0de2608,libthiserror-ac0261b6198e84d0,libserde-fa7eb2fe660b5e42}.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/rustctu6NZB/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-98d1692f2bb755f1/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libcrypto_hire_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/rustctu6NZB/list:3: ; expected, but got fetch_job [INFO] [stdout] >>> canister_query fetch_job; [INFO] [stdout] >>> ^ [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `crypto_hire_backend` (lib) due to 1 previous error; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b4897ab052ac0a3f43657cf55951fd23bd5a5c469daab292b412c45608874a41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4897ab052ac0a3f43657cf55951fd23bd5a5c469daab292b412c45608874a41", kill_on_drop: false }` [INFO] [stdout] b4897ab052ac0a3f43657cf55951fd23bd5a5c469daab292b412c45608874a41