[INFO] cloning repository https://github.com/AARONCHARO/Inventory_Management_Rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AARONCHARO/Inventory_Management_Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAARONCHARO%2FInventory_Management_Rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAARONCHARO%2FInventory_Management_Rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e396ec4b477759a2b5bd9bb0ae62dc4023a3ef89
[INFO] testing AARONCHARO/Inventory_Management_Rust 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%2FAARONCHARO%2FInventory_Management_Rust" "/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/AARONCHARO/Inventory_Management_Rust
[INFO] finished tweaking git repo https://github.com/AARONCHARO/Inventory_Management_Rust
[INFO] tweaked toml for git repo https://github.com/AARONCHARO/Inventory_Management_Rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AARONCHARO/Inventory_Management_Rust 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/AARONCHARO/Inventory_Management_Rust 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] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ic0 v0.21.1
[INFO] [stderr]   Downloaded proc-macro2 v1.0.85
[INFO] [stderr]   Downloaded ic-cdk-macros v0.8.1
[INFO] [stderr]   Downloaded binread_derive v2.1.0
[INFO] [stderr]   Downloaded either v1.12.0
[INFO] [stderr]   Downloaded pretty v0.12.3
[INFO] [stderr]   Downloaded candid v0.9.11
[INFO] [stderr]   Downloaded num-bigint v0.4.5
[INFO] [stderr]   Downloaded ic-stable-structures v0.5.6
[INFO] [stderr]   Downloaded cc v1.0.99
[INFO] [stderr]   Downloaded serde_json v1.0.117
[INFO] [stderr]   Downloaded binread v2.2.0
[INFO] [stderr]   Downloaded syn v2.0.66
[INFO] [stderr]   Downloaded candid_derive v0.6.4
[INFO] [stderr]   Downloaded serde_tokenstream v0.1.7
[INFO] [stderr]   Downloaded ic-cdk v0.11.3
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0ada92e17787fc96289105d9f269e31d3bbf84f360cb30cd70e17f30ac36c88d
[INFO] running `Command { std: "docker" "start" "-a" "0ada92e17787fc96289105d9f269e31d3bbf84f360cb30cd70e17f30ac36c88d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0ada92e17787fc96289105d9f269e31d3bbf84f360cb30cd70e17f30ac36c88d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0ada92e17787fc96289105d9f269e31d3bbf84f360cb30cd70e17f30ac36c88d", kill_on_drop: false }`
[INFO] [stdout] 0ada92e17787fc96289105d9f269e31d3bbf84f360cb30cd70e17f30ac36c88d
[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 -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] 21a2f43287f3482a0b0adf75bf4c064094ed5bc7b578faf227cf6e53d58dc730
[INFO] running `Command { std: "docker" "start" "-a" "21a2f43287f3482a0b0adf75bf4c064094ed5bc7b578faf227cf6e53d58dc730", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"`
[INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest
[INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling proc-macro2 v1.0.85
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]    Compiling cc v1.0.99
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling toml_datetime v0.6.6
[INFO] [stderr]    Compiling rustversion v1.0.17
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling either v1.12.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling thiserror v1.0.61
[INFO] [stderr]    Compiling unicode-width v0.1.13
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling candid v0.9.11
[INFO] [stderr]    Compiling pretty v0.12.3
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling data-encoding v2.6.0
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling ic0 v0.21.1
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling iana-time-zone v0.1.60
[INFO] [stderr]    Compiling ic-stable-structures v0.5.6
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling indexmap v2.2.6
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling psm v0.1.21
[INFO] [stderr]    Compiling stacker v0.1.15
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling num_enum_derive v0.6.1
[INFO] [stderr]    Compiling candid_derive v0.6.4
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling num_enum v0.6.1
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]    Compiling serde_bytes v0.11.14
[INFO] [stderr]    Compiling num-bigint v0.4.5
[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 icp_rust_boilerplate_backend v0.1.0 (/opt/rustwide/workdir/src/icp_rust_boilerplate_backend)
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/icp_rust_boilerplate_backend/src/lib.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |     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] 40 |     fn to_bytes(&self) -> Cow<'_, [u8]> {
[INFO] [stdout]    |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/icp_rust_boilerplate_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] 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] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/icp_rust_boilerplate_backend/src/lib.rs:70:17
[INFO] [stdout]    |
[INFO] [stdout] 70 |     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] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 70 |     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/rustcmyWrhp/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcmyWrhp/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libic_stable_structures-76869908a7a2091d.rlib,libic_cdk-00716d4d24808a9e.rlib,libic0-829b5260a0492e5c.rlib,libcandid-441312835825f144.rlib,libstacker-08a2d2a222b9fadf.rlib,libpsm-92afe3f94d9556c9.rlib,liblibc-4e941f3c786d1baf.rlib,libhex-f8780b52ba33bd3a.rlib,libcrc32fast-eb05d000a72119f1.rlib,libdata_encoding-25664bb491ba017f.rlib,libserde_bytes-d7260c8467d3915b.rlib,libpretty-fd7ee6f9f54d8ac7.rlib,libarrayvec-d3a3159c0badb6dc.rlib,libtyped_arena-b0234a7260a633d5.rlib,libleb128-d64510d9bf07956d.rlib,libbyteorder-6bb12dffd5e1b12b.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-3ab5fab2ef7471f2.rlib,libnum_integer-a3ee2ee8c55cd4ad.rlib,libnum_traits-6bee7ae8e423b0e2.rlib,libanyhow-0442785db30417bb.rlib,libnum_enum-669db50d89558304.rlib,libbinread-bc679b2d3e704c26.rlib,liblazy_static-4a3eb30d8f892632.rlib,libthiserror-aeda93ce524a5052.rlib,libcodespan_reporting-91455a43f0321ac4.rlib,libunicode_width-e8cd55034d947a59.rlib,libtermcolor-15d86a07e68a7bd1.rlib,libserde-2732b0345d05a6a6.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/rustcmyWrhp/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-8448ef151314e800/out" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libicp_rust_boilerplate_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/rustcmyWrhp/list:3: ; expected, but got count_items
[INFO] [stdout]           >>>     canister_query count_items;
[INFO] [stdout]           >>>                    ^
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `icp_rust_boilerplate_backend` (lib) due to 1 previous error; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "21a2f43287f3482a0b0adf75bf4c064094ed5bc7b578faf227cf6e53d58dc730", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "21a2f43287f3482a0b0adf75bf4c064094ed5bc7b578faf227cf6e53d58dc730", kill_on_drop: false }`
[INFO] [stdout] 21a2f43287f3482a0b0adf75bf4c064094ed5bc7b578faf227cf6e53d58dc730
