[INFO] cloning repository https://github.com/Jett59/derivative-finder
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jett59/derivative-finder" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJett59%2Fderivative-finder", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJett59%2Fderivative-finder'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dbac3cd8184f57a436f96aa1be231f660e8a49c4
[INFO] checking Jett59/derivative-finder against ffca4d47d3766d77c33e82e2f6ae8e03009cc138 for pr-165238
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJett59%2Fderivative-finder" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Jett59/derivative-finder
[INFO] finished tweaking git repo https://github.com/Jett59/derivative-finder
[INFO] tweaked toml for git repo https://github.com/Jett59/derivative-finder written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Jett59/derivative-finder on toolchain ffca4d47d3766d77c33e82e2f6ae8e03009cc138
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ffca4d47d3766d77c33e82e2f6ae8e03009cc138" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Jett59/derivative-finder 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" "+ffca4d47d3766d77c33e82e2f6ae8e03009cc138" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 82737b804eaa7f82206f4ab5f4124cd3d70b95275f575bd33137fed0eb6627f4
[INFO] running `Command { std: "docker" "start" "82737b804eaa7f82206f4ab5f4124cd3d70b95275f575bd33137fed0eb6627f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "82737b804eaa7f82206f4ab5f4124cd3d70b95275f575bd33137fed0eb6627f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "82737b804eaa7f82206f4ab5f4124cd3d70b95275f575bd33137fed0eb6627f4" "/opt/rustwide/cargo-home/bin/cargo" "+ffca4d47d3766d77c33e82e2f6ae8e03009cc138" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "82737b804eaa7f82206f4ab5f4124cd3d70b95275f575bd33137fed0eb6627f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "82737b804eaa7f82206f4ab5f4124cd3d70b95275f575bd33137fed0eb6627f4" "/opt/rustwide/cargo-home/bin/cargo" "+ffca4d47d3766d77c33e82e2f6ae8e03009cc138" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking derivative-finder v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `Variable` is never constructed
[INFO] [stdout]   --> src/value.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct Variable {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]   --> src/value.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Variable {
[INFO] [stdout]    | ------------- associated items in this implementation
[INFO] [stdout] 16 |     pub fn with_id(id: usize) -> Self {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |     pub fn get(&self) -> Option<f64> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub fn assign(&self, value: f64) {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn unset(&self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn id(&self) -> usize {
[INFO] [stdout]    |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn as_value(self) -> Value {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Operation` is never used
[INFO] [stdout]   --> src/value.rs:67:6
[INFO] [stdout]    |
[INFO] [stdout] 67 | enum Operation {
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Value` is never constructed
[INFO] [stdout]   --> src/value.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub struct Value {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `constant`, `variable`, `evaluate_retaining_cache`, `evaluate`, `clear_cache`, and `reciprocal` are never used
[INFO] [stdout]    --> src/value.rs:84:12
[INFO] [stdout]     |
[INFO] [stdout]  83 | impl Value {
[INFO] [stdout]     | ---------- associated items in this implementation
[INFO] [stdout]  84 |     pub fn constant(value: f64) -> Self {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  91 |     pub fn variable(variable: Variable) -> Self {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  98 |     pub fn evaluate_retaining_cache(&mut self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 124 |     pub fn evaluate(&mut self) -> f64 {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 130 |     pub fn clear_cache(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 156 |     fn reciprocal(mut self) -> Self {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Constant` is never used
[INFO] [stdout]    --> src/value.rs:324:7
[INFO] [stdout]     |
[INFO] [stdout] 324 | trait Constant: Into<f64> {
[INFO] [stdout]     |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/value.rs:25:32
[INFO] [stdout]    |
[INFO] [stdout] 25 |         Self::with_id(unsafe { NEXT_ID.fetch_add(1, std::sync::atomic::Ordering::Relaxed) })
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]    |
[INFO] [stdout] 24 -         static mut NEXT_ID: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout] 24 +         static NEXT_ID: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `unset` and `id` are never used
[INFO] [stdout]   --> src/value.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl Variable {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn unset(&self) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub fn id(&self) -> usize {
[INFO] [stdout]    |            ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/value.rs:25:32
[INFO] [stdout]    |
[INFO] [stdout] 25 |         Self::with_id(unsafe { NEXT_ID.fetch_add(1, std::sync::atomic::Ordering::Relaxed) })
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable when borrowed with a shared reference
[INFO] [stdout]    |
[INFO] [stdout] 24 -         static mut NEXT_ID: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout] 24 +         static NEXT_ID: AtomicUsize = AtomicUsize::new(0);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s
[INFO] running `Command { std: "docker" "inspect" "82737b804eaa7f82206f4ab5f4124cd3d70b95275f575bd33137fed0eb6627f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "82737b804eaa7f82206f4ab5f4124cd3d70b95275f575bd33137fed0eb6627f4", kill_on_drop: false }`
[INFO] [stdout] 82737b804eaa7f82206f4ab5f4124cd3d70b95275f575bd33137fed0eb6627f4
