[INFO] fetching crate rust-keypaths 1.9.2... [INFO] testing rust-keypaths-1.9.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate rust-keypaths 1.9.2 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate rust-keypaths 1.9.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate rust-keypaths 1.9.2 [INFO] tweaked toml for crates.io crate rust-keypaths 1.9.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-keypaths 1.9.2 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rust-keypaths 1.9.2 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c8cc8217d7c7c0b247d72ddc15e9e72c57fe263da947c73435555c1dc7aa6f8 [INFO] running `Command { std: "docker" "start" "-a" "0c8cc8217d7c7c0b247d72ddc15e9e72c57fe263da947c73435555c1dc7aa6f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c8cc8217d7c7c0b247d72ddc15e9e72c57fe263da947c73435555c1dc7aa6f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c8cc8217d7c7c0b247d72ddc15e9e72c57fe263da947c73435555c1dc7aa6f8", kill_on_drop: false }` [INFO] [stdout] 0c8cc8217d7c7c0b247d72ddc15e9e72c57fe263da947c73435555c1dc7aa6f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3349cfbd1ad6fab7993411390e15ddb7f195cbbe932a3a9a4701eb6ad32107cd [INFO] running `Command { std: "docker" "start" "-a" "3349cfbd1ad6fab7993411390e15ddb7f195cbbe932a3a9a4701eb6ad32107cd", kill_on_drop: false }` [INFO] [stderr] Compiling rust-keypaths v1.9.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `MutexGuard` [INFO] [stdout] --> src/lib.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::{Arc, Mutex, MutexGuard, RwLock}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyPath` and `WritableKeyPath` [INFO] [stdout] --> src/lib.rs:6255:17 [INFO] [stdout] | [INFO] [stdout] 6255 | use super::{KeyPath, OptionalKeyPath, WritableKeyPath, WritableOptionalKeyPath}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut` and `Deref` [INFO] [stdout] --> src/lib.rs:6259:20 [INFO] [stdout] | [INFO] [stdout] 6259 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deref` [INFO] [stdout] --> src/lib.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DerefMut` [INFO] [stdout] --> src/lib.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arc` [INFO] [stdout] --> src/lib.rs:8509:27 [INFO] [stdout] | [INFO] [stdout] 8509 | getter: move |arc: &mut Arc| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `getter` [INFO] [stdout] --> src/lib.rs:8506:13 [INFO] [stdout] | [INFO] [stdout] 8506 | let getter = self.getter; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_getter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rc` [INFO] [stdout] --> src/lib.rs:8535:27 [INFO] [stdout] | [INFO] [stdout] 8535 | getter: move |rc: &mut Rc| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `getter` [INFO] [stdout] --> src/lib.rs:8532:13 [INFO] [stdout] | [INFO] [stdout] 8532 | let getter = self.getter; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_getter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_type_id` [INFO] [stdout] --> src/lib.rs:9301:13 [INFO] [stdout] | [INFO] [stdout] 9301 | let root_type_id = self.root_type_id; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_type_id` [INFO] [stdout] --> src/lib.rs:9323:13 [INFO] [stdout] | [INFO] [stdout] 9323 | let root_type_id = self.root_type_id; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_type_id` [INFO] [stdout] --> src/lib.rs:9345:13 [INFO] [stdout] | [INFO] [stdout] 9345 | let root_type_id = self.root_type_id; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_type_id` [INFO] [stdout] --> src/lib.rs:9367:13 [INFO] [stdout] | [INFO] [stdout] 9367 | let root_type_id = self.root_type_id; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_type_id` [INFO] [stdout] --> src/lib.rs:9390:13 [INFO] [stdout] | [INFO] [stdout] 9390 | let root_type_id = self.root_type_id; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lib.rs:9586:45 [INFO] [stdout] | [INFO] [stdout] 9586 | first_owned(root).and_then(|value| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_write` [INFO] [stdout] --> src/lib.rs:9576:13 [INFO] [stdout] | [INFO] [stdout] 9576 | let first_write = self.writable; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lib.rs:9769:22 [INFO] [stdout] | [INFO] [stdout] 9769 | pub fn test(x: R) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/lib.rs:10106:17 [INFO] [stdout] | [INFO] [stdout] 10106 | s: |r: &mut TestKP| None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/lib.rs:11369:5 [INFO] [stdout] | [INFO] [stdout] 11369 | / fn with_arc(&self, arc: &Arc, f: Callback) -> R [INFO] [stdout] 11370 | | where [INFO] [stdout] 11371 | | Callback: FnOnce(&Value) -> R, [INFO] [stdout] | |______________________________________^ cannot return without recursing [INFO] [stdout] 11372 | { [INFO] [stdout] 11373 | self.with_arc(arc, f) [INFO] [stdout] | --------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/lib.rs:11376:5 [INFO] [stdout] | [INFO] [stdout] 11376 | / fn with_box(&self, boxed: &Box, f: Callback) -> R [INFO] [stdout] 11377 | | where [INFO] [stdout] 11378 | | Callback: FnOnce(&Value) -> R, [INFO] [stdout] | |______________________________________^ cannot return without recursing [INFO] [stdout] 11379 | { [INFO] [stdout] 11380 | self.with_box(boxed, f) [INFO] [stdout] | ----------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/lib.rs:11395:5 [INFO] [stdout] | [INFO] [stdout] 11395 | / fn with_rc(&self, rc: &Rc, f: Callback) -> R [INFO] [stdout] 11396 | | where [INFO] [stdout] 11397 | | Callback: FnOnce(&Value) -> R, [INFO] [stdout] | |______________________________________^ cannot return without recursing [INFO] [stdout] 11398 | { [INFO] [stdout] 11399 | self.with_rc(rc, f) [INFO] [stdout] | ------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/lib.rs:11402:5 [INFO] [stdout] | [INFO] [stdout] 11402 | / fn with_result(&self, result: &Result, f: Callback) -> Option [INFO] [stdout] 11403 | | where [INFO] [stdout] 11404 | | Callback: FnOnce(&Value) -> R, [INFO] [stdout] | |______________________________________^ cannot return without recursing [INFO] [stdout] 11405 | { [INFO] [stdout] 11406 | self.with_result(result, f) [INFO] [stdout] | --------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/lib.rs:11434:5 [INFO] [stdout] | [INFO] [stdout] 11434 | / fn with_refcell(&self, refcell: &RefCell, f: Callback) -> Option [INFO] [stdout] 11435 | | where [INFO] [stdout] 11436 | | Callback: FnOnce(&Value) -> R, [INFO] [stdout] | |______________________________________^ cannot return without recursing [INFO] [stdout] 11437 | { [INFO] [stdout] 11438 | self.with_refcell(refcell, f) [INFO] [stdout] | ----------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boxed` [INFO] [stdout] --> src/lib.rs:11524:37 [INFO] [stdout] | [INFO] [stdout] 11524 | fn with_box(&self, boxed: &Box, f: Callback) -> R [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_boxed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/lib.rs:11524:56 [INFO] [stdout] | [INFO] [stdout] 11524 | fn with_box(&self, boxed: &Box, f: Callback) -> R [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `refcell` [INFO] [stdout] --> src/lib.rs:11596:41 [INFO] [stdout] | [INFO] [stdout] 11596 | fn with_refcell(&self, refcell: &RefCell, f: Callback) -> Option [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_refcell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/lib.rs:11596:66 [INFO] [stdout] | [INFO] [stdout] 11596 | fn with_refcell(&self, refcell: &RefCell, f: Callback) -> Option [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rwlock` [INFO] [stdout] --> src/lib.rs:11652:40 [INFO] [stdout] | [INFO] [stdout] 11652 | fn with_rwlock(&self, rwlock: &RwLock, f: Callback) -> Option [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rwlock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/lib.rs:11652:63 [INFO] [stdout] | [INFO] [stdout] 11652 | fn with_rwlock(&self, rwlock: &RwLock, f: Callback) -> Option [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arc_rwlock` [INFO] [stdout] --> src/lib.rs:11672:44 [INFO] [stdout] | [INFO] [stdout] 11672 | fn with_arc_rwlock(&self, arc_rwlock: &Arc>, f: Callback) -> Option [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arc_rwlock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/lib.rs:11672:76 [INFO] [stdout] | [INFO] [stdout] 11672 | fn with_arc_rwlock(&self, arc_rwlock: &Arc>, f: Callback) -> Option [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestKP` is never constructed [INFO] [stdout] --> src/lib.rs:9953:8 [INFO] [stdout] | [INFO] [stdout] 9953 | struct TestKP { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `identity` are never used [INFO] [stdout] --> src/lib.rs:9963:8 [INFO] [stdout] | [INFO] [stdout] 9962 | impl TestKP { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 9963 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 9978 | fn identity() -> Kp { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestKP2` is never constructed [INFO] [stdout] --> src/lib.rs:9987:8 [INFO] [stdout] | [INFO] [stdout] 9987 | struct TestKP2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `a`, and `b` are never used [INFO] [stdout] --> src/lib.rs:9993:8 [INFO] [stdout] | [INFO] [stdout] 9992 | impl TestKP2 { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 9993 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10000 | fn a() -> Kp { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 10008 | fn b() -> Kp>> { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestKP3` is never constructed [INFO] [stdout] --> src/lib.rs:10022:8 [INFO] [stdout] | [INFO] [stdout] 10022 | struct TestKP3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `a`, and `b_lock` are never used [INFO] [stdout] --> src/lib.rs:10028:8 [INFO] [stdout] | [INFO] [stdout] 10027 | impl TestKP3 { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 10028 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10035 | fn a() -> Kp { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 10043 | fn b_lock() -> LKp< [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `b` is never used [INFO] [stdout] --> src/lib.rs:10069:8 [INFO] [stdout] | [INFO] [stdout] 10068 | impl TestKP3 { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 10069 | fn b() -> KpType< [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `a`, `b`, `c`, `d`, `e`, and `f` are never used [INFO] [stdout] --> src/lib.rs:10087:8 [INFO] [stdout] | [INFO] [stdout] 10086 | impl TestKP { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 10087 | fn a() -> Kp { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 10095 | fn b() -> Kp { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 10103 | fn c() -> Kp { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 10111 | fn d() -> Kp> { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 10119 | fn e() -> Kp>> { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 10127 | fn f() -> Kp { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.02s [INFO] running `Command { std: "docker" "inspect" "3349cfbd1ad6fab7993411390e15ddb7f195cbbe932a3a9a4701eb6ad32107cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3349cfbd1ad6fab7993411390e15ddb7f195cbbe932a3a9a4701eb6ad32107cd", kill_on_drop: false }` [INFO] [stdout] 3349cfbd1ad6fab7993411390e15ddb7f195cbbe932a3a9a4701eb6ad32107cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4e83c899eae49befa832cae11684798bde70356fb62e77c3a40c0b1689dd359 [INFO] running `Command { std: "docker" "start" "-a" "e4e83c899eae49befa832cae11684798bde70356fb62e77c3a40c0b1689dd359", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling zmij v1.0.8 [INFO] [stderr] Compiling serde_json v1.0.148 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling clap_builder v4.5.54 [INFO] [stderr] Compiling keypaths-proc v1.9.2 [INFO] [stdout] warning: unused import: `MutexGuard` [INFO] [stdout] --> src/lib.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::{Arc, Mutex, MutexGuard, RwLock}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyPath` and `WritableKeyPath` [INFO] [stdout] --> src/lib.rs:6255:17 [INFO] [stdout] | [INFO] [stdout] 6255 | use super::{KeyPath, OptionalKeyPath, WritableKeyPath, WritableOptionalKeyPath}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut` and `Deref` [INFO] [stdout] --> src/lib.rs:6259:20 [INFO] [stdout] | [INFO] [stdout] 6259 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deref` [INFO] [stdout] --> src/lib.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DerefMut` [INFO] [stdout] --> src/lib.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arc` [INFO] [stdout] --> src/lib.rs:8509:27 [INFO] [stdout] | [INFO] [stdout] 8509 | getter: move |arc: &mut Arc| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `getter` [INFO] [stdout] --> src/lib.rs:8506:13 [INFO] [stdout] | [INFO] [stdout] 8506 | let getter = self.getter; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_getter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rc` [INFO] [stdout] --> src/lib.rs:8535:27 [INFO] [stdout] | [INFO] [stdout] 8535 | getter: move |rc: &mut Rc| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `getter` [INFO] [stdout] --> src/lib.rs:8532:13 [INFO] [stdout] | [INFO] [stdout] 8532 | let getter = self.getter; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_getter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_type_id` [INFO] [stdout] --> src/lib.rs:9301:13 [INFO] [stdout] | [INFO] [stdout] 9301 | let root_type_id = self.root_type_id; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_type_id` [INFO] [stdout] --> src/lib.rs:9323:13 [INFO] [stdout] | [INFO] [stdout] 9323 | let root_type_id = self.root_type_id; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_type_id` [INFO] [stdout] --> src/lib.rs:9345:13 [INFO] [stdout] | [INFO] [stdout] 9345 | let root_type_id = self.root_type_id; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_type_id` [INFO] [stdout] --> src/lib.rs:9367:13 [INFO] [stdout] | [INFO] [stdout] 9367 | let root_type_id = self.root_type_id; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_type_id` [INFO] [stdout] --> src/lib.rs:9390:13 [INFO] [stdout] | [INFO] [stdout] 9390 | let root_type_id = self.root_type_id; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lib.rs:9586:45 [INFO] [stdout] | [INFO] [stdout] 9586 | first_owned(root).and_then(|value| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_write` [INFO] [stdout] --> src/lib.rs:9576:13 [INFO] [stdout] | [INFO] [stdout] 9576 | let first_write = self.writable; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lib.rs:9769:22 [INFO] [stdout] | [INFO] [stdout] 9769 | pub fn test(x: R) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/lib.rs:10106:17 [INFO] [stdout] | [INFO] [stdout] 10106 | s: |r: &mut TestKP| None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/lib.rs:11369:5 [INFO] [stdout] | [INFO] [stdout] 11369 | / fn with_arc(&self, arc: &Arc, f: Callback) -> R [INFO] [stdout] 11370 | | where [INFO] [stdout] 11371 | | Callback: FnOnce(&Value) -> R, [INFO] [stdout] | |______________________________________^ cannot return without recursing [INFO] [stdout] 11372 | { [INFO] [stdout] 11373 | self.with_arc(arc, f) [INFO] [stdout] | --------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/lib.rs:11376:5 [INFO] [stdout] | [INFO] [stdout] 11376 | / fn with_box(&self, boxed: &Box, f: Callback) -> R [INFO] [stdout] 11377 | | where [INFO] [stdout] 11378 | | Callback: FnOnce(&Value) -> R, [INFO] [stdout] | |______________________________________^ cannot return without recursing [INFO] [stdout] 11379 | { [INFO] [stdout] 11380 | self.with_box(boxed, f) [INFO] [stdout] | ----------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/lib.rs:11395:5 [INFO] [stdout] | [INFO] [stdout] 11395 | / fn with_rc(&self, rc: &Rc, f: Callback) -> R [INFO] [stdout] 11396 | | where [INFO] [stdout] 11397 | | Callback: FnOnce(&Value) -> R, [INFO] [stdout] | |______________________________________^ cannot return without recursing [INFO] [stdout] 11398 | { [INFO] [stdout] 11399 | self.with_rc(rc, f) [INFO] [stdout] | ------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/lib.rs:11402:5 [INFO] [stdout] | [INFO] [stdout] 11402 | / fn with_result(&self, result: &Result, f: Callback) -> Option [INFO] [stdout] 11403 | | where [INFO] [stdout] 11404 | | Callback: FnOnce(&Value) -> R, [INFO] [stdout] | |______________________________________^ cannot return without recursing [INFO] [stdout] 11405 | { [INFO] [stdout] 11406 | self.with_result(result, f) [INFO] [stdout] | --------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/lib.rs:11434:5 [INFO] [stdout] | [INFO] [stdout] 11434 | / fn with_refcell(&self, refcell: &RefCell, f: Callback) -> Option [INFO] [stdout] 11435 | | where [INFO] [stdout] 11436 | | Callback: FnOnce(&Value) -> R, [INFO] [stdout] | |______________________________________^ cannot return without recursing [INFO] [stdout] 11437 | { [INFO] [stdout] 11438 | self.with_refcell(refcell, f) [INFO] [stdout] | ----------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boxed` [INFO] [stdout] --> src/lib.rs:11524:37 [INFO] [stdout] | [INFO] [stdout] 11524 | fn with_box(&self, boxed: &Box, f: Callback) -> R [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_boxed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/lib.rs:11524:56 [INFO] [stdout] | [INFO] [stdout] 11524 | fn with_box(&self, boxed: &Box, f: Callback) -> R [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `refcell` [INFO] [stdout] --> src/lib.rs:11596:41 [INFO] [stdout] | [INFO] [stdout] 11596 | fn with_refcell(&self, refcell: &RefCell, f: Callback) -> Option [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_refcell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/lib.rs:11596:66 [INFO] [stdout] | [INFO] [stdout] 11596 | fn with_refcell(&self, refcell: &RefCell, f: Callback) -> Option [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rwlock` [INFO] [stdout] --> src/lib.rs:11652:40 [INFO] [stdout] | [INFO] [stdout] 11652 | fn with_rwlock(&self, rwlock: &RwLock, f: Callback) -> Option [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rwlock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/lib.rs:11652:63 [INFO] [stdout] | [INFO] [stdout] 11652 | fn with_rwlock(&self, rwlock: &RwLock, f: Callback) -> Option [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arc_rwlock` [INFO] [stdout] --> src/lib.rs:11672:44 [INFO] [stdout] | [INFO] [stdout] 11672 | fn with_arc_rwlock(&self, arc_rwlock: &Arc>, f: Callback) -> Option [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arc_rwlock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/lib.rs:11672:76 [INFO] [stdout] | [INFO] [stdout] 11672 | fn with_arc_rwlock(&self, arc_rwlock: &Arc>, f: Callback) -> Option [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestKP` is never constructed [INFO] [stdout] --> src/lib.rs:9953:8 [INFO] [stdout] | [INFO] [stdout] 9953 | struct TestKP { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stdout] warning: associated functions `new` and `identity` are never used [INFO] [stdout] --> src/lib.rs:9963:8 [INFO] [stdout] | [INFO] [stdout] 9962 | impl TestKP { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 9963 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 9978 | fn identity() -> Kp { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestKP2` is never constructed [INFO] [stdout] --> src/lib.rs:9987:8 [INFO] [stdout] | [INFO] [stdout] 9987 | struct TestKP2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `a`, and `b` are never used [INFO] [stdout] --> src/lib.rs:9993:8 [INFO] [stdout] | [INFO] [stdout] 9992 | impl TestKP2 { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 9993 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10000 | fn a() -> Kp { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 10008 | fn b() -> Kp>> { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestKP3` is never constructed [INFO] [stdout] --> src/lib.rs:10022:8 [INFO] [stdout] | [INFO] [stdout] 10022 | struct TestKP3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `a`, and `b_lock` are never used [INFO] [stdout] --> src/lib.rs:10028:8 [INFO] [stdout] | [INFO] [stdout] 10027 | impl TestKP3 { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] 10028 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 10035 | fn a() -> Kp { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 10043 | fn b_lock() -> LKp< [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `b` is never used [INFO] [stdout] --> src/lib.rs:10069:8 [INFO] [stdout] | [INFO] [stdout] 10068 | impl TestKP3 { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 10069 | fn b() -> KpType< [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `a`, `b`, `c`, `d`, `e`, and `f` are never used [INFO] [stdout] --> src/lib.rs:10087:8 [INFO] [stdout] | [INFO] [stdout] 10086 | impl TestKP { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 10087 | fn a() -> Kp { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 10095 | fn b() -> Kp { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 10103 | fn c() -> Kp { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 10111 | fn d() -> Kp> { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 10119 | fn e() -> Kp>> { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 10127 | fn f() -> Kp { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling clap v4.5.54 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling rust-keypaths v1.9.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PartialKeyPath` [INFO] [stdout] --> examples/partial_and_any_keypaths.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | AnyKeyPath, KeyPath, OptionalKeyPath, PartialKeyPath, PartialOptionalKeyPath, WritableKeyPath, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyPath` [INFO] [stdout] --> examples/containers.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use rust_keypaths::{KeyPath, OptionalKeyPath, containers}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyPath` [INFO] [stdout] --> examples/deeply_nested.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use rust_keypaths::{EnumKeyPath, KeyPath, OptionalKeyPath}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `manager` are never read [INFO] [stdout] --> examples/partial_and_any_keypaths.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | struct Employee { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 22 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 26 | manager: Option>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Employee` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> examples/partial_and_any_keypaths.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 30 | struct Department { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 31 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Department` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `country` and `coordinates` are never read [INFO] [stdout] --> examples/partial_and_any_keypaths.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | struct Location { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 38 | city: String, [INFO] [stdout] 39 | country: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 40 | coordinates: (f64, f64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Location` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `expenses` is never read [INFO] [stdout] --> examples/partial_and_any_keypaths.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 44 | struct Financials { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 45 | revenue: f64, [INFO] [stdout] 46 | expenses: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Financials` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MutexGuard` [INFO] [stdout] --> src/lib.rs:10:29 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::{Arc, Mutex, MutexGuard, RwLock}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyPath` and `WritableKeyPath` [INFO] [stdout] --> src/lib.rs:6255:17 [INFO] [stdout] | [INFO] [stdout] 6255 | use super::{KeyPath, OptionalKeyPath, WritableKeyPath, WritableOptionalKeyPath}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut` and `Deref` [INFO] [stdout] --> src/lib.rs:6259:20 [INFO] [stdout] | [INFO] [stdout] 6259 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `A` is never constructed [INFO] [stdout] --> examples/deeply_nested.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | enum SomeEnum { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 22 | A(String), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `SomeEnum` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/locks_and_tagged.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | let mut root2 = Root { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `count` is never read [INFO] [stdout] --> examples/locks_and_tagged.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct Level1 { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 27 | level2: Option, [INFO] [stdout] 28 | count: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Level1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> examples/locks_and_tagged.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 32 | struct Root { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 33 | level1: Option, [INFO] [stdout] 34 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Root` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `name_r` found for struct `AllContainers` in the current scope [INFO] [stdout] --> examples/kp_all_containers.rs:31:45 [INFO] [stdout] | [INFO] [stdout] 10 | struct AllContainers { [INFO] [stdout] | -------------------- function or associated item `name_r` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 31 | println!("name_r(): {}", AllContainers::name_r().get(&value)); [INFO] [stdout] | ^^^^^^ function or associated item not found in `AllContainers` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `name` with a similar name [INFO] [stdout] | [INFO] [stdout] 31 - println!("name_r(): {}", AllContainers::name_r().get(&value)); [INFO] [stdout] 31 + println!("name_r(): {}", AllContainers::name().get(&value)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `age_fr` found for struct `AllContainers` in the current scope [INFO] [stdout] --> examples/kp_all_containers.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 10 | struct AllContainers { [INFO] [stdout] | -------------------- function or associated item `age_fr` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 32 | let _ = AllContainers::age_fr().get(&value).map(|a| println!("age_fr(): {}", a)); [INFO] [stdout] | ^^^^^^ function or associated item not found in `AllContainers` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `age` with a similar name [INFO] [stdout] | [INFO] [stdout] 32 - let _ = AllContainers::age_fr().get(&value).map(|a| println!("age_fr(): {}", a)); [INFO] [stdout] 32 + let _ = AllContainers::age().get(&value).map(|a| println!("age_fr(): {}", a)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `boxed_r` found for struct `AllContainers` in the current scope [INFO] [stdout] --> examples/kp_all_containers.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 10 | struct AllContainers { [INFO] [stdout] | -------------------- function or associated item `boxed_r` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 33 | println!("boxed_r(): {}", AllContainers::boxed_r().get(&value)); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `AllContainers` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `boxed` with a similar name [INFO] [stdout] | [INFO] [stdout] 33 - println!("boxed_r(): {}", AllContainers::boxed_r().get(&value)); [INFO] [stdout] 33 + println!("boxed_r(): {}", AllContainers::boxed().get(&value)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `arc_r` found for struct `AllContainers` in the current scope [INFO] [stdout] --> examples/kp_all_containers.rs:34:44 [INFO] [stdout] | [INFO] [stdout] 10 | struct AllContainers { [INFO] [stdout] | -------------------- function or associated item `arc_r` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 34 | println!("arc_r(): {}", AllContainers::arc_r().get(&value)); [INFO] [stdout] | ^^^^^ function or associated item not found in `AllContainers` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `arc` with a similar name [INFO] [stdout] | [INFO] [stdout] 34 - println!("arc_r(): {}", AllContainers::arc_r().get(&value)); [INFO] [stdout] 34 + println!("arc_r(): {}", AllContainers::arc().get(&value)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `vec_r` found for struct `AllContainers` in the current scope [INFO] [stdout] --> examples/kp_all_containers.rs:35:46 [INFO] [stdout] | [INFO] [stdout] 10 | struct AllContainers { [INFO] [stdout] | -------------------- function or associated item `vec_r` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 35 | println!("vec_r(): {:?}", AllContainers::vec_r().get(&value)); [INFO] [stdout] | ^^^^^ function or associated item not found in `AllContainers` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `vec` with a similar name [INFO] [stdout] | [INFO] [stdout] 35 - println!("vec_r(): {:?}", AllContainers::vec_r().get(&value)); [INFO] [stdout] 35 + println!("vec_r(): {:?}", AllContainers::vec().get(&value)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `vec_fr` found for struct `AllContainers` in the current scope [INFO] [stdout] --> examples/kp_all_containers.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 10 | struct AllContainers { [INFO] [stdout] | -------------------- function or associated item `vec_fr` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 36 | let _ = AllContainers::vec_fr().get(&value).map(|s| println!("vec_fr(): {}", s)); [INFO] [stdout] | ^^^^^^ function or associated item not found in `AllContainers` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `vec` with a similar name [INFO] [stdout] | [INFO] [stdout] 36 - let _ = AllContainers::vec_fr().get(&value).map(|s| println!("vec_fr(): {}", s)); [INFO] [stdout] 36 + let _ = AllContainers::vec().get(&value).map(|s| println!("vec_fr(): {}", s)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `vec_fr_at` found for struct `AllContainers` in the current scope [INFO] [stdout] --> examples/kp_all_containers.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 10 | struct AllContainers { [INFO] [stdout] | -------------------- function or associated item `vec_fr_at` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 37 | let _ = AllContainers::vec_fr_at(1).get(&value).map(|s| println!("vec_fr_at(1): {}", s)); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `AllContainers` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `vec_at` with a similar name [INFO] [stdout] | [INFO] [stdout] 37 - let _ = AllContainers::vec_fr_at(1).get(&value).map(|s| println!("vec_fr_at(1): {}", s)); [INFO] [stdout] 37 + let _ = AllContainers::vec_at(1).get(&value).map(|s| println!("vec_fr_at(1): {}", s)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `opt_vec_fr` found for struct `AllContainers` in the current scope [INFO] [stdout] --> examples/kp_all_containers.rs:38:28 [INFO] [stdout] | [INFO] [stdout] 10 | struct AllContainers { [INFO] [stdout] | -------------------- function or associated item `opt_vec_fr` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 38 | let _ = AllContainers::opt_vec_fr().get(&value).map(|v| println!("opt_vec_fr(): {}", v)); [INFO] [stdout] | ^^^^^^^^^^ function or associated item not found in `AllContainers` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `opt_vec` with a similar name [INFO] [stdout] | [INFO] [stdout] 38 - let _ = AllContainers::opt_vec_fr().get(&value).map(|v| println!("opt_vec_fr(): {}", v)); [INFO] [stdout] 38 + let _ = AllContainers::opt_vec().get(&value).map(|v| println!("opt_vec_fr(): {}", v)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `opt_vec_fr_at` found for struct `AllContainers` in the current scope [INFO] [stdout] --> examples/kp_all_containers.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 10 | struct AllContainers { [INFO] [stdout] | -------------------- function or associated item `opt_vec_fr_at` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 39 | let _ = AllContainers::opt_vec_fr_at(1).get(&value).map(|s| println!("opt_vec_fr_at(1): {}", s)); [INFO] [stdout] | ^^^^^^^^^^^^^ function or associated item not found in `AllContainers` [INFO] [stdout] | [INFO] [stdout] help: there is an associated function `opt_vec_at` with a similar name [INFO] [stdout] | [INFO] [stdout] 39 - let _ = AllContainers::opt_vec_fr_at(1).get(&value).map(|s| println!("opt_vec_fr_at(1): {}", s)); [INFO] [stdout] 39 + let _ = AllContainers::opt_vec_at(1).get(&value).map(|s| println!("opt_vec_fr_at(1): {}", s)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-keypaths` (example "kp_all_containers") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `Deref` [INFO] [stdout] --> src/lib.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DerefMut` [INFO] [stdout] --> src/lib.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arc` [INFO] [stdout] --> src/lib.rs:8509:27 [INFO] [stdout] | [INFO] [stdout] 8509 | getter: move |arc: &mut Arc| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_arc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `getter` [INFO] [stdout] --> src/lib.rs:8506:13 [INFO] [stdout] | [INFO] [stdout] 8506 | let getter = self.getter; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_getter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rc` [INFO] [stdout] --> src/lib.rs:8535:27 [INFO] [stdout] | [INFO] [stdout] 8535 | getter: move |rc: &mut Rc| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `getter` [INFO] [stdout] --> src/lib.rs:8532:13 [INFO] [stdout] | [INFO] [stdout] 8532 | let getter = self.getter; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_getter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_type_id` [INFO] [stdout] --> src/lib.rs:9301:13 [INFO] [stdout] | [INFO] [stdout] 9301 | let root_type_id = self.root_type_id; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_type_id` [INFO] [stdout] --> src/lib.rs:9323:13 [INFO] [stdout] | [INFO] [stdout] 9323 | let root_type_id = self.root_type_id; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_type_id` [INFO] [stdout] --> src/lib.rs:9345:13 [INFO] [stdout] | [INFO] [stdout] 9345 | let root_type_id = self.root_type_id; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_type_id` [INFO] [stdout] --> src/lib.rs:9367:13 [INFO] [stdout] | [INFO] [stdout] 9367 | let root_type_id = self.root_type_id; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root_type_id` [INFO] [stdout] --> src/lib.rs:9390:13 [INFO] [stdout] | [INFO] [stdout] 9390 | let root_type_id = self.root_type_id; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_type_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/lib.rs:9586:45 [INFO] [stdout] | [INFO] [stdout] 9586 | first_owned(root).and_then(|value| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_write` [INFO] [stdout] --> src/lib.rs:9576:13 [INFO] [stdout] | [INFO] [stdout] 9576 | let first_write = self.writable; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/lib.rs:9769:22 [INFO] [stdout] | [INFO] [stdout] 9769 | pub fn test(x: R) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/lib.rs:10106:17 [INFO] [stdout] | [INFO] [stdout] 10106 | s: |r: &mut TestKP| None, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:10216:13 [INFO] [stdout] | [INFO] [stdout] 10216 | let mut root = TestKP::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `root` [INFO] [stdout] --> src/lib.rs:10216:13 [INFO] [stdout] | [INFO] [stdout] 10216 | let mut root = TestKP::new(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `first_lkp` [INFO] [stdout] --> src/lib.rs:10219:13 [INFO] [stdout] | [INFO] [stdout] 10219 | let first_lkp: LKp>, TestKP2, TestKP2, _, _> = LKp::new( [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_lkp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `final_lkp` [INFO] [stdout] --> src/lib.rs:10238:13 [INFO] [stdout] | [INFO] [stdout] 10238 | let final_lkp = LKp::new(TestKP::e(), { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_final_lkp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:10285:13 [INFO] [stdout] | [INFO] [stdout] 10285 | let mut root = TestKP::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `friends_kp` [INFO] [stdout] --> src/lib.rs:10502:13 [INFO] [stdout] | [INFO] [stdout] 10502 | let friends_kp = KeyPath::new(|u: &User| &u.friends); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_friends_kp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/lib.rs:11369:5 [INFO] [stdout] | [INFO] [stdout] 11369 | / fn with_arc(&self, arc: &Arc, f: Callback) -> R [INFO] [stdout] 11370 | | where [INFO] [stdout] 11371 | | Callback: FnOnce(&Value) -> R, [INFO] [stdout] | |______________________________________^ cannot return without recursing [INFO] [stdout] 11372 | { [INFO] [stdout] 11373 | self.with_arc(arc, f) [INFO] [stdout] | --------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] = note: `#[warn(unconditional_recursion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/lib.rs:11376:5 [INFO] [stdout] | [INFO] [stdout] 11376 | / fn with_box(&self, boxed: &Box, f: Callback) -> R [INFO] [stdout] 11377 | | where [INFO] [stdout] 11378 | | Callback: FnOnce(&Value) -> R, [INFO] [stdout] | |______________________________________^ cannot return without recursing [INFO] [stdout] 11379 | { [INFO] [stdout] 11380 | self.with_box(boxed, f) [INFO] [stdout] | ----------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/lib.rs:11395:5 [INFO] [stdout] | [INFO] [stdout] 11395 | / fn with_rc(&self, rc: &Rc, f: Callback) -> R [INFO] [stdout] 11396 | | where [INFO] [stdout] 11397 | | Callback: FnOnce(&Value) -> R, [INFO] [stdout] | |______________________________________^ cannot return without recursing [INFO] [stdout] 11398 | { [INFO] [stdout] 11399 | self.with_rc(rc, f) [INFO] [stdout] | ------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/lib.rs:11402:5 [INFO] [stdout] | [INFO] [stdout] 11402 | / fn with_result(&self, result: &Result, f: Callback) -> Option [INFO] [stdout] 11403 | | where [INFO] [stdout] 11404 | | Callback: FnOnce(&Value) -> R, [INFO] [stdout] | |______________________________________^ cannot return without recursing [INFO] [stdout] 11405 | { [INFO] [stdout] 11406 | self.with_result(result, f) [INFO] [stdout] | --------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function cannot return without recursing [INFO] [stdout] --> src/lib.rs:11434:5 [INFO] [stdout] | [INFO] [stdout] 11434 | / fn with_refcell(&self, refcell: &RefCell, f: Callback) -> Option [INFO] [stdout] 11435 | | where [INFO] [stdout] 11436 | | Callback: FnOnce(&Value) -> R, [INFO] [stdout] | |______________________________________^ cannot return without recursing [INFO] [stdout] 11437 | { [INFO] [stdout] 11438 | self.with_refcell(refcell, f) [INFO] [stdout] | ----------------------------- recursive call site [INFO] [stdout] | [INFO] [stdout] = help: a `loop` may express intention better if this is on purpose [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `boxed` [INFO] [stdout] --> src/lib.rs:11524:37 [INFO] [stdout] | [INFO] [stdout] 11524 | fn with_box(&self, boxed: &Box, f: Callback) -> R [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_boxed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/lib.rs:11524:56 [INFO] [stdout] | [INFO] [stdout] 11524 | fn with_box(&self, boxed: &Box, f: Callback) -> R [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `refcell` [INFO] [stdout] --> src/lib.rs:11596:41 [INFO] [stdout] | [INFO] [stdout] 11596 | fn with_refcell(&self, refcell: &RefCell, f: Callback) -> Option [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_refcell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/lib.rs:11596:66 [INFO] [stdout] | [INFO] [stdout] 11596 | fn with_refcell(&self, refcell: &RefCell, f: Callback) -> Option [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rwlock` [INFO] [stdout] --> src/lib.rs:11652:40 [INFO] [stdout] | [INFO] [stdout] 11652 | fn with_rwlock(&self, rwlock: &RwLock, f: Callback) -> Option [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_rwlock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/lib.rs:11652:63 [INFO] [stdout] | [INFO] [stdout] 11652 | fn with_rwlock(&self, rwlock: &RwLock, f: Callback) -> Option [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arc_rwlock` [INFO] [stdout] --> src/lib.rs:11672:44 [INFO] [stdout] | [INFO] [stdout] 11672 | fn with_arc_rwlock(&self, arc_rwlock: &Arc>, f: Callback) -> Option [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arc_rwlock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> src/lib.rs:11672:76 [INFO] [stdout] | [INFO] [stdout] 11672 | fn with_arc_rwlock(&self, arc_rwlock: &Arc>, f: Callback) -> Option [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a`, `b`, `c`, and `d` are never read [INFO] [stdout] --> src/lib.rs:9954:5 [INFO] [stdout] | [INFO] [stdout] 9953 | struct TestKP { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 9954 | a: String, [INFO] [stdout] | ^ [INFO] [stdout] 9955 | b: String, [INFO] [stdout] | ^ [INFO] [stdout] 9956 | c: Arc, [INFO] [stdout] | ^ [INFO] [stdout] 9957 | d: Mutex, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `identity` is never used [INFO] [stdout] --> src/lib.rs:9978:8 [INFO] [stdout] | [INFO] [stdout] 9962 | impl TestKP { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 9978 | fn identity() -> Kp { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `b` is never read [INFO] [stdout] --> src/lib.rs:10024:5 [INFO] [stdout] | [INFO] [stdout] 10022 | struct TestKP3 { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 10023 | a: String, [INFO] [stdout] 10024 | b: Arc>, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `TestKP3` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `a` and `b_lock` are never used [INFO] [stdout] --> src/lib.rs:10035:8 [INFO] [stdout] | [INFO] [stdout] 10027 | impl TestKP3 { [INFO] [stdout] | ------------ associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 10035 | fn a() -> Kp { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 10043 | fn b_lock() -> LKp< [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `b` is never used [INFO] [stdout] --> src/lib.rs:10069:8 [INFO] [stdout] | [INFO] [stdout] 10068 | impl TestKP3 { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 10069 | fn b() -> KpType< [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `a`, `b`, `c`, and `d` are never used [INFO] [stdout] --> src/lib.rs:10087:8 [INFO] [stdout] | [INFO] [stdout] 10086 | impl TestKP { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 10087 | fn a() -> Kp { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 10095 | fn b() -> Kp { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 10103 | fn c() -> Kp { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 10111 | fn d() -> Kp> { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/lib.rs:10433:9 [INFO] [stdout] | [INFO] [stdout] 10431 | struct NoCloneType { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 10432 | id: usize, [INFO] [stdout] 10433 | data: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NoCloneType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_dealloc_count` is never used [INFO] [stdout] --> src/lib.rs:10469:8 [INFO] [stdout] | [INFO] [stdout] 10469 | fn get_dealloc_count() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e4e83c899eae49befa832cae11684798bde70356fb62e77c3a40c0b1689dd359", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4e83c899eae49befa832cae11684798bde70356fb62e77c3a40c0b1689dd359", kill_on_drop: false }` [INFO] [stdout] e4e83c899eae49befa832cae11684798bde70356fb62e77c3a40c0b1689dd359