[INFO] cloning repository https://github.com/mburuanthony/bookyie [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mburuanthony/bookyie" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmburuanthony%2Fbookyie", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmburuanthony%2Fbookyie'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d3678509cd1640b474a5622ff6fbc0cdf399e8f1 [INFO] testing mburuanthony/bookyie against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmburuanthony%2Fbookyie" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mburuanthony/bookyie [INFO] finished tweaking git repo https://github.com/mburuanthony/bookyie [INFO] tweaked toml for git repo https://github.com/mburuanthony/bookyie written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mburuanthony/bookyie 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/mburuanthony/bookyie 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 git repository `https://github.com/lwshang/stable-structures.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic-cdk v0.11.3 [INFO] [stderr] Downloaded serde_tokenstream v0.1.7 [INFO] [stderr] Downloaded ic0 v0.21.1 [INFO] [stderr] Downloaded ic-cdk-macros v0.8.1 [INFO] [stderr] Downloaded pretty v0.12.3 [INFO] [stderr] Downloaded candid_derive v0.6.4 [INFO] [stderr] Downloaded serde_bytes v0.11.14 [INFO] [stderr] Downloaded candid v0.9.11 [INFO] [stderr] Downloaded ic0 v0.18.11 [INFO] [stderr] Downloaded winnow v0.5.34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 5b9875243addb2e8e51ddec3fd565b612e363ddab5df7c6ba831a6e9400dbaad [INFO] running `Command { std: "docker" "start" "-a" "5b9875243addb2e8e51ddec3fd565b612e363ddab5df7c6ba831a6e9400dbaad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b9875243addb2e8e51ddec3fd565b612e363ddab5df7c6ba831a6e9400dbaad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b9875243addb2e8e51ddec3fd565b612e363ddab5df7c6ba831a6e9400dbaad", kill_on_drop: false }` [INFO] [stdout] 5b9875243addb2e8e51ddec3fd565b612e363ddab5df7c6ba831a6e9400dbaad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 3d6b8caadd1604acfd2f01d5d03ffe3fb2795f749abfb59caa7caebd3c7fed1e [INFO] running `Command { std: "docker" "start" "-a" "3d6b8caadd1604acfd2f01d5d03ffe3fb2795f749abfb59caa7caebd3c7fed1e", 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 libc v0.2.152 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling winnow v0.5.34 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling candid v0.9.11 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Compiling ic0 v0.18.11 [INFO] [stderr] Compiling ic0 v0.21.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling ic-stable-structures v0.5.6 (https://github.com/lwshang/stable-structures.git?branch=lwshang%2Fupdate_cdk#e1b7a93a) [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling toml_edit v0.19.15 [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.195 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [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 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 bookyie_backend v0.1.0 (/opt/rustwide/workdir/src/bookyie_backend) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bookyie_backend/src/books.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> std::borrow::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] 18 | fn to_bytes(&self) -> std::borrow::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/bookyie_backend/src/reviews.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | fn to_bytes(&self) -> std::borrow::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] 18 | fn to_bytes(&self) -> std::borrow::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/bookyie_backend/src/users.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | fn to_bytes(&self) -> std::borrow::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] 15 | 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/rustciQ0DIH/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustciQ0DIH/symbols.o" "<7 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libic_stable_structures-cb5d02d05d0ad349.rlib,libic_cdk-9c670bc4bd2a1575.rlib,libic0-829b5260a0492e5c.rlib,libcandid-2bf3220bcd9f9242.rlib,libstacker-db47daeba7a4fde6.rlib,libpsm-d5e1f36ed51d5946.rlib,liblibc-b2902e9dc5d3e90c.rlib,libhex-f8780b52ba33bd3a.rlib,libcrc32fast-5d6d5bf5d97d5698.rlib,libdata_encoding-cf63ae1ae0288026.rlib,libserde_bytes-96917bf7c4ee3319.rlib,libpretty-530a8c7285de1ec7.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-c873f9fc5a5e9438.rlib,libnum_integer-e9a0950ec7eaa467.rlib,libnum_traits-fb079e784551d9f1.rlib,libanyhow-878a72896ce4e6c4.rlib,libnum_enum-ef13b756118d58f3.rlib,libbinread-7ee8ebe4c5316120.rlib,liblazy_static-4a3eb30d8f892632.rlib,libthiserror-0e7f661d3e5bab3b.rlib,libcodespan_reporting-5f2b582a3d409292.rlib,libunicode_width-e527f6eca3ec6bca.rlib,libtermcolor-15d86a07e68a7bd1.rlib,libserde-17ad6f49a5315c1f.rlib}.rlib" "/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/rustciQ0DIH/raw-dylibs" "-B/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-47a1b43de41e81fa/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libbookyie_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/rustciQ0DIH/list:3: ; expected, but got get_books [INFO] [stdout] >>> canister_query get_books; [INFO] [stdout] >>> ^ [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bookyie_backend` (lib) due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3d6b8caadd1604acfd2f01d5d03ffe3fb2795f749abfb59caa7caebd3c7fed1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d6b8caadd1604acfd2f01d5d03ffe3fb2795f749abfb59caa7caebd3c7fed1e", kill_on_drop: false }` [INFO] [stdout] 3d6b8caadd1604acfd2f01d5d03ffe3fb2795f749abfb59caa7caebd3c7fed1e