[INFO] cloning repository https://github.com/Ioka-Technologies/rust-playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ioka-Technologies/rust-playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIoka-Technologies%2Frust-playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIoka-Technologies%2Frust-playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 558e2e16fd23591ad1dc16784ee65ebcfeb36a75 [INFO] checking Ioka-Technologies/rust-playground against try#f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208 for pr-139419 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIoka-Technologies%2Frust-playground" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ioka-Technologies/rust-playground on toolchain f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Ioka-Technologies/rust-playground [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/Ioka-Technologies/rust-playground [INFO] tweaked toml for git repo https://github.com/Ioka-Technologies/rust-playground written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Ioka-Technologies/rust-playground 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" "+f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ce395cbc08a9674c01c1c343b7b9ea83b1544d3484dfbe5aad6a802ddacc24b [INFO] running `Command { std: "docker" "start" "-a" "8ce395cbc08a9674c01c1c343b7b9ea83b1544d3484dfbe5aad6a802ddacc24b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ce395cbc08a9674c01c1c343b7b9ea83b1544d3484dfbe5aad6a802ddacc24b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ce395cbc08a9674c01c1c343b7b9ea83b1544d3484dfbe5aad6a802ddacc24b", kill_on_drop: false }` [INFO] [stdout] 8ce395cbc08a9674c01c1c343b7b9ea83b1544d3484dfbe5aad6a802ddacc24b [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+f45c1ab62d4de6b63f69b4daa9d1f0b90c38a208" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 150abe2630c858b9d7733bb38f65ef330437a84034a2c9dbb56981cb2c575bbd [INFO] running `Command { std: "docker" "start" "-a" "150abe2630c858b9d7733bb38f65ef330437a84034a2c9dbb56981cb2c575bbd", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling bytecount v0.6.7 [INFO] [stderr] Compiling peg-runtime v0.6.3 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling peg-macros v0.6.3 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Compiling anyhow v1.0.80 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking deunicode v1.4.3 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking inventory v0.3.15 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking drain_filter_polyfill v0.1.3 [INFO] [stderr] Checking nom_locate v4.2.0 [INFO] [stderr] Checking peg v0.6.3 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling sealed v0.5.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling typed-builder-macro v0.15.2 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Compiling smart-default v0.7.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling synthez-core v0.3.1 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking typed-builder v0.15.2 [INFO] [stderr] Compiling synthez-codegen v0.3.1 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling synthez v0.3.1 [INFO] [stderr] Checking ignore v0.4.22 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Checking clap v4.5.2 [INFO] [stderr] Checking cucumber-expressions v0.3.0 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling dummy v0.7.0 [INFO] [stderr] Compiling lazy-regex-proc_macros v3.1.0 [INFO] [stderr] Checking fake v2.9.2 [INFO] [stderr] Checking lazy-regex v3.1.0 [INFO] [stderr] Compiling cucumber-codegen v0.20.2 [INFO] [stderr] Checking playground v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/lessons/threads.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::mpsc::{self, Receiver}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Work` is never constructed [INFO] [stdout] --> src/lessons/threads.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Work { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `process` are never used [INFO] [stdout] --> src/lessons/threads.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl Work { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 17 | fn new() -> Work { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn process(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_jobs` is never used [INFO] [stdout] --> src/lessons/threads.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn process_jobs(recv_channel: Receiver<&mut Work>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_thread` is never used [INFO] [stdout] --> src/lessons/threads.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn simple_thread() -> thread::JoinHandle> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mutex_and_atomic_ref_counts` is never used [INFO] [stdout] --> src/lessons/threads.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn mutex_and_atomic_ref_counts(num_increments: usize) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `LogLevel` is never used [INFO] [stdout] --> src/lessons/traits.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | enum LogLevel { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LoggingService` is never constructed [INFO] [stdout] --> src/lessons/traits.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct LoggingService { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_level`, `add_logger`, and `log` are never used [INFO] [stdout] --> src/lessons/traits.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl LoggingService { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 21 | fn new(level: LogLevel) -> LoggingService { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn set_level(&'_ mut self, level: LogLevel) -> &'_ mut Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | fn add_logger(&'_ mut self, logger: Rc) -> &'_ mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn log(&self, level: LogLevel, message: &str) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestLogger` is never constructed [INFO] [stdout] --> src/lessons/traits.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct TestLogger { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lessons/traits.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl TestLogger { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 52 | fn new() -> TestLogger { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lessons/chaining.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | MEMBERS.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lessons/chaining.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | / MEMBERS.insert( [INFO] [stdout] 43 | | i, [INFO] [stdout] 44 | | Member::new(i, FirstName(EN).fake(), FreeEmail(EN).fake()), [INFO] [stdout] 45 | | ); [INFO] [stdout] | |_________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lessons/chaining.rs:95:30 [INFO] [stdout] | [INFO] [stdout] 95 | if let Some(m) = MEMBERS.get_mut(&arg.id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lessons/chaining.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | unsafe { MEMBERS.values().collect() } [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] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling gherkin v0.14.0 [INFO] [stderr] Checking cucumber v0.20.2 [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lessons/chaining.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | MEMBERS.clear(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lessons/chaining.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | / MEMBERS.insert( [INFO] [stdout] 43 | | i, [INFO] [stdout] 44 | | Member::new(i, FirstName(EN).fake(), FreeEmail(EN).fake()), [INFO] [stdout] 45 | | ); [INFO] [stdout] | |_________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lessons/chaining.rs:95:30 [INFO] [stdout] | [INFO] [stdout] 95 | if let Some(m) = MEMBERS.get_mut(&arg.id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lessons/chaining.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | unsafe { MEMBERS.values().collect() } [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lessons/threads.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | unsafe { WORKS.push(Work::new()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/lessons/threads.rs:106:30 [INFO] [stdout] | [INFO] [stdout] 106 | for work in unsafe { WORKS.iter_mut() } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [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] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lessons/threads.rs:116:30 [INFO] [stdout] | [INFO] [stdout] 116 | for work in unsafe { WORKS.iter() } { [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 37.12s [INFO] running `Command { std: "docker" "inspect" "150abe2630c858b9d7733bb38f65ef330437a84034a2c9dbb56981cb2c575bbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "150abe2630c858b9d7733bb38f65ef330437a84034a2c9dbb56981cb2c575bbd", kill_on_drop: false }` [INFO] [stdout] 150abe2630c858b9d7733bb38f65ef330437a84034a2c9dbb56981cb2c575bbd