[INFO] cloning repository https://github.com/ogola5/smart_farm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ogola5/smart_farm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fogola5%2Fsmart_farm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fogola5%2Fsmart_farm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eec386350d9929dc9db516fa276f44928cfa3488 [INFO] testing ogola5/smart_farm against 1.91.0 for beta-1.92-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fogola5%2Fsmart_farm" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ogola5/smart_farm [INFO] finished tweaking git repo https://github.com/ogola5/smart_farm [INFO] tweaked toml for git repo https://github.com/ogola5/smart_farm written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ogola5/smart_farm on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ogola5/smart_farm 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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic-cdk v0.11.3 [INFO] [stderr] Downloaded ic-stable-structures v0.5.6 [INFO] [stderr] Downloaded serde_tokenstream v0.1.7 [INFO] [stderr] Downloaded ic-cdk-macros v0.8.1 [INFO] [stderr] Downloaded serde_derive v1.0.192 [INFO] [stderr] Downloaded ic0 v0.21.1 [INFO] [stderr] Downloaded pretty v0.12.3 [INFO] [stderr] Downloaded candid_derive v0.6.4 [INFO] [stderr] Downloaded stacker v0.1.15 [INFO] [stderr] Downloaded serde v1.0.192 [INFO] [stderr] Downloaded binread_derive v2.1.0 [INFO] [stderr] Downloaded psm v0.1.21 [INFO] [stderr] Downloaded indexmap v2.1.0 [INFO] [stderr] Downloaded cc v1.0.84 [INFO] [stderr] Downloaded candid v0.9.11 [INFO] [stderr] Downloaded num-bigint v0.4.4 [INFO] [stderr] Downloaded winnow v0.5.19 [INFO] [stderr] Downloaded syn v2.0.39 [INFO] [stderr] Downloaded binread v2.2.0 [INFO] [stderr] Downloaded typed-arena v2.0.2 [INFO] [stderr] Downloaded cpufeatures v0.2.11 [INFO] [stderr] Downloaded serde_bytes v0.11.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60976a205e6eb5f488e246d84231b8fcd327cd98509c4e3f3dfc48b4fc2ca44e [INFO] running `Command { std: "docker" "start" "-a" "60976a205e6eb5f488e246d84231b8fcd327cd98509c4e3f3dfc48b4fc2ca44e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60976a205e6eb5f488e246d84231b8fcd327cd98509c4e3f3dfc48b4fc2ca44e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60976a205e6eb5f488e246d84231b8fcd327cd98509c4e3f3dfc48b4fc2ca44e", kill_on_drop: false }` [INFO] [stdout] 60976a205e6eb5f488e246d84231b8fcd327cd98509c4e3f3dfc48b4fc2ca44e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 548033f5411cc8f4ab3203d056e4a918ac4fbcbff78e2e02ece33e5697e44888 [INFO] running `Command { std: "docker" "start" "-a" "548033f5411cc8f4ab3203d056e4a918ac4fbcbff78e2e02ece33e5697e44888", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling serde v1.0.192 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling winnow v0.5.19 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling cpufeatures v0.2.11 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling candid v0.9.11 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling data-encoding v2.4.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling ic0 v0.21.1 [INFO] [stderr] Compiling ic-stable-structures v0.5.6 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cc v1.0.84 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.192 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling candid_derive v0.6.4 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling num_enum v0.6.1 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling serde_bytes v0.11.12 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling ic-cdk-macros v0.8.1 [INFO] [stderr] Compiling ic-cdk v0.11.3 [INFO] [stderr] Compiling smart_farm_backend v0.1.0 (/opt/rustwide/workdir/src/smart_farm_backend) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/smart_farm_backend/src/lib.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | 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] 23 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/smart_farm_backend/src/lib.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 48 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/smart_farm_backend/src/lib.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | 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] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 72 | 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/rustcnxIuB5/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcnxIuB5/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libic_stable_structures-b3d535aef3da3a59,libic_cdk-1af9ef363c422a42,libic0-e4685f6e422356ff,libcandid-64e90a75fe871018,libstacker-acddbfac9c0931cd,libpsm-19f34320ec673f47,liblibc-157a7b8ded2a5513,libhex-e3cafe4f5c98898b,libcrc32fast-392fef61f9a7b203,libdata_encoding-6b85c83177ccab82,libserde_bytes-75ee417e9c667f71,libpretty-9a4ca09f8df1469a,libarrayvec-a8c807f66e435710,libtyped_arena-1dbb7a0cf7511b93,libleb128-2ae2111f1e2f747a,libbyteorder-2111db28b855e2ca,libsha2-c1f8713983d19364,libcpufeatures-812a19fdc017d09c,libcfg_if-6a7eff3bb9b3cc11,libdigest-ea75fb17aedde08f,libblock_buffer-36931604dd9f8b7d,libcrypto_common-275ab3afd2d54a03,libgeneric_array-2e7f17bc10b569c8,libtypenum-0463e5580ed3b454,libnum_bigint-b2dd56b419ea36a0,libnum_integer-b59267792c94fbdd,libnum_traits-77bfee42ce413911,libanyhow-aec523f649d4b366,libnum_enum-12a87c82e133fed3,libbinread-ab583408208c7626,liblazy_static-7d7e4d59d48eac89,libthiserror-1dbc0bc750f0be5d,libcodespan_reporting-79458253e1a6af5a,libunicode_width-a0f9e427b0ce7864,libtermcolor-a7214a3cf535ca73,libserde-f3298537ca33d668}.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/rustcnxIuB5/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-abe9d7e07816614f/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libsmart_farm_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/rustcnxIuB5/list:3: ; expected, but got calculate_budget [INFO] [stdout] >>> canister_query calculate_budget; [INFO] [stdout] >>> ^ [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `smart_farm_backend` (lib) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "548033f5411cc8f4ab3203d056e4a918ac4fbcbff78e2e02ece33e5697e44888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "548033f5411cc8f4ab3203d056e4a918ac4fbcbff78e2e02ece33e5697e44888", kill_on_drop: false }` [INFO] [stdout] 548033f5411cc8f4ab3203d056e4a918ac4fbcbff78e2e02ece33e5697e44888