[INFO] cloning repository https://github.com/denizcan-yilmaz/todo-on-chain
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/denizcan-yilmaz/todo-on-chain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenizcan-yilmaz%2Ftodo-on-chain", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdenizcan-yilmaz%2Ftodo-on-chain'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9b82e6d1dc09898fc51e9880d2bb843a1448e5de
[INFO] testing denizcan-yilmaz/todo-on-chain 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%2Fdenizcan-yilmaz%2Ftodo-on-chain" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/denizcan-yilmaz/todo-on-chain
[INFO] finished tweaking git repo https://github.com/denizcan-yilmaz/todo-on-chain
[INFO] tweaked toml for git repo https://github.com/denizcan-yilmaz/todo-on-chain written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/denizcan-yilmaz/todo-on-chain 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/denizcan-yilmaz/todo-on-chain 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] [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]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded thiserror-impl v1.0.44
[INFO] [stderr]   Downloaded thiserror v1.0.44
[INFO] [stderr]   Downloaded ic-cdk-timers v0.1.2
[INFO] [stderr]   Downloaded bitflags v2.3.3
[INFO] [stderr]   Downloaded winnow v0.5.4
[INFO] [stderr]   Downloaded petgraph v0.6.3
[INFO] [stderr]   Downloaded rustix v0.38.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 7152cffb5067c661bc3d1c8c99ec0e86bafc188c8de2b3059e6857f45ea2ccb5
[INFO] running `Command { std: "docker" "start" "-a" "7152cffb5067c661bc3d1c8c99ec0e86bafc188c8de2b3059e6857f45ea2ccb5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7152cffb5067c661bc3d1c8c99ec0e86bafc188c8de2b3059e6857f45ea2ccb5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7152cffb5067c661bc3d1c8c99ec0e86bafc188c8de2b3059e6857f45ea2ccb5", kill_on_drop: false }`
[INFO] [stdout] 7152cffb5067c661bc3d1c8c99ec0e86bafc188c8de2b3059e6857f45ea2ccb5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] f137a3e20dac9ca052937eb52d3652b421c5613bd459c1e3c7eb9572db94c6ec
[INFO] running `Command { std: "docker" "start" "-a" "f137a3e20dac9ca052937eb52d3652b421c5613bd459c1e3c7eb9572db94c6ec", 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 once_cell v1.18.0
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling smallvec v1.11.0
[INFO] [stderr]    Compiling quote v1.0.32
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling rustix v0.38.7
[INFO] [stderr]    Compiling bitflags v2.3.3
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling serde v1.0.183
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling aho-corasick v1.0.3
[INFO] [stderr]    Compiling hashbrown v0.14.0
[INFO] [stderr]    Compiling linux-raw-sys v0.4.5
[INFO] [stderr]    Compiling siphasher v0.3.10
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]    Compiling winnow v0.5.4
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling syn v2.0.28
[INFO] [stderr]    Compiling serde_derive v1.0.183
[INFO] [stderr]    Compiling log v0.4.19
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling toml_datetime v0.6.3
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.4
[INFO] [stderr]    Compiling petgraph v0.6.3
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling ena v0.14.2
[INFO] [stderr]    Compiling indexmap v2.0.0
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling thiserror v1.0.44
[INFO] [stderr]    Compiling anyhow v1.0.72
[INFO] [stderr]    Compiling is-terminal v0.4.9
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling regex-automata v0.3.6
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling pretty v0.10.0
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]    Compiling string_cache v0.8.7
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling sha2 v0.10.7
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling futures-io v0.3.28
[INFO] [stderr]    Compiling data-encoding v2.4.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.12
[INFO] [stderr]    Compiling ic0 v0.18.11
[INFO] [stderr]    Compiling toml_edit v0.19.14
[INFO] [stderr]    Compiling regex v1.9.3
[INFO] [stderr]    Compiling lalrpop-util v0.19.12
[INFO] [stderr]    Compiling lalrpop v0.19.12
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling serde_bytes v0.11.12
[INFO] [stderr]    Compiling serde_tokenstream v0.1.7
[INFO] [stderr]    Compiling thiserror-impl v1.0.44
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling logos-derive v0.12.1
[INFO] [stderr]    Compiling num_enum_derive v0.5.11
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling candid_derive v0.5.0
[INFO] [stderr]    Compiling num_enum v0.5.11
[INFO] [stderr]    Compiling futures-executor v0.3.28
[INFO] [stderr]    Compiling futures v0.3.28
[INFO] [stderr]    Compiling logos v0.12.1
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]    Compiling candid v0.8.4
[INFO] [stderr]    Compiling ic-cdk-macros v0.6.10
[INFO] [stderr]    Compiling ic-cdk v0.7.4
[INFO] [stderr]    Compiling ic-cdk-timers v0.1.2
[INFO] [stderr]    Compiling todoList_backend v0.1.0 (/opt/rustwide/workdir/src/todoList_backend)
[INFO] [stdout] warning: crate `todoList_backend` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `todo_list_backend`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/todoList_backend/src/lib.rs:23:17
[INFO] [stdout]    |
[INFO] [stdout] 23 |     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] 23 |     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/rustcLVofwR/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcLVofwR/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libic_stable_structures-76869908a7a2091d.rlib,libic_cdk-e06a29627afe13a7.rlib,libic0-ef15161d988d229e.rlib,libcandid-909151f80dc0a3f8.rlib,libcrc32fast-5d6d5bf5d97d5698.rlib,libdata_encoding-ce4722252f141526.rlib,libserde_bytes-feabd4c842afd103.rlib,libhex-f8780b52ba33bd3a.rlib,libleb128-d64510d9bf07956d.rlib,libbyteorder-bac45b9e49a49e25.rlib,liblogos-1b093505590815c1.rlib,libsha2-7573953adb7cea2e.rlib,libcpufeatures-f8f41b3738a8edc0.rlib,libcfg_if-238a855292fb6d2b.rlib,libdigest-65f5952ffe1ecc5f.rlib,libblock_buffer-049afa632b705323.rlib,libcrypto_common-a339f5ee3213ab92.rlib,libgeneric_array-95a7564d6f300719.rlib,libtypenum-4f395b86d267e884.rlib,libnum_bigint-a00f268c4fac0c2f.rlib,libnum_integer-024fc938c7bb1736.rlib,libnum_traits-19e83eae84389a8a.rlib,libanyhow-70c453db6f655004.rlib,libnum_enum-018d8175b10b4a86.rlib,libbinread-81b48cc9c0b67d7e.rlib,liblazy_static-4a3eb30d8f892632.rlib,liblalrpop_util-68562e28037f5189.rlib,libregex-71eed0c4e4cb5118.rlib,libregex_automata-71404b0b5dc27ed6.rlib,libaho_corasick-9c22565658a05337.rlib,libmemchr-6389fb8976e89c19.rlib,libregex_syntax-12b23ab91d58f5d7.rlib,libthiserror-54c360bda4b7de0b.rlib,libcodespan_reporting-e5de372ef10cd943.rlib,libunicode_width-1264af849cafc4ab.rlib,libtermcolor-2a05dd9702fa84b5.rlib,libpretty-817acd3b94f8dc39.rlib,libarrayvec-d3a3159c0badb6dc.rlib,libtyped_arena-b0234a7260a633d5.rlib,libserde-1d4e592d10ac7c6c.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/rustcLVofwR/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" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libtodoList_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/rustcLVofwR/list:3: ; expected, but got fetch_all
[INFO] [stdout]           >>>     canister_query fetch_all;
[INFO] [stdout]           >>>                    ^
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `todoList_backend` (lib) due to 1 previous error; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f137a3e20dac9ca052937eb52d3652b421c5613bd459c1e3c7eb9572db94c6ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f137a3e20dac9ca052937eb52d3652b421c5613bd459c1e3c7eb9572db94c6ec", kill_on_drop: false }`
[INFO] [stdout] f137a3e20dac9ca052937eb52d3652b421c5613bd459c1e3c7eb9572db94c6ec
