[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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstartdusk%2Fcrust/hooks/: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstartdusk%2Fcrust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstartdusk%2Fcrust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstartdusk%2Fcrust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstartdusk%2Fcrust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstartdusk%2Fcrust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [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] checking startdusk/crust against try#cd420d8bda33494ba3cc45048d5f067484a32b94 for pr-140209-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstartdusk%2Fcrust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/startdusk/crust on toolchain cd420d8bda33494ba3cc45048d5f067484a32b94 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0-tc2/source/Cargo.toml [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" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "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] 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0214904e4d8752cf28598504ea7062f813d6eb0a0fda2a1773842b8b65f5ea0 [INFO] running `Command { std: "docker" "start" "-a" "c0214904e4d8752cf28598504ea7062f813d6eb0a0fda2a1773842b8b65f5ea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0214904e4d8752cf28598504ea7062f813d6eb0a0fda2a1773842b8b65f5ea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0214904e4d8752cf28598504ea7062f813d6eb0a0fda2a1773842b8b65f5ea0", kill_on_drop: false }` [INFO] [stdout] c0214904e4d8752cf28598504ea7062f813d6eb0a0fda2a1773842b8b65f5ea0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+cd420d8bda33494ba3cc45048d5f067484a32b94" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21dfd17cefa29c66bf23971c28d222f0b422f0a29abe49e3132c0f8198e13a02 [INFO] running `Command { std: "docker" "start" "-a" "21dfd17cefa29c66bf23971c28d222f0b422f0a29abe49e3132c0f8198e13a02", 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] 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] Checking cfg-if v1.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking boks v0.1.0 (/opt/rustwide/workdir/boks) [INFO] [stderr] Checking patience v0.1.0 (/opt/rustwide/workdir/patience) [INFO] [stderr] Checking atomics v0.1.0 (/opt/rustwide/workdir/atomics) [INFO] [stderr] Checking smart_pointers_and_interior_mutability v0.1.0 (/opt/rustwide/workdir/smart_pointers_and_interior_mutability) [INFO] [stderr] Checking build-and-ffi v0.1.0 (/opt/rustwide/workdir/build-and-ffi) [INFO] [stderr] Checking strtok v0.1.0 (/opt/rustwide/workdir/strtok) [INFO] [stderr] Checking call-me v0.1.0 (/opt/rustwide/workdir/call-me) [INFO] [stderr] Checking declarative_macros v0.1.0 (/opt/rustwide/workdir/declarative_macros) [INFO] [stderr] Checking channels v0.1.0 (/opt/rustwide/workdir/channels) [INFO] [stderr] Checking lifetime_annotations v0.1.0 (/opt/rustwide/workdir/lifetime_annotations) [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking eksempel v0.1.0 (/opt/rustwide/workdir/eksempel) [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/cell.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Cell { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 14 | pub fn new(value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: variants `Shared` and `Exclusive` are never constructed [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/refcell.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum RefState { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 9 | Unshared, [INFO] [stdout] 10 | Shared(usize), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | Exclusive, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RefState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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] [stderr] Checking iterators v0.1.0 (/opt/rustwide/workdir/iterators) [INFO] [stderr] Checking sharing-is-caring v0.1.0 (/opt/rustwide/workdir/sharing-is-caring) [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)]` 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: 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: 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: 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)]` 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)]` 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)]` 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: `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)]` on by default [INFO] [stdout] [INFO] [stdout] [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)]` on by default [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)]` on by default [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: `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 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: 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/cell.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Cell { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 14 | pub fn new(value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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: variants `Shared` and `Exclusive` are never constructed [INFO] [stdout] --> smart_pointers_and_interior_mutability/src/refcell.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | enum RefState { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 9 | Unshared, [INFO] [stdout] 10 | Shared(usize), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | Exclusive, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RefState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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: 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)]` 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] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sorting_algorithms v0.1.0 (/opt/rustwide/workdir/sorting_algorithms) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.53s [INFO] running `Command { std: "docker" "inspect" "21dfd17cefa29c66bf23971c28d222f0b422f0a29abe49e3132c0f8198e13a02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21dfd17cefa29c66bf23971c28d222f0b422f0a29abe49e3132c0f8198e13a02", kill_on_drop: false }` [INFO] [stdout] 21dfd17cefa29c66bf23971c28d222f0b422f0a29abe49e3132c0f8198e13a02