[INFO] cloning repository https://github.com/Malcolm-xXx/Hustlers_icp
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Malcolm-xXx/Hustlers_icp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalcolm-xXx%2FHustlers_icp", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalcolm-xXx%2FHustlers_icp'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] da4fe256bc1bed1977c8cba0cb6a8598f8acaae7
[INFO] building Malcolm-xXx/Hustlers_icp against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMalcolm-xXx%2FHustlers_icp" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Malcolm-xXx/Hustlers_icp
[INFO] finished tweaking git repo https://github.com/Malcolm-xXx/Hustlers_icp
[INFO] tweaked toml for git repo https://github.com/Malcolm-xXx/Hustlers_icp written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Malcolm-xXx/Hustlers_icp on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Malcolm-xXx/Hustlers_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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ic0 v0.23.0
[INFO] [stderr]   Downloaded psm v0.1.23
[INFO] [stderr]   Downloaded ic-cdk-macros v0.16.0
[INFO] [stderr]   Downloaded stacker v0.1.17
[INFO] [stderr]   Downloaded candid v0.10.10
[INFO] [stderr]   Downloaded binread_derive v2.1.0
[INFO] [stderr]   Downloaded bit-vec v0.6.3
[INFO] [stderr]   Downloaded lalrpop-util v0.19.12
[INFO] [stderr]   Downloaded string_cache v0.8.7
[INFO] [stderr]   Downloaded ascii-canvas v3.0.0
[INFO] [stderr]   Downloaded candid_derive v0.5.0
[INFO] [stderr]   Downloaded diff v0.1.13
[INFO] [stderr]   Downloaded candid v0.8.4
[INFO] [stderr]   Downloaded ena v0.14.3
[INFO] [stderr]   Downloaded binread v2.2.0
[INFO] [stderr]   Downloaded ic-cdk v0.8.2
[INFO] [stderr]   Downloaded fixedbitset v0.4.2
[INFO] [stderr]   Downloaded dirs-sys-next v0.1.2
[INFO] [stderr]   Downloaded dirs-next v2.0.0
[INFO] [stderr]   Downloaded term v0.7.0
[INFO] [stderr]   Downloaded pretty v0.10.0
[INFO] [stderr]   Downloaded serde_tokenstream v0.1.7
[INFO] [stderr]   Downloaded cc v1.1.28
[INFO] [stderr]   Downloaded ic-cdk-macros v0.8.4
[INFO] [stderr]   Downloaded bit-set v0.5.3
[INFO] [stderr]   Downloaded is-terminal v0.4.13
[INFO] [stderr]   Downloaded ic0 v0.18.11
[INFO] [stderr]   Downloaded petgraph v0.6.5
[INFO] [stderr]   Downloaded ic_principal v0.1.1
[INFO] [stderr]   Downloaded typed-arena v2.0.2
[INFO] [stderr]   Downloaded beef v0.5.2
[INFO] [stderr]   Downloaded logos-derive v0.12.1
[INFO] [stderr]   Downloaded logos v0.12.1
[INFO] [stderr]   Downloaded ic-cdk-macros v0.6.10
[INFO] [stderr]   Downloaded anyhow v1.0.89
[INFO] [stderr]   Downloaded candid_derive v0.6.6
[INFO] [stderr]   Downloaded pretty v0.12.3
[INFO] [stderr]   Downloaded lalrpop v0.19.12
[INFO] [stderr]   Downloaded leb128 v0.2.5
[INFO] [stderr]   Downloaded ic-cdk-timers v0.10.0
[INFO] [stderr]   Downloaded ic-cdk v0.16.0
[INFO] [stderr]   Downloaded serde_tokenstream v0.2.2
[INFO] [stderr]   Downloaded serde_bytes v0.11.15
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5a367ee4a91bfe70101fe0df227c6fc1ff57de6f171fc8469c7b867fb2c7f824
[INFO] running `Command { std: "docker" "start" "-a" "5a367ee4a91bfe70101fe0df227c6fc1ff57de6f171fc8469c7b867fb2c7f824", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5a367ee4a91bfe70101fe0df227c6fc1ff57de6f171fc8469c7b867fb2c7f824", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a367ee4a91bfe70101fe0df227c6fc1ff57de6f171fc8469c7b867fb2c7f824", kill_on_drop: false }`
[INFO] [stdout] 5a367ee4a91bfe70101fe0df227c6fc1ff57de6f171fc8469c7b867fb2c7f824
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d4a342d099bb2ce9803420ffce5795cf286da1fe35951a288a4742f4d69e2aca
[INFO] running `Command { std: "docker" "start" "-a" "d4a342d099bb2ce9803420ffce5795cf286da1fe35951a288a4742f4d69e2aca", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.87
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling libc v0.2.159
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling hashbrown v0.15.0
[INFO] [stderr]    Compiling thiserror v1.0.64
[INFO] [stderr]    Compiling rustversion v1.0.17
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling cc v1.1.28
[INFO] [stderr]    Compiling cpufeatures v0.2.14
[INFO] [stderr]    Compiling anyhow v1.0.89
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling data-encoding v2.6.0
[INFO] [stderr]    Compiling once_cell v1.20.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling siphasher v0.3.11
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling indexmap v2.6.0
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling ena v0.14.3
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]    Compiling syn v2.0.79
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling is-terminal v0.4.13
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling pretty v0.12.3
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling beef v0.5.2
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling pretty v0.10.0
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling string_cache v0.8.7
[INFO] [stderr]    Compiling psm v0.1.23
[INFO] [stderr]    Compiling stacker v0.1.17
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]    Compiling lalrpop-util v0.19.12
[INFO] [stderr]    Compiling ic0 v0.23.0
[INFO] [stderr]    Compiling ic0 v0.18.11
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling regex-automata v0.4.8
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]    Compiling thiserror-impl v1.0.64
[INFO] [stderr]    Compiling candid_derive v0.6.6
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling regex v1.11.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling lalrpop v0.19.12
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling num_enum_derive v0.5.11
[INFO] [stderr]    Compiling logos-derive v0.12.1
[INFO] [stderr]    Compiling candid_derive v0.5.0
[INFO] [stderr]    Compiling num_enum v0.5.11
[INFO] [stderr]    Compiling logos v0.12.1
[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 num-bigint v0.4.6
[INFO] [stderr]    Compiling serde_bytes v0.11.15
[INFO] [stderr]    Compiling ic_principal v0.1.1
[INFO] [stderr]    Compiling serde_tokenstream v0.2.2
[INFO] [stderr]    Compiling serde_tokenstream v0.1.7
[INFO] [stderr]    Compiling candid v0.10.10
[INFO] [stderr]    Compiling candid v0.8.4
[INFO] [stderr]    Compiling ic-cdk-macros v0.16.0
[INFO] [stderr]    Compiling ic-cdk-macros v0.8.4
[INFO] [stderr]    Compiling ic-cdk v0.16.0
[INFO] [stderr]    Compiling ic-cdk-timers v0.10.0
[INFO] [stderr]    Compiling user_request v0.1.0 (/opt/rustwide/workdir/src/user_request)
[INFO] [stdout] warning: struct `Item` is never constructed
[INFO] [stdout]  --> src/user_request/src/lib.rs:6:8
[INFO] [stdout]   |
[INFO] [stdout] 6 | struct Item {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/user_request/src/lib.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Item {
[INFO] [stdout]    | --------- associated function in this implementation
[INFO] [stdout] 12 |     fn new(name: String, price: f64) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Order` is never constructed
[INFO] [stdout]   --> src/user_request/src/lib.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct Order {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/user_request/src/lib.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Order {
[INFO] [stdout]    | ---------- associated function in this implementation
[INFO] [stdout] 26 |     fn new(user: String, items: Vec<Item>) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AcceptOrderResponse` is never constructed
[INFO] [stdout]   --> src/user_request/src/lib.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | struct AcceptOrderResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/user_request/src/lib.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl AcceptOrderResponse {
[INFO] [stdout]    | ------------------------ associated function in this implementation
[INFO] [stdout] 42 |     fn new(success: bool, message: String) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `ORDERS` is never used
[INFO] [stdout]   --> src/user_request/src/lib.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 48 | static mut ORDERS: Vec<Order> = Vec::new();
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_order` is never used
[INFO] [stdout]   --> src/user_request/src/lib.rs:51:4
[INFO] [stdout]    |
[INFO] [stdout] 51 | fn create_order(user: String, items: Vec<Item>) -> String {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `accept_order` is never used
[INFO] [stdout]   --> src/user_request/src/lib.rs:59:4
[INFO] [stdout]    |
[INFO] [stdout] 59 | fn accept_order(order_index: usize, accepting_user: String) -> AcceptOrderResponse {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_orders` is never used
[INFO] [stdout]   --> src/user_request/src/lib.rs:80:4
[INFO] [stdout]    |
[INFO] [stdout] 80 | fn get_orders() -> Vec<Order> {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `display_menu` is never used
[INFO] [stdout]   --> src/user_request/src/lib.rs:85:4
[INFO] [stdout]    |
[INFO] [stdout] 85 | fn display_menu() {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_user_input` is never used
[INFO] [stdout]   --> src/user_request/src/lib.rs:93:4
[INFO] [stdout]    |
[INFO] [stdout] 93 | fn get_user_input() -> usize {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_order_interaction` is never used
[INFO] [stdout]    --> src/user_request/src/lib.rs:104:4
[INFO] [stdout]     |
[INFO] [stdout] 104 | fn create_order_interaction() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `accept_order_interaction` is never used
[INFO] [stdout]    --> src/user_request/src/lib.rs:134:4
[INFO] [stdout]     |
[INFO] [stdout] 134 | fn accept_order_interaction() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `view_orders_interaction` is never used
[INFO] [stdout]    --> src/user_request/src/lib.rs:157:4
[INFO] [stdout]     |
[INFO] [stdout] 157 | fn view_orders_interaction() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/user_request/src/lib.rs:179:4
[INFO] [stdout]     |
[INFO] [stdout] 179 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/user_request/src/lib.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         ORDERS.push(Order::new(user, items));
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: `#[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/user_request/src/lib.rs:61:27
[INFO] [stdout]    |
[INFO] [stdout] 61 |         if order_index >= ORDERS.len() {
[INFO] [stdout]    |                           ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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/user_request/src/lib.rs:81:14
[INFO] [stdout]    |
[INFO] [stdout] 81 |     unsafe { ORDERS.clone() }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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/user_request/src/lib.rs:136:12
[INFO] [stdout]     |
[INFO] [stdout] 136 |         if ORDERS.is_empty() {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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]    Compiling ic-cdk-macros v0.6.10
[INFO] [stderr]    Compiling ic-cdk v0.8.2
[INFO] [stderr]    Compiling user_auth v0.1.0 (/opt/rustwide/workdir/src/user_auth)
[INFO] [stdout] warning: struct `User` is never constructed
[INFO] [stdout]  --> src/user_auth/src/lib.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct User {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UserService` is never constructed
[INFO] [stdout]   --> src/user_auth/src/lib.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct UserService {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/user_auth/src/lib.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl UserService {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 20 |     fn new() -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn hash_password(password: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     fn verify_password(password: &str, password_hash: &str) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     fn generate_user_id(&self) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     fn create_user(&self, username: &str, email: &str, password: &str) -> Result<String, &'static str> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     fn delete_user(&self, user_id: &str) -> Result<(), &'static str> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     fn authenticate_user(&self, username: &str, password: &str) -> Result<String, &'static str> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     fn reset_password(&self, user_id: &str, new_password: &str) -> Result<(), &'static str> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97 |     fn get_user_info(&self, user_id: &str) -> Result<User, &'static str> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/user_auth/src/lib.rs:107:4
[INFO] [stdout]     |
[INFO] [stdout] 107 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s
[INFO] running `Command { std: "docker" "inspect" "d4a342d099bb2ce9803420ffce5795cf286da1fe35951a288a4742f4d69e2aca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d4a342d099bb2ce9803420ffce5795cf286da1fe35951a288a4742f4d69e2aca", kill_on_drop: false }`
[INFO] [stdout] d4a342d099bb2ce9803420ffce5795cf286da1fe35951a288a4742f4d69e2aca
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c50aa48bf271dfdabf33f5535867c4ad7e28619b85e00e84f740de6fc6575d50
[INFO] running `Command { std: "docker" "start" "-a" "c50aa48bf271dfdabf33f5535867c4ad7e28619b85e00e84f740de6fc6575d50", kill_on_drop: false }`
[INFO] [stderr]    Compiling user_auth v0.1.0 (/opt/rustwide/workdir/src/user_auth)
[INFO] [stderr]    Compiling user_request v0.1.0 (/opt/rustwide/workdir/src/user_request)
[INFO] [stdout] warning: field `success` is never read
[INFO] [stdout]   --> src/user_request/src/lib.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 36 | struct AcceptOrderResponse {
[INFO] [stdout]    |        ------------------- field in this struct
[INFO] [stdout] 37 |     success: bool,
[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 mutable reference to mutable static
[INFO] [stdout]   --> src/user_request/src/lib.rs:53:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         ORDERS.push(Order::new(user, items));
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: `#[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/user_request/src/lib.rs:61:27
[INFO] [stdout]    |
[INFO] [stdout] 61 |         if order_index >= ORDERS.len() {
[INFO] [stdout]    |                           ^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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/user_request/src/lib.rs:81:14
[INFO] [stdout]    |
[INFO] [stdout] 81 |     unsafe { ORDERS.clone() }
[INFO] [stdout]    |              ^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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/user_request/src/lib.rs:136:12
[INFO] [stdout]     |
[INFO] [stdout] 136 |         if ORDERS.is_empty() {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 `test` profile [unoptimized + debuginfo] target(s) in 0.84s
[INFO] running `Command { std: "docker" "inspect" "c50aa48bf271dfdabf33f5535867c4ad7e28619b85e00e84f740de6fc6575d50", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c50aa48bf271dfdabf33f5535867c4ad7e28619b85e00e84f740de6fc6575d50", kill_on_drop: false }`
[INFO] [stdout] c50aa48bf271dfdabf33f5535867c4ad7e28619b85e00e84f740de6fc6575d50
