[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 master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstartdusk%2Fcrust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/startdusk/crust on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "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-1-tc1/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" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1c464d1b78537f5576e8bc27e15f2a595266a029c8f7be99b3b88b530665470 [INFO] running `Command { std: "docker" "start" "-a" "e1c464d1b78537f5576e8bc27e15f2a595266a029c8f7be99b3b88b530665470", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1c464d1b78537f5576e8bc27e15f2a595266a029c8f7be99b3b88b530665470", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1c464d1b78537f5576e8bc27e15f2a595266a029c8f7be99b3b88b530665470", kill_on_drop: false }` [INFO] [stdout] e1c464d1b78537f5576e8bc27e15f2a595266a029c8f7be99b3b88b530665470 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dec066ea7349de98f984e30c36f57428ac21d32cd42301895e9716bc05c49970 [INFO] running `Command { std: "docker" "start" "-a" "dec066ea7349de98f984e30c36f57428ac21d32cd42301895e9716bc05c49970", 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] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling boks v0.1.0 (/opt/rustwide/workdir/boks) [INFO] [stderr] Compiling iterators v0.1.0 (/opt/rustwide/workdir/iterators) [INFO] [stderr] Compiling sharing-is-caring v0.1.0 (/opt/rustwide/workdir/sharing-is-caring) [INFO] [stderr] Compiling smart_pointers_and_interior_mutability v0.1.0 (/opt/rustwide/workdir/smart_pointers_and_interior_mutability) [INFO] [stderr] Compiling call-me v0.1.0 (/opt/rustwide/workdir/call-me) [INFO] [stderr] Compiling lifetime_annotations v0.1.0 (/opt/rustwide/workdir/lifetime_annotations) [INFO] [stderr] Compiling patience v0.1.0 (/opt/rustwide/workdir/patience) [INFO] [stderr] Compiling atomics v0.1.0 (/opt/rustwide/workdir/atomics) [INFO] [stderr] Compiling strtok v0.1.0 (/opt/rustwide/workdir/strtok) [INFO] [stderr] Compiling channels v0.1.0 (/opt/rustwide/workdir/channels) [INFO] [stderr] Compiling declarative_macros v0.1.0 (/opt/rustwide/workdir/declarative_macros) [INFO] [stderr] Compiling eksempel v0.1.0 (/opt/rustwide/workdir/eksempel) [INFO] [stderr] Compiling build-and-ffi v0.1.0 (/opt/rustwide/workdir/build-and-ffi) [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] [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: 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: 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: `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: 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] [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 3.66s [INFO] running `Command { std: "docker" "inspect" "dec066ea7349de98f984e30c36f57428ac21d32cd42301895e9716bc05c49970", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dec066ea7349de98f984e30c36f57428ac21d32cd42301895e9716bc05c49970", kill_on_drop: false }` [INFO] [stdout] dec066ea7349de98f984e30c36f57428ac21d32cd42301895e9716bc05c49970 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4430bd347e4fd6d9882fb6df8a5020de35fbbccab2a380c607db76dfa575277 [INFO] running `Command { std: "docker" "start" "-a" "f4430bd347e4fd6d9882fb6df8a5020de35fbbccab2a380c607db76dfa575277", 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] [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: 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling smart_pointers_and_interior_mutability v0.1.0 (/opt/rustwide/workdir/smart_pointers_and_interior_mutability) [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 strtok v0.1.0 (/opt/rustwide/workdir/strtok) [INFO] [stderr] Compiling boks v0.1.0 (/opt/rustwide/workdir/boks) [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 lifetime_annotations v0.1.0 (/opt/rustwide/workdir/lifetime_annotations) [INFO] [stderr] Compiling iterators v0.1.0 (/opt/rustwide/workdir/iterators) [INFO] [stderr] Compiling channels v0.1.0 (/opt/rustwide/workdir/channels) [INFO] [stderr] Compiling declarative_macros v0.1.0 (/opt/rustwide/workdir/declarative_macros) [INFO] [stderr] Compiling atomics v0.1.0 (/opt/rustwide/workdir/atomics) [INFO] [stderr] Compiling sorting_algorithms v0.1.0 (/opt/rustwide/workdir/sorting_algorithms) [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: 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] | ^ ---------------- `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] | ^ ---------------- `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] | ^ ---------------- `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] | ^ ---------------- `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: 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 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 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: 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: `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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "f4430bd347e4fd6d9882fb6df8a5020de35fbbccab2a380c607db76dfa575277", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4430bd347e4fd6d9882fb6df8a5020de35fbbccab2a380c607db76dfa575277", kill_on_drop: false }` [INFO] [stdout] f4430bd347e4fd6d9882fb6df8a5020de35fbbccab2a380c607db76dfa575277 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e0c523562908f51368131b4bec78d53a82baaf85114a2f159db6ac0f8d64af6d [INFO] running `Command { std: "docker" "start" "-a" "e0c523562908f51368131b4bec78d53a82baaf85114a2f159db6ac0f8d64af6d", 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] 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)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> smart_pointers_and_interior_mutability/src/cell.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl Cell { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] 14 | pub fn new(value: T) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [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: variants `Shared` and `Exclusive` are never constructed [INFO] [stderr] --> smart_pointers_and_interior_mutability/src/refcell.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 8 | enum RefState { [INFO] [stderr] | -------- variants in this enum [INFO] [stderr] 9 | Unshared, [INFO] [stderr] 10 | Shared(usize), [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 11 | Exclusive, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RefState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [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: 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: `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)]` 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: `declarative_macros` (lib) generated 1 warning [INFO] [stderr] warning: `smart_pointers_and_interior_mutability` (lib) generated 5 warnings [INFO] [stderr] warning: `atomics` (bin "atomics" test) generated 3 warnings [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)]` 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)]` 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: 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)]` 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: `boks` (bin "boks" test) generated 2 warnings [INFO] [stderr] warning: `smart_pointers_and_interior_mutability` (lib test) generated 8 warnings (5 duplicates) (run `cargo fix --lib -p smart_pointers_and_interior_mutability --tests` to apply 3 suggestions) [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] | ^ ---------------- `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] | ^ ---------------- `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] | ^ ---------------- `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] | ^ ---------------- `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: 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)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `declarative_macros` (lib test) generated 5 warnings (1 duplicate) [INFO] [stderr] warning: `sharing-is-caring` (bin "sharing-is-caring" test) generated 1 warning [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 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/boks-ab4ab91b8605c550) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/boks-5877a9117e4ae321) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/build_and_ffi-d312b8748dd19ba2) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/call_me-8d80a8b680083123) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/channels-e240a61f0fb000c2) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::closed_rx ... ok [INFO] [stdout] test tests::closed_tx ... ok [INFO] [stdout] test tests::ping_pong ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/declarative_macros-ce314b7ca6d93867) [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test array ... ok [INFO] [stdout] test max_value ... ok [INFO] [stdout] test empty_avec ... ok [INFO] [stdout] test ttailing ... ok [INFO] [stdout] test single ... ok [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/eksempel-2841c1b0e40b2296) [INFO] [stdout] test double ... ok [INFO] [stdout] test array_nonliteral ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/iterators-c3cd5eb9d2f9c151) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lifetime_annotations-35c33cafacea429b) [INFO] [stdout] test tests::deep ... ok [INFO] [stdout] test tests::empty ... ok [INFO] [stdout] test tests::empty_wide ... ok [INFO] [stdout] test tests::inf ... ok [INFO] [stdout] test tests::ext ... ok [INFO] [stdout] test tests::both_ends ... ok [INFO] [stdout] test tests::one ... ok [INFO] [stdout] test tests::reverse_wide ... ok [INFO] [stdout] test tests::two ... ok [INFO] [stdout] test tests::reverse ... ok [INFO] [stdout] test tests::two_wide ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test it_works ... ok [INFO] [stdout] test empty_tail ... ok [INFO] [stdout] test until_char_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/patience-ff4c1f788508858f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sharing_is_caring-166a42c680c6ac05) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/smart_pointers_and_interior_mutability-9a871525b4344ea0) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sorting_algorithms-eca000728bb89a45) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test insertionsort::it_works_dump ... ok [INFO] [stdout] test bubblesort::it_works ... ok [INFO] [stdout] test insertionsort::it_works_smart ... ok [INFO] [stdout] test selectionsort::it_works ... ok [INFO] [stdout] test quicksort::it_works ... ok [INFO] [stdout] test tests::std_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/bench.rs (/opt/rustwide/target/debug/deps/bench-30251bcfb153e7a8) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/strtok-76813eb96f859a7b) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests boks [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests channels [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests declarative_macros [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test declarative_macros/src/lib.rs - CompileFailTest (line 99) - compile fail ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] [stderr] Doc-tests eksempel [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests iterators [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests lifetime_annotations [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests smart_pointers_and_interior_mutability [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests sorting_algorithms [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests strtok [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e0c523562908f51368131b4bec78d53a82baaf85114a2f159db6ac0f8d64af6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0c523562908f51368131b4bec78d53a82baaf85114a2f159db6ac0f8d64af6d", kill_on_drop: false }` [INFO] [stdout] e0c523562908f51368131b4bec78d53a82baaf85114a2f159db6ac0f8d64af6d