[INFO] cloning repository https://github.com/jadhaorahul06/DAU_ICP [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jadhaorahul06/DAU_ICP" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjadhaorahul06%2FDAU_ICP", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjadhaorahul06%2FDAU_ICP'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d3455a2770ffe850de0846b0f6b5432c9c9a306 [INFO] testing jadhaorahul06/DAU_ICP against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjadhaorahul06%2FDAU_ICP" "/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/jadhaorahul06/DAU_ICP [INFO] finished tweaking git repo https://github.com/jadhaorahul06/DAU_ICP [INFO] tweaked toml for git repo https://github.com/jadhaorahul06/DAU_ICP written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jadhaorahul06/DAU_ICP on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jadhaorahul06/DAU_ICP 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70b51928fee985ca4fd4d8494586d506727bac61f6f27aa416de487760d2c262 [INFO] running `Command { std: "docker" "start" "-a" "70b51928fee985ca4fd4d8494586d506727bac61f6f27aa416de487760d2c262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70b51928fee985ca4fd4d8494586d506727bac61f6f27aa416de487760d2c262", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70b51928fee985ca4fd4d8494586d506727bac61f6f27aa416de487760d2c262", kill_on_drop: false }` [INFO] [stdout] 70b51928fee985ca4fd4d8494586d506727bac61f6f27aa416de487760d2c262 [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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf4faaebaacd85ab67d664686416fbd9c2a454ae2ca844a36b504c5b7416f245 [INFO] running `Command { std: "docker" "start" "-a" "bf4faaebaacd85ab67d664686416fbd9c2a454ae2ca844a36b504c5b7416f245", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling ic-cdk-executor v0.1.0 [INFO] [stderr] Compiling ic0 v0.23.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling pretty v0.12.4 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling candid v0.10.14 [INFO] [stderr] Compiling ic-cdk-macros v0.13.2 [INFO] [stderr] Compiling ic-cdk v0.13.6 [INFO] [stderr] Compiling Dau_Icp_backend v0.1.0 (/opt/rustwide/workdir/src/Dau_Icp_backend) [INFO] [stdout] warning: unused import: `Nat` [INFO] [stdout] --> src/Dau_Icp_backend/src/lib.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{candid_method, Nat}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Dau_Icp_backend` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `dau_icp_backend` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/Dau_Icp_backend/src/lib.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | / COURSES.push(Course { [INFO] [stdout] 21 | | id: COURSE_COUNTER, [INFO] [stdout] 22 | | title, [INFO] [stdout] 23 | | instructor, [INFO] [stdout] 24 | | }); [INFO] [stdout] | |__________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/Dau_Icp_backend/src/lib.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | unsafe { COURSES.clone() } [INFO] [stdout] | ^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--version-script=/opt/rustwide/target/debug/deps/rustcdpKe2j/list" "-Wl,--no-undefined-version" "-m64" "/opt/rustwide/target/debug/deps/rustcdpKe2j/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libic_cdk-f45476f493f39dbe,libic_cdk_executor-f8ab680a303e8c3e,libic0-472458860f014911,libcandid-0a73f9becd90bffc,libstacker-85843e4a691c3ec1,libpsm-458395fd5a352463,liblibc-0f8586cc3118ad93,libhex-28742b4ca144387c,libserde_bytes-01ab6e06a9fa69b3,libpretty-096f3783f757e75e,libunicode_width-08b963676a6677c5,libarrayvec-f5ee3f47c3793c70,libtyped_arena-e8efe135793da16d,libleb128-ae0983f084a091ac,libbyteorder-1efcbe4f07366651,libic_principal-d3112189e12b4bbf,libcrc32fast-061f9e419cb09d23,libdata_encoding-6d465a39edfa29f6,libsha2-62f452be7296b31f,libcpufeatures-471354fefbcaf2d8,libcfg_if-5a199b0ec0054672,libdigest-d00e17c88687add0,libblock_buffer-0abdecfa792a1d4b,libcrypto_common-1b66ed4c2d952a50,libgeneric_array-d618d7b08b63988c,libtypenum-2d2373cb6e0ea7a0,libnum_bigint-d4cc683772deeb5f,libnum_integer-8994f55b08cf2168,libnum_traits-8434f84c7e6b85f7,libanyhow-e1510cbfe26654d3,libbinread-221f97b4dc8daecc,liblazy_static-b3603208c0de2608,libthiserror-7cfc199e391f5028,libserde-30ffb14d87997d66}.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" "/opt/rustwide/target/debug/deps/rustcdpKe2j/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-8112d029e7bd7370/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libDau_Icp_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: /opt/rustwide/target/debug/deps/rustcdpKe2j/list:4: ; expected, but got add_course [INFO] [stdout] >>> canister_update add_course; [INFO] [stdout] >>> ^ [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Dau_Icp_backend` (lib) due to 1 previous error; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "bf4faaebaacd85ab67d664686416fbd9c2a454ae2ca844a36b504c5b7416f245", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf4faaebaacd85ab67d664686416fbd9c2a454ae2ca844a36b504c5b7416f245", kill_on_drop: false }` [INFO] [stdout] bf4faaebaacd85ab67d664686416fbd9c2a454ae2ca844a36b504c5b7416f245