[INFO] cloning repository https://github.com/ash-z01/rust-notes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ash-z01/rust-notes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fash-z01%2Frust-notes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fash-z01%2Frust-notes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c4571f1eb6bbfc8206751be1fc5ff8020625bee6 [INFO] checking ash-z01/rust-notes against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fash-z01%2Frust-notes" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ash-z01/rust-notes on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ash-z01/rust-notes [INFO] finished tweaking git repo https://github.com/ash-z01/rust-notes [INFO] tweaked toml for git repo https://github.com/ash-z01/rust-notes written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/ash-z01/rust-notes already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 58ca169832b1575baa92c88aafdef0f2a176b6c8b0a10bbf054c5311f88c70cb [INFO] running `Command { std: "docker" "start" "-a" "58ca169832b1575baa92c88aafdef0f2a176b6c8b0a10bbf054c5311f88c70cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58ca169832b1575baa92c88aafdef0f2a176b6c8b0a10bbf054c5311f88c70cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58ca169832b1575baa92c88aafdef0f2a176b6c8b0a10bbf054c5311f88c70cb", kill_on_drop: false }` [INFO] [stdout] 58ca169832b1575baa92c88aafdef0f2a176b6c8b0a10bbf054c5311f88c70cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c42bec6ef1d52b6287715dc0ba471ebdbe65b00459d994d4de6ffa12532220a7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c42bec6ef1d52b6287715dc0ba471ebdbe65b00459d994d4de6ffa12532220a7", kill_on_drop: false }` [INFO] [stderr] Checking crossbeam-utils v0.8.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rayon-core v1.9.0 [INFO] [stderr] Checking rayon v1.5.0 [INFO] [stderr] Checking rustprimer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/feature/fet.rs:125:26 [INFO] [stdout] | [INFO] [stdout] 125 | fn paramBefore(x: T) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/feature/fet.rs:127:15 [INFO] [stdout] | [INFO] [stdout] 127 | fn paramAfter(x: impl Trait) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/mtypes/mstr.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let x = "static"; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/mtypes/mstr.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let x: &'static str = "Hello"; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/mymacro/mymacro.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let x = 3; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] ... [INFO] [stdout] 72 | foo!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/pm/pattern.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | let (x, s) = tuple; // String类型并未实现Copy, 所以tuple被整体move掉了 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/pm/pattern.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let (x, s) = tuple; // String类型并未实现Copy, 所以tuple被整体move掉了 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/pm/pattern.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | let (x, _) = tuple; // 忽略String类型,i32实现了Copy , tuple 不会被 move [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/feature/fet.rs:125:26 [INFO] [stdout] | [INFO] [stdout] 125 | fn paramBefore(x: T) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/feature/fet.rs:127:15 [INFO] [stdout] | [INFO] [stdout] 127 | fn paramAfter(x: impl Trait) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/mtypes/mstr.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | let x = "static"; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/mtypes/mstr.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let x: &'static str = "Hello"; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/mymacro/mymacro.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let x = 3; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] ... [INFO] [stdout] 72 | foo!(); [INFO] [stdout] | ------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `foo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/pm/pattern.rs:34:10 [INFO] [stdout] | [INFO] [stdout] 34 | let (x, s) = tuple; // String类型并未实现Copy, 所以tuple被整体move掉了 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/pm/pattern.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let (x, s) = tuple; // String类型并未实现Copy, 所以tuple被整体move掉了 [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/pm/pattern.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | let (x, _) = tuple; // 忽略String类型,i32实现了Copy , tuple 不会被 move [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/primeval_point/primeval.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe fn danger_will_robinson() { [INFO] [stdout] | -------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 38 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `file_double_verbose` [INFO] [stdout] --> src/error/opterr.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn file_double_verbose>(file_path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/feature/fet.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | x: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/feature/fet.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | y: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `foo` [INFO] [stdout] --> src/feature/fet.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn foo(s: T) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `foo1` [INFO] [stdout] --> src/feature/fet.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn foo1(s: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `foo2` [INFO] [stdout] --> src/feature/fet.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn foo2(x: T, y: K) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `foo2_where` [INFO] [stdout] --> src/feature/fet.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn foo2_where(x: T, y: K) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fooTraitBefore` [INFO] [stdout] --> src/feature/fet.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn fooTraitBefore() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fooTraitAfter` [INFO] [stdout] --> src/feature/fet.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn fooTraitAfter() -> impl Trait { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `closureBefore` [INFO] [stdout] --> src/feature/fet.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn closureBefore() -> Box i32> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `closureAfter` [INFO] [stdout] --> src/feature/fet.rs:120:4 [INFO] [stdout] | [INFO] [stdout] 120 | fn closureAfter() -> impl Fn(i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `paramBefore` [INFO] [stdout] --> src/feature/fet.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn paramBefore(x: T) {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `paramAfter` [INFO] [stdout] --> src/feature/fet.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn paramAfter(x: impl Trait) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `diverging` [INFO] [stdout] --> src/function/returns.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn diverging() -> ! { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `A` [INFO] [stdout] --> src/mtypes/compound.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct A { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `B` [INFO] [stdout] --> src/mtypes/compound.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct B(i32, u16, bool); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `D` [INFO] [stdout] --> src/mtypes/compound.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct D; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `C` [INFO] [stdout] --> src/mtypes/compound.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct C {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Person` [INFO] [stdout] --> src/mtypes/compound.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct Person { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mtypes/compound.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn new(name: &str) -> Person { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `greeting` [INFO] [stdout] --> src/mtypes/compound.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn greeting(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Direction` [INFO] [stdout] --> src/mtypes/compound.rs:81:6 [INFO] [stdout] | [INFO] [stdout] 81 | enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Special` [INFO] [stdout] --> src/mtypes/compound.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | Special(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `East` [INFO] [stdout] --> src/pm/matching.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | East, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `West` [INFO] [stdout] --> src/pm/matching.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | West, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `North` [INFO] [stdout] --> src/pm/matching.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | North, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `danger_will_robinson` [INFO] [stdout] --> src/primeval_point/primeval.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe fn danger_will_robinson() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_from_stdin` [INFO] [stdout] --> src/stdio/stdio.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn read_from_stdin(buf: &mut String) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_to_stdout1` [INFO] [stdout] --> src/stdio/stdio.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn write_to_stdout1(buf: &[u8]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `input_number` [INFO] [stdout] --> src/stdio/stdio.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn input_number() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `input_number_macro` [INFO] [stdout] --> src/stdio/stdio.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn input_number_macro() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `clone` that must be used [INFO] [stdout] --> src/feature/fet.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | s.clone(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: cloning is often expensive and is not expected to have side effects [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `clone` that must be used [INFO] [stdout] --> src/feature/fet.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | x.clone(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: cloning is often expensive and is not expected to have side effects [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `clone` that must be used [INFO] [stdout] --> src/feature/fet.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | y.clone(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: cloning is often expensive and is not expected to have side effects [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `clone` that must be used [INFO] [stdout] --> src/feature/fet.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | x.clone(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: cloning is often expensive and is not expected to have side effects [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `clone` that must be used [INFO] [stdout] --> src/feature/fet.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | y.clone(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: cloning is often expensive and is not expected to have side effects [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fooTraitBefore` should have a snake case name [INFO] [stdout] --> src/feature/fet.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn fooTraitBefore() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `foo_trait_before` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fooTraitAfter` should have a snake case name [INFO] [stdout] --> src/feature/fet.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn fooTraitAfter() -> impl Trait { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `foo_trait_after` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `closureBefore` should have a snake case name [INFO] [stdout] --> src/feature/fet.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn closureBefore() -> Box i32> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `closure_before` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `closureAfter` should have a snake case name [INFO] [stdout] --> src/feature/fet.rs:120:4 [INFO] [stdout] | [INFO] [stdout] 120 | fn closureAfter() -> impl Fn(i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `closure_after` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `paramBefore` should have a snake case name [INFO] [stdout] --> src/feature/fet.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn paramBefore(x: T) {} [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `param_before` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `paramAfter` should have a snake case name [INFO] [stdout] --> src/feature/fet.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn paramAfter(x: impl Trait) {} [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `param_after` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/primeval_point/primeval.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe fn danger_will_robinson() { [INFO] [stdout] | -------------------------------- because it's nested under this `unsafe` fn [INFO] [stdout] ... [INFO] [stdout] 38 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `file_double_verbose` [INFO] [stdout] --> src/error/opterr.rs:97:4 [INFO] [stdout] | [INFO] [stdout] 97 | fn file_double_verbose>(file_path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/feature/fet.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | x: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/feature/fet.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | y: f64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `foo` [INFO] [stdout] --> src/feature/fet.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn foo(s: T) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `foo1` [INFO] [stdout] --> src/feature/fet.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn foo1(s: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `foo2` [INFO] [stdout] --> src/feature/fet.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn foo2(x: T, y: K) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `foo2_where` [INFO] [stdout] --> src/feature/fet.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn foo2_where(x: T, y: K) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fooTraitBefore` [INFO] [stdout] --> src/feature/fet.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn fooTraitBefore() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fooTraitAfter` [INFO] [stdout] --> src/feature/fet.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn fooTraitAfter() -> impl Trait { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `closureBefore` [INFO] [stdout] --> src/feature/fet.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn closureBefore() -> Box i32> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `closureAfter` [INFO] [stdout] --> src/feature/fet.rs:120:4 [INFO] [stdout] | [INFO] [stdout] 120 | fn closureAfter() -> impl Fn(i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `paramBefore` [INFO] [stdout] --> src/feature/fet.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn paramBefore(x: T) {} [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `paramAfter` [INFO] [stdout] --> src/feature/fet.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn paramAfter(x: impl Trait) {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `diverging` [INFO] [stdout] --> src/function/returns.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn diverging() -> ! { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `A` [INFO] [stdout] --> src/mtypes/compound.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct A { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `B` [INFO] [stdout] --> src/mtypes/compound.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct B(i32, u16, bool); [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `D` [INFO] [stdout] --> src/mtypes/compound.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct D; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `C` [INFO] [stdout] --> src/mtypes/compound.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct C {} [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Person` [INFO] [stdout] --> src/mtypes/compound.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct Person { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mtypes/compound.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn new(name: &str) -> Person { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `greeting` [INFO] [stdout] --> src/mtypes/compound.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn greeting(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Direction` [INFO] [stdout] --> src/mtypes/compound.rs:81:6 [INFO] [stdout] | [INFO] [stdout] 81 | enum Direction { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Special` [INFO] [stdout] --> src/mtypes/compound.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | Special(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `East` [INFO] [stdout] --> src/pm/matching.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | East, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `West` [INFO] [stdout] --> src/pm/matching.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | West, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `North` [INFO] [stdout] --> src/pm/matching.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | North, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `danger_will_robinson` [INFO] [stdout] --> src/primeval_point/primeval.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | unsafe fn danger_will_robinson() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `read_from_stdin` [INFO] [stdout] --> src/stdio/stdio.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn read_from_stdin(buf: &mut String) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `write_to_stdout1` [INFO] [stdout] --> src/stdio/stdio.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | fn write_to_stdout1(buf: &[u8]) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `input_number` [INFO] [stdout] --> src/stdio/stdio.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn input_number() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `input_number_macro` [INFO] [stdout] --> src/stdio/stdio.rs:76:4 [INFO] [stdout] | [INFO] [stdout] 76 | fn input_number_macro() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `clone` that must be used [INFO] [stdout] --> src/feature/fet.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | s.clone(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: cloning is often expensive and is not expected to have side effects [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `clone` that must be used [INFO] [stdout] --> src/feature/fet.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | x.clone(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: cloning is often expensive and is not expected to have side effects [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `clone` that must be used [INFO] [stdout] --> src/feature/fet.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | y.clone(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: cloning is often expensive and is not expected to have side effects [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `clone` that must be used [INFO] [stdout] --> src/feature/fet.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | x.clone(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: cloning is often expensive and is not expected to have side effects [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `clone` that must be used [INFO] [stdout] --> src/feature/fet.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | y.clone(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: cloning is often expensive and is not expected to have side effects [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fooTraitBefore` should have a snake case name [INFO] [stdout] --> src/feature/fet.rs:105:4 [INFO] [stdout] | [INFO] [stdout] 105 | fn fooTraitBefore() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `foo_trait_before` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fooTraitAfter` should have a snake case name [INFO] [stdout] --> src/feature/fet.rs:111:4 [INFO] [stdout] | [INFO] [stdout] 111 | fn fooTraitAfter() -> impl Trait { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `foo_trait_after` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `closureBefore` should have a snake case name [INFO] [stdout] --> src/feature/fet.rs:117:4 [INFO] [stdout] | [INFO] [stdout] 117 | fn closureBefore() -> Box i32> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `closure_before` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `closureAfter` should have a snake case name [INFO] [stdout] --> src/feature/fet.rs:120:4 [INFO] [stdout] | [INFO] [stdout] 120 | fn closureAfter() -> impl Fn(i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `closure_after` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `paramBefore` should have a snake case name [INFO] [stdout] --> src/feature/fet.rs:125:4 [INFO] [stdout] | [INFO] [stdout] 125 | fn paramBefore(x: T) {} [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `param_before` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `paramAfter` should have a snake case name [INFO] [stdout] --> src/feature/fet.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn paramAfter(x: impl Trait) {} [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `param_after` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.40s [INFO] running `Command { std: "docker" "inspect" "c42bec6ef1d52b6287715dc0ba471ebdbe65b00459d994d4de6ffa12532220a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c42bec6ef1d52b6287715dc0ba471ebdbe65b00459d994d4de6ffa12532220a7", kill_on_drop: false }` [INFO] [stdout] c42bec6ef1d52b6287715dc0ba471ebdbe65b00459d994d4de6ffa12532220a7