[INFO] cloning repository https://github.com/Momo153-sys/Icp-project [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Momo153-sys/Icp-project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMomo153-sys%2FIcp-project", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMomo153-sys%2FIcp-project'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e1e20caed46c68ad4cf808ff9e91752f3b4a9f67 [INFO] checking Momo153-sys/Icp-project against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMomo153-sys%2FIcp-project" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Momo153-sys/Icp-project [INFO] finished tweaking git repo https://github.com/Momo153-sys/Icp-project [INFO] tweaked toml for git repo https://github.com/Momo153-sys/Icp-project written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Momo153-sys/Icp-project on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Momo153-sys/Icp-project 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "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] | [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfcd2b3340da28e9079fb179d866c2f9c4483a6eb391367e93c985ca4311bc15 [INFO] running `Command { std: "docker" "start" "-a" "cfcd2b3340da28e9079fb179d866c2f9c4483a6eb391367e93c985ca4311bc15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfcd2b3340da28e9079fb179d866c2f9c4483a6eb391367e93c985ca4311bc15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfcd2b3340da28e9079fb179d866c2f9c4483a6eb391367e93c985ca4311bc15", kill_on_drop: false }` [INFO] [stdout] cfcd2b3340da28e9079fb179d866c2f9c4483a6eb391367e93c985ca4311bc15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a627160fee5f07edb6769528d7dddecd52a1237058a70052d45433332894ac70 [INFO] running `Command { std: "docker" "start" "-a" "a627160fee5f07edb6769528d7dddecd52a1237058a70052d45433332894ac70", 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] | [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.153 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling openssl v0.10.63 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling candid_derive v0.6.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking serde v1.0.196 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking num-bigint v0.4.4 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Checking candid v0.10.3 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.24 [INFO] [stderr] Compiling ic-cdk-macros v0.8.4 [INFO] [stderr] Checking ic-cdk v0.12.1 [INFO] [stderr] Checking ic-cdk-timers v0.6.0 [INFO] [stderr] Checking icp_final_backend v0.1.0 (/opt/rustwide/workdir/src/icp_final_backend) [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/icp_final_backend/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/icp_final_backend/src/lib.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use candid::{CandidType,Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/icp_final_backend/src/lib.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | let mut result = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/icp_final_backend/src/lib.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/icp_final_backend/src/lib.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use candid::{CandidType,Deserialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `answer` is never read [INFO] [stdout] --> src/icp_final_backend/src/lib.rs:185:18 [INFO] [stdout] | [INFO] [stdout] 185 | let mut answer = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/icp_final_backend/src/lib.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | if let Some(index) = list.iter().position(|x| x == &description) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/icp_final_backend/src/lib.rs:218:22 [INFO] [stdout] | [INFO] [stdout] 218 | let mut result = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/icp_final_backend/src/lib.rs:240:22 [INFO] [stdout] | [INFO] [stdout] 240 | let mut result = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_task` and `erase_task` are never used [INFO] [stdout] --> src/icp_final_backend/src/lib.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl Task{ [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | fn add_task(&mut self, description:String) -> Task{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn erase_task(&mut self,description:String) -> Task{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/icp_final_backend/src/lib.rs:221:16 [INFO] [stdout] | [INFO] [stdout] 221 | list = check::TASKS.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: `#[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/icp_final_backend/src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | list = check::TASKS.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/icp_final_backend/src/lib.rs:262:18 [INFO] [stdout] | [INFO] [stdout] 262 | result = check::TASKS.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/icp_final_backend/src/lib.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | let mut result = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `answer` is never read [INFO] [stdout] --> src/icp_final_backend/src/lib.rs:185:18 [INFO] [stdout] | [INFO] [stdout] 185 | let mut answer = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/icp_final_backend/src/lib.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | if let Some(index) = list.iter().position(|x| x == &description) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/icp_final_backend/src/lib.rs:218:22 [INFO] [stdout] | [INFO] [stdout] 218 | let mut result = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `result` is never read [INFO] [stdout] --> src/icp_final_backend/src/lib.rs:240:22 [INFO] [stdout] | [INFO] [stdout] 240 | let mut result = String::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_task` and `erase_task` are never used [INFO] [stdout] --> src/icp_final_backend/src/lib.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 50 | impl Task{ [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | fn add_task(&mut self, description:String) -> Task{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn erase_task(&mut self,description:String) -> Task{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/icp_final_backend/src/lib.rs:221:16 [INFO] [stdout] | [INFO] [stdout] 221 | list = check::TASKS.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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: `#[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/icp_final_backend/src/lib.rs:243:16 [INFO] [stdout] | [INFO] [stdout] 243 | list = check::TASKS.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/icp_final_backend/src/lib.rs:262:18 [INFO] [stdout] | [INFO] [stdout] 262 | result = check::TASKS.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.04s [INFO] running `Command { std: "docker" "inspect" "a627160fee5f07edb6769528d7dddecd52a1237058a70052d45433332894ac70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a627160fee5f07edb6769528d7dddecd52a1237058a70052d45433332894ac70", kill_on_drop: false }` [INFO] [stdout] a627160fee5f07edb6769528d7dddecd52a1237058a70052d45433332894ac70