[INFO] cloning repository https://github.com/Arpita-Jaiswal/rust-todo-app
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Arpita-Jaiswal/rust-todo-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArpita-Jaiswal%2Frust-todo-app", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArpita-Jaiswal%2Frust-todo-app'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 52b7bfbc45bdf5acc5b59ed59e544e4bf849b867
[INFO] testing Arpita-Jaiswal/rust-todo-app against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArpita-Jaiswal%2Frust-todo-app" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Arpita-Jaiswal/rust-todo-app
[INFO] finished tweaking git repo https://github.com/Arpita-Jaiswal/rust-todo-app
[INFO] tweaked toml for git repo https://github.com/Arpita-Jaiswal/rust-todo-app written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Arpita-Jaiswal/rust-todo-app on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Arpita-Jaiswal/rust-todo-app 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 93617d984c40fb025db1e7fb6faabf416b79e2821eca4d8c3a9dbd425b4125a6
[INFO] running `Command { std: "docker" "start" "-a" "93617d984c40fb025db1e7fb6faabf416b79e2821eca4d8c3a9dbd425b4125a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "93617d984c40fb025db1e7fb6faabf416b79e2821eca4d8c3a9dbd425b4125a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "93617d984c40fb025db1e7fb6faabf416b79e2821eca4d8c3a9dbd425b4125a6", kill_on_drop: false }`
[INFO] [stdout] 93617d984c40fb025db1e7fb6faabf416b79e2821eca4d8c3a9dbd425b4125a6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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 -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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 12a8730364c55e675f3ce617720e92e6ae6207dbb665a1f42a6373ff11d049bf
[INFO] running `Command { std: "docker" "start" "-a" "12a8730364c55e675f3ce617720e92e6ae6207dbb665a1f42a6373ff11d049bf", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.209
[INFO] [stderr]    Compiling cc v1.1.15
[INFO] [stderr]    Compiling cpufeatures v0.2.13
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling data-encoding v2.6.0
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling unicode-width v0.1.13
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling ic0 v0.21.1
[INFO] [stderr]    Compiling syn v2.0.77
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling pretty v0.12.3
[INFO] [stderr]    Compiling psm v0.1.21
[INFO] [stderr]    Compiling stacker v0.1.17
[INFO] [stderr]    Compiling serde_derive v1.0.209
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling candid_derive v0.6.6
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling thiserror v1.0.63
[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 serde_bytes v0.11.15
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling serde_tokenstream v0.1.7
[INFO] [stderr]    Compiling ic-stable-structures v0.6.5
[INFO] [stderr]    Compiling candid v0.10.10
[INFO] [stderr]    Compiling ic-cdk-macros v0.13.2
[INFO] [stderr]    Compiling ic-cdk v0.13.5
[INFO] [stderr]    Compiling ic-cdk-timers v0.7.0
[INFO] [stderr]    Compiling rust-todo-app-backend v0.1.0 (/opt/rustwide/workdir/src/rust-todo-app-backend)
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/rust-todo-app-backend/src/lib.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |     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] 33 |     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/rustcTXfJnt/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcTXfJnt/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libic_stable_structures-7b6806abce15ba54.rlib,libic_cdk-59c91d114f679c6e.rlib,libic0-829b5260a0492e5c.rlib,libcandid-27b2c16ec28b8878.rlib,libstacker-a345ced9ac2567cb.rlib,libpsm-c0d6d91b449c3578.rlib,liblibc-e03a37703ccff281.rlib,libhex-f8780b52ba33bd3a.rlib,libserde_bytes-d29b65c519033f48.rlib,libpretty-fd7ee6f9f54d8ac7.rlib,libunicode_width-e8cd55034d947a59.rlib,libarrayvec-d3a3159c0badb6dc.rlib,libtyped_arena-b0234a7260a633d5.rlib,libleb128-d64510d9bf07956d.rlib,libbyteorder-6bb12dffd5e1b12b.rlib,libic_principal-5869c2fa132ce14c.rlib,libcrc32fast-eb05d000a72119f1.rlib,libdata_encoding-25664bb491ba017f.rlib,libsha2-af76be2313b511ab.rlib,libcpufeatures-8916a3caf99a8ccc.rlib,libcfg_if-238a855292fb6d2b.rlib,libdigest-38cead866b1df8f5.rlib,libblock_buffer-85135eba8635e08c.rlib,libcrypto_common-eaf37715c589a865.rlib,libgeneric_array-f1307c80a82ae31b.rlib,libtypenum-ba205961437c96e4.rlib,libnum_bigint-aa5a7de29fd9f658.rlib,libnum_integer-a3ee2ee8c55cd4ad.rlib,libnum_traits-6bee7ae8e423b0e2.rlib,libanyhow-0442785db30417bb.rlib,libbinread-6727bb2c686974c8.rlib,liblazy_static-5f41077b1fb4f2c7.rlib,libthiserror-4ca4f67a2d438aa1.rlib,libserde-edafbb3fd747b584.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/rustcTXfJnt/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-6c117b7eab723169/out" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/librust_todo_app_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/rustcTXfJnt/list:3: ; expected, but got get_all_todos
[INFO] [stdout]           >>>     canister_query get_all_todos;
[INFO] [stdout]           >>>                    ^
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-todo-app-backend` (lib) due to 1 previous error; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "12a8730364c55e675f3ce617720e92e6ae6207dbb665a1f42a6373ff11d049bf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "12a8730364c55e675f3ce617720e92e6ae6207dbb665a1f42a6373ff11d049bf", kill_on_drop: false }`
[INFO] [stdout] 12a8730364c55e675f3ce617720e92e6ae6207dbb665a1f42a6373ff11d049bf
