[INFO] fetching crate rsmath 0.1.6... [INFO] checking rsmath-0.1.6 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate rsmath 0.1.6 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate rsmath 0.1.6 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rsmath 0.1.6 [INFO] finished tweaking crates.io crate rsmath 0.1.6 [INFO] tweaked toml for crates.io crate rsmath 0.1.6 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 19 packages to latest compatible versions [INFO] [stderr] Adding num v0.1.42 (available: v0.4.3) [INFO] [stderr] Adding num-bigint v0.1.44 (available: v0.4.6) [INFO] [stderr] Adding num-complex v0.1.43 (available: v0.4.6) [INFO] [stderr] Adding num-rational v0.1.42 (available: v0.4.2) [INFO] [stderr] Adding rand v0.3.23 (available: v0.8.5) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a1f4c9aefa1896aae34176f406ce4c2d7b4110f553ba9da68011f528ac655983 [INFO] running `Command { std: "docker" "start" "-a" "a1f4c9aefa1896aae34176f406ce4c2d7b4110f553ba9da68011f528ac655983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a1f4c9aefa1896aae34176f406ce4c2d7b4110f553ba9da68011f528ac655983", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1f4c9aefa1896aae34176f406ce4c2d7b4110f553ba9da68011f528ac655983", kill_on_drop: false }` [INFO] [stdout] a1f4c9aefa1896aae34176f406ce4c2d7b4110f553ba9da68011f528ac655983 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 982b635154c1b2b1fad34e2cc540dd20818bcf60c54c5ce988a0a666fc033e8f [INFO] running `Command { std: "docker" "start" "-a" "982b635154c1b2b1fad34e2cc540dd20818bcf60c54c5ce988a0a666fc033e8f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking rustc-serialize v0.3.25 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-bigint v0.1.44 [INFO] [stderr] Checking num-complex v0.1.43 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking rsmath v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/matrix.rs:898:9 [INFO] [stdout] | [INFO] [stdout] 898 | try!(writeln!(f, "{{")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/matrix.rs:906:9 [INFO] [stdout] | [INFO] [stdout] 906 | try!(writeln!(f, "}}")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/matrix.rs:900:13 [INFO] [stdout] | [INFO] [stdout] 900 | try!(write!(f, "[ ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/matrix.rs:904:13 [INFO] [stdout] | [INFO] [stdout] 904 | try!(writeln!(f, "]")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/matrix.rs:902:17 [INFO] [stdout] | [INFO] [stdout] 902 | try!(write!(f, "{} ", el)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/algebra/vector.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | (sum / self.values.len() as f64) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 216 - (sum / self.values.len() as f64) [INFO] [stdout] 216 + sum / self.values.len() as f64 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/vector.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | try!(write!(f, "[ ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/matrix.rs:898:9 [INFO] [stdout] | [INFO] [stdout] 898 | try!(writeln!(f, "{{")); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/vector.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | try!(write!(f, "{el} ", el = el)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/linspace/point.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | let val: f64 = (pow((a.x() - b.x()), 2) + [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 113 - let val: f64 = (pow((a.x() - b.x()), 2) + [INFO] [stdout] 113 + let val: f64 = (pow(a.x() - b.x(), 2) + [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/matrix.rs:906:9 [INFO] [stdout] | [INFO] [stdout] 906 | try!(writeln!(f, "}}")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/matrix.rs:900:13 [INFO] [stdout] | [INFO] [stdout] 900 | try!(write!(f, "[ ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/linspace/point.rs:114:29 [INFO] [stdout] | [INFO] [stdout] 114 | pow((a.y() - b.y()), 2) + [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 114 - pow((a.y() - b.y()), 2) + [INFO] [stdout] 114 + pow(a.y() - b.y(), 2) + [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/matrix.rs:904:13 [INFO] [stdout] | [INFO] [stdout] 904 | try!(writeln!(f, "]")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/linspace/point.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | pow((a.z() - b.z()), 2)).into(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 115 - pow((a.z() - b.z()), 2)).into(); [INFO] [stdout] 115 + pow(a.z() - b.z(), 2)).into(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/matrix.rs:902:17 [INFO] [stdout] | [INFO] [stdout] 902 | try!(write!(f, "{} ", el)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/linspace/vector.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | ((self.x*other.x) + (self.y*other.y) + (self.z*other.z)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 161 - ((self.x*other.x) + (self.y*other.y) + (self.z*other.z)) [INFO] [stdout] 161 + (self.x*other.x) + (self.y*other.y) + (self.z*other.z) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/algebra/vector.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | (sum / self.values.len() as f64) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 216 - (sum / self.values.len() as f64) [INFO] [stdout] 216 + sum / self.values.len() as f64 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/vector.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | try!(write!(f, "[ ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/algebra/vector.rs:225:13 [INFO] [stdout] | [INFO] [stdout] 225 | try!(write!(f, "{el} ", el = el)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/linspace/point.rs:113:29 [INFO] [stdout] | [INFO] [stdout] 113 | let val: f64 = (pow((a.x() - b.x()), 2) + [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 113 - let val: f64 = (pow((a.x() - b.x()), 2) + [INFO] [stdout] 113 + let val: f64 = (pow(a.x() - b.x(), 2) + [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/linspace/point.rs:114:29 [INFO] [stdout] | [INFO] [stdout] 114 | pow((a.y() - b.y()), 2) + [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 114 - pow((a.y() - b.y()), 2) + [INFO] [stdout] 114 + pow(a.y() - b.y(), 2) + [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/linspace/point.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | pow((a.z() - b.z()), 2)).into(); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 115 - pow((a.z() - b.z()), 2)).into(); [INFO] [stdout] 115 + pow(a.z() - b.z(), 2)).into(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/linspace/vector.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | ((self.x*other.x) + (self.y*other.y) + (self.z*other.z)) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 161 - ((self.x*other.x) + (self.y*other.y) + (self.z*other.z)) [INFO] [stdout] 161 + (self.x*other.x) + (self.y*other.y) + (self.z*other.z) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable [INFO] [stdout] --> benches/matrix.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[bench] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #64266 [INFO] [stdout] = note: `#[deny(soft_unstable)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> benches/matrix.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> benches/matrix.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | use test::Bencher; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> benches/matrix.rs:11:36 [INFO] [stdout] | [INFO] [stdout] 11 | fn create_random_bench(b: &mut Bencher) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'test' [INFO] [stdout] --> benches/matrix.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | b.iter(|| Matrix::::random(3, 3, &range)); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rsmath` (bench "matrix") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "982b635154c1b2b1fad34e2cc540dd20818bcf60c54c5ce988a0a666fc033e8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "982b635154c1b2b1fad34e2cc540dd20818bcf60c54c5ce988a0a666fc033e8f", kill_on_drop: false }` [INFO] [stdout] 982b635154c1b2b1fad34e2cc540dd20818bcf60c54c5ce988a0a666fc033e8f