[INFO] fetching crate number-diff 0.1.4... [INFO] checking number-diff-0.1.4 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate number-diff 0.1.4 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate number-diff 0.1.4 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate number-diff 0.1.4 [INFO] finished tweaking crates.io crate number-diff 0.1.4 [INFO] tweaked toml for crates.io crate number-diff 0.1.4 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 9 packages to latest compatible versions [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.13.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0be0aa3d3a47a8b5294646add3acfb2319931796e3cb7202feeae127fed2de59 [INFO] running `Command { std: "docker" "start" "-a" "0be0aa3d3a47a8b5294646add3acfb2319931796e3cb7202feeae127fed2de59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0be0aa3d3a47a8b5294646add3acfb2319931796e3cb7202feeae127fed2de59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0be0aa3d3a47a8b5294646add3acfb2319931796e3cb7202feeae127fed2de59", kill_on_drop: false }` [INFO] [stdout] 0be0aa3d3a47a8b5294646add3acfb2319931796e3cb7202feeae127fed2de59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75f2c3e4618594ea806c071649f78a5ca8b470e7adff0ee4a2935e5069eade6f [INFO] running `Command { std: "docker" "start" "-a" "75f2c3e4618594ea806c071649f78a5ca8b470e7adff0ee4a2935e5069eade6f", kill_on_drop: false }` [INFO] [stderr] Checking number-diff v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `useful_functions::*` [INFO] [stdout] --> src/functions/utils/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use useful_functions::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `useful_functions::*` [INFO] [stdout] --> src/functions/utils/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use useful_functions::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expansion` [INFO] [stdout] --> tests/expansion.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let expansion = sin.get_taylor_expansion(5, i as f64); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expansion` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> tests/functions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64::consts::PI` [INFO] [stdout] --> tests/functions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::f64::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> tests/functions.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | -EULER_MASCHERONI.with_significant_figures(SIG_FIGS) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/workdir/src/functions/utils/useful_functions.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | fn with_significant_figures(&mut self, digits: u64) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/utils/consts.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub const EULER_MASCHERONI: f64 = 0.5772156649015328606065120900824024310421_f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `correct_answer` [INFO] [stdout] --> tests/integration.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let correct_answer = i.factorial() as f64; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_correct_answer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: taking a mutable reference to a `const` item [INFO] [stdout] --> tests/functions.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | -EULER_MASCHERONI.with_significant_figures(SIG_FIGS) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: each usage of a `const` item creates a new temporary [INFO] [stdout] = note: the mutable reference will refer to this temporary, not the original `const` item [INFO] [stdout] note: mutable reference created due to call to this method [INFO] [stdout] --> /opt/rustwide/workdir/src/functions/utils/useful_functions.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 180 | fn with_significant_figures(&mut self, digits: u64) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `const` item defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/utils/consts.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub const EULER_MASCHERONI: f64 = 0.5772156649015328606065120900824024310421_f64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(const_item_mutation)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expansion` [INFO] [stdout] --> tests/expansion.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let expansion = sin.get_taylor_expansion(5, i as f64); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expansion` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `correct_answer` [INFO] [stdout] --> tests/integration.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | let correct_answer = i.factorial() as f64; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_correct_answer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "75f2c3e4618594ea806c071649f78a5ca8b470e7adff0ee4a2935e5069eade6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75f2c3e4618594ea806c071649f78a5ca8b470e7adff0ee4a2935e5069eade6f", kill_on_drop: false }` [INFO] [stdout] 75f2c3e4618594ea806c071649f78a5ca8b470e7adff0ee4a2935e5069eade6f