[INFO] fetching crate rusty_math 0.7.0... [INFO] checking rusty_math-0.7.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate rusty_math 0.7.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate rusty_math 0.7.0 [INFO] finished tweaking crates.io crate rusty_math 0.7.0 [INFO] tweaked toml for crates.io crate rusty_math 0.7.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rusty_math 0.7.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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 16 packages to latest compatible versions [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e12115fbd10abc1a937285fed10a3a6b03a84d417fb95ae504fc2a270dc96fec [INFO] running `Command { std: "docker" "start" "-a" "e12115fbd10abc1a937285fed10a3a6b03a84d417fb95ae504fc2a270dc96fec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e12115fbd10abc1a937285fed10a3a6b03a84d417fb95ae504fc2a270dc96fec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e12115fbd10abc1a937285fed10a3a6b03a84d417fb95ae504fc2a270dc96fec", kill_on_drop: false }` [INFO] [stdout] e12115fbd10abc1a937285fed10a3a6b03a84d417fb95ae504fc2a270dc96fec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fe81fec734b1efe31e1206d227cb802cce7fb3be97b8ba504cc6e845ad9bfa9 [INFO] running `Command { std: "docker" "start" "-a" "8fe81fec734b1efe31e1206d227cb802cce7fb3be97b8ba504cc6e845ad9bfa9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rusty_math v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `y_pred` [INFO] [stdout] --> src/linear.rs:995:13 [INFO] [stdout] | [INFO] [stdout] 995 | let y_pred = model.predict(&x_test); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_pred` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> src/linear.rs:996:13 [INFO] [stdout] | [INFO] [stdout] 996 | let score = model.score(&x_test, &vec![6.0, 7.0]); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coefficients` [INFO] [stdout] --> src/linear.rs:997:13 [INFO] [stdout] | [INFO] [stdout] 997 | let coefficients = model.get_weights(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coefficients` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intercept` [INFO] [stdout] --> src/linear.rs:998:13 [INFO] [stdout] | [INFO] [stdout] 998 | let intercept = model.get_intercept(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intercept` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_pred` [INFO] [stdout] --> src/linear.rs:1008:13 [INFO] [stdout] | [INFO] [stdout] 1008 | let y_pred = model.predict(&x_test); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_pred` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> src/linear.rs:1009:13 [INFO] [stdout] | [INFO] [stdout] 1009 | let score = model.score(&x_test, &vec![16.0, 25.0]); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coefficients` [INFO] [stdout] --> src/linear.rs:1010:13 [INFO] [stdout] | [INFO] [stdout] 1010 | let coefficients = model.get_weights(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coefficients` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intercept` [INFO] [stdout] --> src/linear.rs:1011:13 [INFO] [stdout] | [INFO] [stdout] 1011 | let intercept = model.get_intercept(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intercept` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_pred` [INFO] [stdout] --> src/linear.rs:1021:13 [INFO] [stdout] | [INFO] [stdout] 1021 | let y_pred = model.predict(&x_test); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_pred` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> src/linear.rs:1022:13 [INFO] [stdout] | [INFO] [stdout] 1022 | let score = model.score(&x_test, &vec![6.0, 7.0]); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coefficients` [INFO] [stdout] --> src/linear.rs:1023:13 [INFO] [stdout] | [INFO] [stdout] 1023 | let coefficients = model.get_weights(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coefficients` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intercept` [INFO] [stdout] --> src/linear.rs:1024:13 [INFO] [stdout] | [INFO] [stdout] 1024 | let intercept = model.get_intercept(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intercept` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_pred` [INFO] [stdout] --> src/linear.rs:1034:13 [INFO] [stdout] | [INFO] [stdout] 1034 | let y_pred = model.predict(&x_test); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_pred` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> src/linear.rs:1035:13 [INFO] [stdout] | [INFO] [stdout] 1035 | let score = model.score(&x_test, &vec![6.0, 7.0]); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coefficients` [INFO] [stdout] --> src/linear.rs:1036:13 [INFO] [stdout] | [INFO] [stdout] 1036 | let coefficients = model.weights(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coefficients` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intercept` [INFO] [stdout] --> src/linear.rs:1037:13 [INFO] [stdout] | [INFO] [stdout] 1037 | let intercept = model.intercept(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intercept` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `preds` [INFO] [stdout] --> src/linear.rs:1054:13 [INFO] [stdout] | [INFO] [stdout] 1054 | let preds = model.predict(&x_test); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_preds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score` [INFO] [stdout] --> src/linear.rs:1055:13 [INFO] [stdout] | [INFO] [stdout] 1055 | let score = model.score(&x_test, &vec![0.0, 1.0,1.0,0.0]); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_score` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `weights` [INFO] [stdout] --> src/linear.rs:1056:13 [INFO] [stdout] | [INFO] [stdout] 1056 | let weights = model.get_weights(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_weights` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `intercept` [INFO] [stdout] --> src/linear.rs:1057:13 [INFO] [stdout] | [INFO] [stdout] 1057 | let intercept = model.get_intercept(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intercept` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.29s [INFO] running `Command { std: "docker" "inspect" "8fe81fec734b1efe31e1206d227cb802cce7fb3be97b8ba504cc6e845ad9bfa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fe81fec734b1efe31e1206d227cb802cce7fb3be97b8ba504cc6e845ad9bfa9", kill_on_drop: false }` [INFO] [stdout] 8fe81fec734b1efe31e1206d227cb802cce7fb3be97b8ba504cc6e845ad9bfa9