[INFO] fetching crate mentat 0.0.4... [INFO] checking mentat-0.0.4 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate mentat 0.0.4 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate mentat 0.0.4 [INFO] finished tweaking crates.io crate mentat 0.0.4 [INFO] tweaked toml for crates.io crate mentat 0.0.4 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mentat 0.0.4 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 75 packages to latest compatible versions [INFO] [stderr] Adding probability v0.15.12 (available: v0.20.3) [INFO] [stderr] Adding rand v0.6.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded matplotrust v0.1.7 [INFO] [stderr] Downloaded special v0.8.1 [INFO] [stderr] Downloaded probability v0.15.12 [INFO] [stderr] Downloaded image v0.21.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cf3693fb7f8a5fe1b4048a0a722d3b5d4910c1b2a2ed76e6fe5ca66a4da0675 [INFO] running `Command { std: "docker" "start" "-a" "7cf3693fb7f8a5fe1b4048a0a722d3b5d4910c1b2a2ed76e6fe5ca66a4da0675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cf3693fb7f8a5fe1b4048a0a722d3b5d4910c1b2a2ed76e6fe5ca66a4da0675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cf3693fb7f8a5fe1b4048a0a722d3b5d4910c1b2a2ed76e6fe5ca66a4da0675", kill_on_drop: false }` [INFO] [stdout] 7cf3693fb7f8a5fe1b4048a0a722d3b5d4910c1b2a2ed76e6fe5ca66a4da0675 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4260a88b1f506f25f1d29f36081d296ea51ac993c1440a9693b39a79758b4f42 [INFO] running `Command { std: "docker" "start" "-a" "4260a88b1f506f25f1d29f36081d296ea51ac993c1440a9693b39a79758b4f42", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking random v0.12.2 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking special v0.8.1 [INFO] [stderr] Checking probability v0.15.12 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking mentat v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `assert_delta` [INFO] [stdout] --> src/lib.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! assert_delta { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mean` is never used [INFO] [stdout] --> src/lib.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn mean(numbers: &Vec) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `partial` is never used [INFO] [stdout] --> src/lib.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 57 | impl MonotonicCubicSpline { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 136 | fn partial(x: Vec, y: Vec) -> impl Fn(f64) -> f64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `squared_distance` is never used [INFO] [stdout] --> src/utils/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn squared_distance(x: &Vec, y: &Vec) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EWMA` is never constructed [INFO] [stdout] --> src/timeseries/mod.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct EWMA { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `update` are never used [INFO] [stdout] --> src/timeseries/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 10 | impl EWMA { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 11 | [INFO] [stdout] 12 | pub fn new(value: f64, age: i64) -> EWMA { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn update(&mut self, value : f64) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tempfile v3.21.0 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking png v0.14.1 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking image v0.21.3 [INFO] [stderr] Checking matplotrust v0.1.7 [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/timeseries/mod.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let s = figure.save("./docs/figures/ewma.png", None); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `squared_distance` is never used [INFO] [stdout] --> src/utils/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn squared_distance(x: &Vec, y: &Vec) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `age` is never read [INFO] [stdout] --> src/timeseries/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct EWMA { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 5 | current: f64, [INFO] [stdout] 6 | age: i64, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pdf` is never used [INFO] [stdout] --> src/lib.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | fn pdf() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.69s [INFO] running `Command { std: "docker" "inspect" "4260a88b1f506f25f1d29f36081d296ea51ac993c1440a9693b39a79758b4f42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4260a88b1f506f25f1d29f36081d296ea51ac993c1440a9693b39a79758b4f42", kill_on_drop: false }` [INFO] [stdout] 4260a88b1f506f25f1d29f36081d296ea51ac993c1440a9693b39a79758b4f42