[INFO] cloning repository https://github.com/startdusk/crust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/startdusk/crust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstartdusk%2Fcrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstartdusk%2Fcrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b6fbd77399f1cdf18fb0369fb72ada36af3bbde [INFO] testing startdusk/crust against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstartdusk%2Fcrust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/startdusk/crust [INFO] finished tweaking git repo https://github.com/startdusk/crust [INFO] tweaked toml for git repo https://github.com/startdusk/crust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/startdusk/crust on toolchain 9f93af291970322f4f1c6315ccde4d7078201159 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/startdusk/crust 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae4bb77269da20c82b564530a5bb13ef8adb4a6e382df83b9538fd87335338f3 [INFO] running `Command { std: "docker" "start" "-a" "ae4bb77269da20c82b564530a5bb13ef8adb4a6e382df83b9538fd87335338f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae4bb77269da20c82b564530a5bb13ef8adb4a6e382df83b9538fd87335338f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae4bb77269da20c82b564530a5bb13ef8adb4a6e382df83b9538fd87335338f3", kill_on_drop: false }` [INFO] [stdout] ae4bb77269da20c82b564530a5bb13ef8adb4a6e382df83b9538fd87335338f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b70fd3da81eb8dd2c4d930cd950b8fd9756d1471b541e961e1b5419da52ec643 [INFO] running `Command { std: "docker" "start" "-a" "b70fd3da81eb8dd2c4d930cd950b8fd9756d1471b541e961e1b5419da52ec643", 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.138 [INFO] [stderr] Compiling boks v0.1.0 (/opt/rustwide/workdir/boks) [INFO] [stderr] Compiling atomics v0.1.0 (/opt/rustwide/workdir/atomics) [INFO] [stderr] Compiling channels v0.1.0 (/opt/rustwide/workdir/channels) [INFO] [stderr] Compiling lifetime_annotations v0.1.0 (/opt/rustwide/workdir/lifetime_annotations) [INFO] [stderr] Compiling smart_pointers_and_interior_mutability v0.1.0 (/opt/rustwide/workdir/smart_pointers_and_interior_mutability) [INFO] [stderr] Compiling declarative_macros v0.1.0 (/opt/rustwide/workdir/declarative_macros) [INFO] [stderr] Compiling patience v0.1.0 (/opt/rustwide/workdir/patience) [INFO] [stderr] Compiling sharing-is-caring v0.1.0 (/opt/rustwide/workdir/sharing-is-caring) [INFO] [stderr] Compiling build-and-ffi v0.1.0 (/opt/rustwide/workdir/build-and-ffi) [INFO] [stderr] Compiling call-me v0.1.0 (/opt/rustwide/workdir/call-me) [INFO] [stderr] Compiling eksempel v0.1.0 (/opt/rustwide/workdir/eksempel) [INFO] [stderr] Compiling iterators v0.1.0 (/opt/rustwide/workdir/iterators) [INFO] [stderr] Compiling strtok v0.1.0 (/opt/rustwide/workdir/strtok) [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> sharing-is-caring/src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let y = x.clone(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cell` is never constructed [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/cell.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Cell { [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 items `new`, `set`, and `get` are never used [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/cell.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Cell { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn set(&self, value: T) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn get(&self) -> T [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RcInner` is never constructed [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/rc.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct RcInner { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rc` is never constructed [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/rc.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Rc { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/rc.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Rc { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 20 | pub fn new(v: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RefState` is never used [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/refcell.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | enum RefState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RefCell` is never constructed [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/refcell.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct RefCell { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `borrow`, and `borrow_mut` are never used [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/refcell.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl RefCell { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 23 | pub fn new(value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn borrow(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn borrow_mut(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ref` is never constructed [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/refcell.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Ref<'refcell, T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RefMut` is never constructed [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/refcell.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct RefMut<'refcell, T> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/rc.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | drop(inner); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&RcInner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 59 - drop(inner); [INFO] [stdout] 59 + let _ = inner; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MaxValue` is never used [INFO] [stdout] --> declarative_macros/src/lib.rs:105:7 [INFO] [stdout] | [INFO] [stdout] 105 | trait MaxValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> boks/src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let b = Boks::ny(Oisann(&mut z)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> boks/src/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { Box::from_raw(self.p) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { let _ = Box::from_raw(self.p); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> atomics/src/main.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | let z = z.load(Ordering::SeqCst); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sorting_algorithms v0.1.0 (/opt/rustwide/workdir/sorting_algorithms) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.87s [INFO] running `Command { std: "docker" "inspect" "b70fd3da81eb8dd2c4d930cd950b8fd9756d1471b541e961e1b5419da52ec643", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b70fd3da81eb8dd2c4d930cd950b8fd9756d1471b541e961e1b5419da52ec643", kill_on_drop: false }` [INFO] [stdout] b70fd3da81eb8dd2c4d930cd950b8fd9756d1471b541e961e1b5419da52ec643 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b585f4283cb860e50f94cd64ed211a11cd56494413eaadb1691392abbbceed40 [INFO] running `Command { std: "docker" "start" "-a" "b585f4283cb860e50f94cd64ed211a11cd56494413eaadb1691392abbbceed40", 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] [stdout] warning: struct `Cell` is never constructed [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/cell.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Cell { [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 items `new`, `set`, and `get` are never used [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/cell.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Cell { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn set(&self, value: T) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn get(&self) -> T [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RcInner` is never constructed [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/rc.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct RcInner { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rc` is never constructed [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/rc.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Rc { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/rc.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Rc { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 20 | pub fn new(v: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RefState` is never used [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/refcell.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | enum RefState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RefCell` is never constructed [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/refcell.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct RefCell { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `borrow`, and `borrow_mut` are never used [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/refcell.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl RefCell { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 23 | pub fn new(value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn borrow(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn borrow_mut(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ref` is never constructed [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/refcell.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Ref<'refcell, T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling declarative_macros v0.1.0 (/opt/rustwide/workdir/declarative_macros) [INFO] [stdout] warning: struct `RefMut` is never constructed [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/refcell.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct RefMut<'refcell, T> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling build-and-ffi v0.1.0 (/opt/rustwide/workdir/build-and-ffi) [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/rc.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | drop(inner); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&RcInner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 59 - drop(inner); [INFO] [stdout] 59 + let _ = inner; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sharing-is-caring v0.1.0 (/opt/rustwide/workdir/sharing-is-caring) [INFO] [stderr] Compiling strtok v0.1.0 (/opt/rustwide/workdir/strtok) [INFO] [stderr] Compiling atomics v0.1.0 (/opt/rustwide/workdir/atomics) [INFO] [stdout] warning: trait `MaxValue` is never used [INFO] [stdout] --> declarative_macros/src/lib.rs:105:7 [INFO] [stdout] | [INFO] [stdout] 105 | trait MaxValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling boks v0.1.0 (/opt/rustwide/workdir/boks) [INFO] [stderr] Compiling smart_pointers_and_interior_mutability v0.1.0 (/opt/rustwide/workdir/smart_pointers_and_interior_mutability) [INFO] [stderr] Compiling channels v0.1.0 (/opt/rustwide/workdir/channels) [INFO] [stderr] Compiling iterators v0.1.0 (/opt/rustwide/workdir/iterators) [INFO] [stderr] Compiling lifetime_annotations v0.1.0 (/opt/rustwide/workdir/lifetime_annotations) [INFO] [stderr] Compiling call-me v0.1.0 (/opt/rustwide/workdir/call-me) [INFO] [stderr] Compiling eksempel v0.1.0 (/opt/rustwide/workdir/eksempel) [INFO] [stderr] Compiling patience v0.1.0 (/opt/rustwide/workdir/patience) [INFO] [stderr] Compiling sorting_algorithms v0.1.0 (/opt/rustwide/workdir/sorting_algorithms) [INFO] [stdout] warning: unused import: `super::Cell` [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/cell.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | use super::Cell; [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: `std::sync::Arc` [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/cell.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/cell.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MaxValue` is never used [INFO] [stdout] --> declarative_macros/src/lib.rs:105:7 [INFO] [stdout] | [INFO] [stdout] 105 | trait MaxValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> declarative_macros/src/lib.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | impl $crate::MaxValue for $t { [INFO] [stdout] | ^^^^^----------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MaxValue` is not local [INFO] [stdout] ... [INFO] [stdout] 121 | fn max_value() { [INFO] [stdout] | -------------- move the `impl` block outside of this function `max_value` [INFO] [stdout] 122 | max_impl!(i32); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `max_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `max_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> declarative_macros/src/lib.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | impl $crate::MaxValue for $t { [INFO] [stdout] | ^^^^^----------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MaxValue` is not local [INFO] [stdout] ... [INFO] [stdout] 121 | fn max_value() { [INFO] [stdout] | -------------- move the `impl` block outside of this function `max_value` [INFO] [stdout] 122 | max_impl!(i32); [INFO] [stdout] 123 | max_impl!(u32); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `max_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `max_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> declarative_macros/src/lib.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | impl $crate::MaxValue for $t { [INFO] [stdout] | ^^^^^----------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MaxValue` is not local [INFO] [stdout] ... [INFO] [stdout] 121 | fn max_value() { [INFO] [stdout] | -------------- move the `impl` block outside of this function `max_value` [INFO] [stdout] ... [INFO] [stdout] 124 | max_impl!(i64); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `max_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `max_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> declarative_macros/src/lib.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | impl $crate::MaxValue for $t { [INFO] [stdout] | ^^^^^----------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `MaxValue` is not local [INFO] [stdout] ... [INFO] [stdout] 121 | fn max_value() { [INFO] [stdout] | -------------- move the `impl` block outside of this function `max_value` [INFO] [stdout] ... [INFO] [stdout] 125 | max_impl!(u64); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: the macro `max_impl` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the macro `max_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Cell` is never constructed [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/cell.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Cell { [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 items `new`, `set`, and `get` are never used [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/cell.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Cell { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new(value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn set(&self, value: T) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn get(&self) -> T [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RcInner` is never constructed [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/rc.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct RcInner { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Rc` is never constructed [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/rc.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Rc { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/rc.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Rc { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 20 | pub fn new(v: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RefState` is never used [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/refcell.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | enum RefState { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RefCell` is never constructed [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/refcell.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct RefCell { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `borrow`, and `borrow_mut` are never used [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/refcell.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl RefCell { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 23 | pub fn new(value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn borrow(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn borrow_mut(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ref` is never constructed [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/refcell.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct Ref<'refcell, T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RefMut` is never constructed [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/refcell.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub struct RefMut<'refcell, T> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r1` [INFO] [stdout] --> atomics/src/main.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | let r1 = t1.join().unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/rc.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | drop(inner); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&RcInner` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 59 - drop(inner); [INFO] [stdout] 59 + let _ = inner; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r2` [INFO] [stdout] --> atomics/src/main.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let r2 = t2.join().unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_r2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> boks/src/main.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let b = Boks::ny(Oisann(&mut z)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> atomics/src/main.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | let z = z.load(Ordering::SeqCst); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> boks/src/main.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { Box::from_raw(self.p) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 17 | unsafe { let _ = Box::from_raw(self.p); }; [INFO] [stdout] | +++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> sharing-is-caring/src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | let y = x.clone(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `Command { std: "docker" "inspect" "b585f4283cb860e50f94cd64ed211a11cd56494413eaadb1691392abbbceed40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b585f4283cb860e50f94cd64ed211a11cd56494413eaadb1691392abbbceed40", kill_on_drop: false }` [INFO] [stdout] b585f4283cb860e50f94cd64ed211a11cd56494413eaadb1691392abbbceed40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cc38cd910628b00c9983b770bbc3adab93cb2f91101d0cb7301a048c28a2ad84 [INFO] running `Command { std: "docker" "start" "-a" "cc38cd910628b00c9983b770bbc3adab93cb2f91101d0cb7301a048c28a2ad84", 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] warning: trait `MaxValue` is never used [INFO] [stderr] --> declarative_macros/src/lib.rs:105:7 [INFO] [stderr] | [INFO] [stderr] 105 | trait MaxValue { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `declarative_macros` (lib) generated 1 warning [INFO] [stderr] warning: struct `Cell` is never constructed [INFO] [stderr] --> smart_pointers_and_interior_mutability/src/cell.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct Cell { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `set`, and `get` are never used [INFO] [stderr] --> smart_pointers_and_interior_mutability/src/cell.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl Cell { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] 14 | pub fn new(value: T) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 20 | pub fn set(&self, value: T) { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | pub fn get(&self) -> T [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RcInner` is never constructed [INFO] [stderr] --> smart_pointers_and_interior_mutability/src/rc.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | struct RcInner { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Rc` is never constructed [INFO] [stderr] --> smart_pointers_and_interior_mutability/src/rc.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct Rc { [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> smart_pointers_and_interior_mutability/src/rc.rs:20:12 [INFO] [stderr] | [INFO] [stderr] 19 | impl Rc { [INFO] [stderr] | ------------- associated function in this implementation [INFO] [stderr] 20 | pub fn new(v: T) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `RefState` is never used [INFO] [stderr] --> smart_pointers_and_interior_mutability/src/refcell.rs:8:6 [INFO] [stderr] | [INFO] [stderr] 8 | enum RefState { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RefCell` is never constructed [INFO] [stderr] --> smart_pointers_and_interior_mutability/src/refcell.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct RefCell { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `borrow`, and `borrow_mut` are never used [INFO] [stderr] --> smart_pointers_and_interior_mutability/src/refcell.rs:23:12 [INFO] [stderr] | [INFO] [stderr] 22 | impl RefCell { [INFO] [stderr] | ------------------ associated items in this implementation [INFO] [stderr] 23 | pub fn new(value: T) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 30 | pub fn borrow(&mut self) -> Option> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | pub fn borrow_mut(&mut self) -> Option> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Ref` is never constructed [INFO] [stderr] --> smart_pointers_and_interior_mutability/src/refcell.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 56 | pub struct Ref<'refcell, T> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RefMut` is never constructed [INFO] [stderr] --> smart_pointers_and_interior_mutability/src/refcell.rs:79:12 [INFO] [stderr] | [INFO] [stderr] 79 | pub struct RefMut<'refcell, T> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> smart_pointers_and_interior_mutability/src/rc.rs:59:13 [INFO] [stderr] | [INFO] [stderr] 59 | drop(inner); [INFO] [stderr] | ^^^^^-----^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&RcInner` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dropping_references)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 59 - drop(inner); [INFO] [stderr] 59 + let _ = inner; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `b` [INFO] [stderr] --> boks/src/main.rs:60:9 [INFO] [stderr] | [INFO] [stderr] 60 | let b = Boks::ny(Oisann(&mut z)); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stderr] --> boks/src/main.rs:17:18 [INFO] [stderr] | [INFO] [stderr] 17 | unsafe { Box::from_raw(self.p) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 17 | unsafe { let _ = Box::from_raw(self.p); }; [INFO] [stderr] | +++++++ + [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> declarative_macros/src/lib.rs:112:9 [INFO] [stderr] | [INFO] [stderr] 112 | impl $crate::MaxValue for $t { [INFO] [stderr] | ^^^^^----------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `MaxValue` is not local [INFO] [stderr] ... [INFO] [stderr] 121 | fn max_value() { [INFO] [stderr] | -------------- move the `impl` block outside of this function `max_value` [INFO] [stderr] 122 | max_impl!(i32); [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `max_impl` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the macro `max_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> declarative_macros/src/lib.rs:112:9 [INFO] [stderr] | [INFO] [stderr] 112 | impl $crate::MaxValue for $t { [INFO] [stderr] | ^^^^^----------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `MaxValue` is not local [INFO] [stderr] ... [INFO] [stderr] 121 | fn max_value() { [INFO] [stderr] | -------------- move the `impl` block outside of this function `max_value` [INFO] [stderr] 122 | max_impl!(i32); [INFO] [stderr] 123 | max_impl!(u32); [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `max_impl` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `max_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> declarative_macros/src/lib.rs:112:9 [INFO] [stderr] | [INFO] [stderr] 112 | impl $crate::MaxValue for $t { [INFO] [stderr] | ^^^^^----------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `MaxValue` is not local [INFO] [stderr] ... [INFO] [stderr] 121 | fn max_value() { [INFO] [stderr] | -------------- move the `impl` block outside of this function `max_value` [INFO] [stderr] ... [INFO] [stderr] 124 | max_impl!(i64); [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `max_impl` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `max_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> declarative_macros/src/lib.rs:112:9 [INFO] [stderr] | [INFO] [stderr] 112 | impl $crate::MaxValue for $t { [INFO] [stderr] | ^^^^^----------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `MaxValue` is not local [INFO] [stderr] ... [INFO] [stderr] 121 | fn max_value() { [INFO] [stderr] | -------------- move the `impl` block outside of this function `max_value` [INFO] [stderr] ... [INFO] [stderr] 125 | max_impl!(u64); [INFO] [stderr] | -------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: the macro `max_impl` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the macro `max_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `smart_pointers_and_interior_mutability` (lib) generated 11 warnings [INFO] [stderr] warning: `boks` (bin "boks" test) generated 2 warnings (run `cargo fix --bin "boks" -p boks --tests` to apply 1 suggestion) [INFO] [stderr] warning: `declarative_macros` (lib test) generated 5 warnings (1 duplicate) [INFO] [stderr] warning: unused import: `super::Cell` [INFO] [stderr] --> smart_pointers_and_interior_mutability/src/cell.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | use super::Cell; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Arc` [INFO] [stderr] --> smart_pointers_and_interior_mutability/src/cell.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 39 | use std::sync::Arc; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> smart_pointers_and_interior_mutability/src/cell.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 40 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> sharing-is-caring/src/main.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | let y = x.clone(); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r1` [INFO] [stderr] --> atomics/src/main.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 87 | let r1 = t1.join().unwrap(); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_r1` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `r2` [INFO] [stderr] --> atomics/src/main.rs:88:9 [INFO] [stderr] | [INFO] [stderr] 88 | let r2 = t2.join().unwrap(); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_r2` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `z` [INFO] [stderr] --> atomics/src/main.rs:118:9 [INFO] [stderr] | [INFO] [stderr] 118 | let z = z.load(Ordering::SeqCst); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stderr] [INFO] [stderr] warning: `smart_pointers_and_interior_mutability` (lib test) generated 14 warnings (11 duplicates) (run `cargo fix --lib -p smart_pointers_and_interior_mutability --tests` to apply 3 suggestions) [INFO] [stderr] warning: `sharing-is-caring` (bin "sharing-is-caring" test) generated 1 warning (run `cargo fix --bin "sharing-is-caring" -p sharing-is-caring --tests` to apply 1 suggestion) [INFO] [stderr] warning: `atomics` (bin "atomics" test) generated 3 warnings (run `cargo fix --bin "atomics" -p atomics --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/atomics-deb9478f2c490b46) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test too_relaxed ... ok [INFO] [stdout] test mutex_test has been running for over 60 seconds [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "cc38cd910628b00c9983b770bbc3adab93cb2f91101d0cb7301a048c28a2ad84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc38cd910628b00c9983b770bbc3adab93cb2f91101d0cb7301a048c28a2ad84", kill_on_drop: false }` [INFO] [stdout] cc38cd910628b00c9983b770bbc3adab93cb2f91101d0cb7301a048c28a2ad84