[INFO] cloning repository https://github.com/vamshik249/TODO_APP_RUST [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vamshik249/TODO_APP_RUST" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvamshik249%2FTODO_APP_RUST", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvamshik249%2FTODO_APP_RUST'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 43023efa40ab2fea9c94fdcd3d7b67b08ac72625 [INFO] testing vamshik249/TODO_APP_RUST against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvamshik249%2FTODO_APP_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/vamshik249/TODO_APP_RUST [INFO] finished tweaking git repo https://github.com/vamshik249/TODO_APP_RUST [INFO] tweaked toml for git repo https://github.com/vamshik249/TODO_APP_RUST written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vamshik249/TODO_APP_RUST on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vamshik249/TODO_APP_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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic-cdk-timers v0.9.0 [INFO] [stderr] Downloaded data-encoding v2.7.0 [INFO] [stderr] Downloaded ic-cdk-macros v0.15.0 [INFO] [stderr] Downloaded ic-cdk-macros v0.9.0 [INFO] [stderr] Downloaded ic-cdk v0.15.1 [INFO] [stderr] Downloaded cc v1.2.13 [INFO] [stderr] Downloaded ic-stable-structures v0.6.7 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 398d07aec8fc9e848e754aed1bae30929519fa401e08ddcbc40cc992ca70390e [INFO] running `Command { std: "docker" "start" "-a" "398d07aec8fc9e848e754aed1bae30929519fa401e08ddcbc40cc992ca70390e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "398d07aec8fc9e848e754aed1bae30929519fa401e08ddcbc40cc992ca70390e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "398d07aec8fc9e848e754aed1bae30929519fa401e08ddcbc40cc992ca70390e", kill_on_drop: false }` [INFO] [stdout] 398d07aec8fc9e848e754aed1bae30929519fa401e08ddcbc40cc992ca70390e [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" "-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fa97aae0e2f240141091292ee082fa7109966fc1ac1594b588349288891700b [INFO] running `Command { std: "docker" "start" "-a" "1fa97aae0e2f240141091292ee082fa7109966fc1ac1594b588349288891700b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling cc v1.2.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling data-encoding v2.7.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling ic0 v0.23.0 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling psm v0.1.24 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling ryu v1.0.19 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [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.2.2 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling ic-stable-structures v0.6.7 [INFO] [stderr] Compiling candid v0.10.13 [INFO] [stderr] Compiling ic-cdk-macros v0.15.0 [INFO] [stderr] Compiling ic-cdk-macros v0.9.0 [INFO] [stderr] Compiling ic-cdk v0.15.1 [INFO] [stderr] Compiling ic-cdk-timers v0.9.0 [INFO] [stderr] Compiling todo_dapp_backend v0.1.0 (/opt/rustwide/workdir/src/todo_dapp_backend) [INFO] [stdout] warning: unused import: `init` [INFO] [stdout] --> src/todo_dapp_backend/src/lib.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use ic_cdk::{init, query, update, pre_upgrade, post_upgrade, storage}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--version-script=/tmp/rustc0K5f7r/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustc0K5f7r/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libic_cdk-b6f309fc9182aa3f,libic0-472458860f014911,libcandid-ceed8c924520af9b,libstacker-48f47b99c7b4f7ad,libpsm-cb8866fa6e35c662,liblibc-2ac1cb2f7679afc6,libhex-28742b4ca144387c,libserde_bytes-5685b7b1bf1b6de9,libpretty-8c04dbed7ba7a195,libunicode_width-08b963676a6677c5,libarrayvec-f5ee3f47c3793c70,libtyped_arena-e8efe135793da16d,libleb128-ae0983f084a091ac,libbyteorder-1efcbe4f07366651,libic_principal-340a7b11104adc69,libcrc32fast-ec6b1847c42b19ed,libdata_encoding-b1c0af79a4758e5f,libsha2-9da3c40638091a58,libcpufeatures-471354fefbcaf2d8,libcfg_if-33ef6c02a07f9fec,libdigest-2dc9b24df3780685,libblock_buffer-68345a13dc7a8e25,libcrypto_common-58cc5427b4d302c3,libgeneric_array-e7dcb6463547bc23,libtypenum-66c155be53855aa0,libnum_bigint-67cb7cdf9550abf8,libnum_integer-3367a357d6e00808,libnum_traits-1a0074f98e3a6d0e,libanyhow-86336943e25b38f2,libbinread-55de0ae370483fc2,liblazy_static-b3603208c0de2608,libthiserror-839bdf68c2f9de58,libserde-a72615f281c9bf2c}.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/rustc0K5f7r/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-f971edcda22376af/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libtodo_dapp_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/rustc0K5f7r/list:5: ; expected, but got count_completed_tasks [INFO] [stdout] >>> canister_query count_completed_tasks; [INFO] [stdout] >>> ^ [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `todo_dapp_backend` (lib) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "1fa97aae0e2f240141091292ee082fa7109966fc1ac1594b588349288891700b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fa97aae0e2f240141091292ee082fa7109966fc1ac1594b588349288891700b", kill_on_drop: false }` [INFO] [stdout] 1fa97aae0e2f240141091292ee082fa7109966fc1ac1594b588349288891700b