[INFO] fetching crate lars 0.2.4... [INFO] testing lars-0.2.4 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate lars 0.2.4 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate lars 0.2.4 [INFO] finished tweaking crates.io crate lars 0.2.4 [INFO] tweaked toml for crates.io crate lars 0.2.4 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate lars 0.2.4 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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.43 (available: v0.4.3) [INFO] [stderr] Adding rand v0.3.23 (available: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a1085b2a15e7aecab61c43c20fb247cbc72fa88d540294e347254c4c9662531 [INFO] running `Command { std: "docker" "start" "-a" "4a1085b2a15e7aecab61c43c20fb247cbc72fa88d540294e347254c4c9662531", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a1085b2a15e7aecab61c43c20fb247cbc72fa88d540294e347254c4c9662531", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a1085b2a15e7aecab61c43c20fb247cbc72fa88d540294e347254c4c9662531", kill_on_drop: false }` [INFO] [stdout] 4a1085b2a15e7aecab61c43c20fb247cbc72fa88d540294e347254c4c9662531 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb57ba46e1e6ae8a11f3f6424c9cd083b9ec4a8009c9c367acd9ae99e5278bf6 [INFO] running `Command { std: "docker" "start" "-a" "cb57ba46e1e6ae8a11f3f6424c9cd083b9ec4a8009c9c367acd9ae99e5278bf6", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.1.45 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling num-complex v0.1.44 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling num v0.1.43 [INFO] [stderr] Compiling lars v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vector.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | try!(write!(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/vector.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | try!(write!(f, "]")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vector.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | try!(write!(f, "{}", self.content[n])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vector.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | try!(write!(f, ",")) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | try!(write!(f, "[")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | try!(write!(f, "]")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | try!(write!(f, "[")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | try!(write!(f, "],\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | try!(write!(f, "{}", self.get(n, m))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/matrix.rs:393:20 [INFO] [stdout] | [INFO] [stdout] 393 | panic!(format!("Matrix index ({}, {}) out of bounds!", r, c)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 393 - panic!(format!("Matrix index ({}, {}) out of bounds!", r, c)) [INFO] [stdout] 393 + panic!("Matrix index ({}, {}) out of bounds!", r, c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/matrix.rs:402:20 [INFO] [stdout] | [INFO] [stdout] 402 | panic!(format!("Matrix index ({}, {}) out of bounds!", r, c)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 402 - panic!(format!("Matrix index ({}, {}) out of bounds!", r, c)) [INFO] [stdout] 402 + panic!("Matrix index ({}, {}) out of bounds!", r, c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.96s [INFO] running `Command { std: "docker" "inspect" "cb57ba46e1e6ae8a11f3f6424c9cd083b9ec4a8009c9c367acd9ae99e5278bf6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb57ba46e1e6ae8a11f3f6424c9cd083b9ec4a8009c9c367acd9ae99e5278bf6", kill_on_drop: false }` [INFO] [stdout] cb57ba46e1e6ae8a11f3f6424c9cd083b9ec4a8009c9c367acd9ae99e5278bf6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47a5386bd41c125450efaece786ace9bf2c7c2bce6e620be638485886a0bfb25 [INFO] running `Command { std: "docker" "start" "-a" "47a5386bd41c125450efaece786ace9bf2c7c2bce6e620be638485886a0bfb25", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vector.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | try!(write!(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/vector.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | try!(write!(f, "]")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vector.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | try!(write!(f, "{}", self.content[n])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vector.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | try!(write!(f, ",")) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling lars v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | try!(write!(f, "[")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | try!(write!(f, "]")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | try!(write!(f, "[")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | try!(write!(f, "],\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | try!(write!(f, "{}", self.get(n, m))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/matrix.rs:393:20 [INFO] [stdout] | [INFO] [stdout] 393 | panic!(format!("Matrix index ({}, {}) out of bounds!", r, c)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 393 - panic!(format!("Matrix index ({}, {}) out of bounds!", r, c)) [INFO] [stdout] 393 + panic!("Matrix index ({}, {}) out of bounds!", r, c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/matrix.rs:402:20 [INFO] [stdout] | [INFO] [stdout] 402 | panic!(format!("Matrix index ({}, {}) out of bounds!", r, c)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 402 - panic!(format!("Matrix index ({}, {}) out of bounds!", r, c)) [INFO] [stdout] 402 + panic!("Matrix index ({}, {}) out of bounds!", r, c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vector.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | try!(write!(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/vector.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | try!(write!(f, "]")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vector.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | try!(write!(f, "{}", self.content[n])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/vector.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | try!(write!(f, ",")) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | try!(write!(f, "[")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | try!(write!(f, "]")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 115 | try!(write!(f, "[")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | try!(write!(f, "],\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/matrix.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | try!(write!(f, "{}", self.get(n, m))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/matrix.rs:393:20 [INFO] [stdout] | [INFO] [stdout] 393 | panic!(format!("Matrix index ({}, {}) out of bounds!", r, c)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 393 - panic!(format!("Matrix index ({}, {}) out of bounds!", r, c)) [INFO] [stdout] 393 + panic!("Matrix index ({}, {}) out of bounds!", r, c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/matrix.rs:402:20 [INFO] [stdout] | [INFO] [stdout] 402 | panic!(format!("Matrix index ({}, {}) out of bounds!", r, c)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 402 - panic!(format!("Matrix index ({}, {}) out of bounds!", r, c)) [INFO] [stdout] 402 + panic!("Matrix index ({}, {}) out of bounds!", r, c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] running `Command { std: "docker" "inspect" "47a5386bd41c125450efaece786ace9bf2c7c2bce6e620be638485886a0bfb25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47a5386bd41c125450efaece786ace9bf2c7c2bce6e620be638485886a0bfb25", kill_on_drop: false }` [INFO] [stdout] 47a5386bd41c125450efaece786ace9bf2c7c2bce6e620be638485886a0bfb25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dc4f58e67bdcb9de12737d2e3e29070ebf016e3a5e5c1b5f36ee5df3113f356f [INFO] running `Command { std: "docker" "start" "-a" "dc4f58e67bdcb9de12737d2e3e29070ebf016e3a5e5c1b5f36ee5df3113f356f", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/vector.rs:83:9 [INFO] [stderr] | [INFO] [stderr] 83 | try!(write!(f, "[")); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/vector.rs:90:9 [INFO] [stderr] | [INFO] [stderr] 90 | try!(write!(f, "]")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/vector.rs:85:13 [INFO] [stderr] | [INFO] [stderr] 85 | try!(write!(f, "{}", self.content[n])); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/vector.rs:87:17 [INFO] [stderr] | [INFO] [stderr] 87 | try!(write!(f, ",")) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/matrix.rs:113:9 [INFO] [stderr] | [INFO] [stderr] 113 | try!(write!(f, "[")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/matrix.rs:121:9 [INFO] [stderr] | [INFO] [stderr] 121 | try!(write!(f, "]")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/matrix.rs:115:13 [INFO] [stderr] | [INFO] [stderr] 115 | try!(write!(f, "[")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/matrix.rs:119:13 [INFO] [stderr] | [INFO] [stderr] 119 | try!(write!(f, "],\n")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/matrix.rs:117:17 [INFO] [stderr] | [INFO] [stderr] 117 | try!(write!(f, "{}", self.get(n, m))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/matrix.rs:393:20 [INFO] [stderr] | [INFO] [stderr] 393 | panic!(format!("Matrix index ({}, {}) out of bounds!", r, c)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 393 - panic!(format!("Matrix index ({}, {}) out of bounds!", r, c)) [INFO] [stderr] 393 + panic!("Matrix index ({}, {}) out of bounds!", r, c) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/matrix.rs:402:20 [INFO] [stderr] | [INFO] [stderr] 402 | panic!(format!("Matrix index ({}, {}) out of bounds!", r, c)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 402 - panic!(format!("Matrix index ({}, {}) out of bounds!", r, c)) [INFO] [stderr] 402 + panic!("Matrix index ({}, {}) out of bounds!", r, c) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `lars` (lib) generated 11 warnings (run `cargo fix --lib -p lars` to apply 2 suggestions) [INFO] [stderr] warning: `lars` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lars-7d006ab9a22caedb) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests lars [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/matrix.rs - matrix (line 33) ... FAILED [INFO] [stdout] test src/vector.rs - vector (line 25) ... FAILED [INFO] [stdout] test src/matrix.rs - matrix (line 6) ... FAILED [INFO] [stdout] test src/vector.rs - vector (line 7) ... FAILED [INFO] [stdout] test src/matrix.rs - matrix (line 77) ... ok [INFO] [stdout] test src/vector.rs - vector (line 49) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/matrix.rs - matrix (line 33) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `new` in module `matrix` [INFO] [stdout] --> src/matrix.rs:40:27 [INFO] [stdout] | [INFO] [stdout] 40 | let mut foo = matrix::new(5, 5, 2.0); [INFO] [stdout] | ^^^ not found in `matrix` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new` in module `matrix` [INFO] [stdout] --> src/matrix.rs:41:27 [INFO] [stdout] | [INFO] [stdout] 41 | let mut bar = matrix::new(5, 5, 1.5); [INFO] [stdout] | ^^^ not found in `matrix` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new` in module `matrix` [INFO] [stdout] --> src/matrix.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let mut foobar = matrix::new(4, 4, 0.0); [INFO] [stdout] | ^^^ not found in `matrix` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vector.rs - vector (line 25) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `new` in module `vector` [INFO] [stdout] --> src/vector.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | let mut foo = vector::new(5, 2.0); [INFO] [stdout] | ^^^ not found in `vector` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new` in module `vector` [INFO] [stdout] --> src/vector.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | let mut bar = vector::new(5, 1.5); [INFO] [stdout] | ^^^ not found in `vector` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/matrix.rs - matrix (line 6) stdout ---- [INFO] [stdout] error[E0283]: type annotations needed for `Matrix<_>` [INFO] [stdout] --> src/matrix.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let m3 = matrix::identity(5); [INFO] [stdout] | ^^ ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: the type must implement `Number` [INFO] [stdout] = help: the following types implement trait `Number`: [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] u16 [INFO] [stdout] u32 [INFO] [stdout] and 3 others [INFO] [stdout] note: required by a bound in `lars::matrix::identity` [INFO] [stdout] --> src/matrix.rs:480:20 [INFO] [stdout] | [INFO] [stdout] 480 | pub fn identity(size: usize) -> Matrix { [INFO] [stdout] | ^^^^^^ required by this bound in `identity` [INFO] [stdout] help: consider giving `m3` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 20 | let m3: Matrix = matrix::identity(5); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/vector.rs - vector (line 7) stdout ---- [INFO] [stdout] error[E0283]: type annotations needed for `lars::vector::Vector<_>` [INFO] [stdout] --> src/vector.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let v3 = vector::random(12); [INFO] [stdout] | ^^ ------------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: the type must implement `Number` [INFO] [stdout] = help: the following types implement trait `Number`: [INFO] [stdout] f32 [INFO] [stdout] f64 [INFO] [stdout] i16 [INFO] [stdout] i32 [INFO] [stdout] i64 [INFO] [stdout] i8 [INFO] [stdout] u16 [INFO] [stdout] u32 [INFO] [stdout] and 3 others [INFO] [stdout] note: required by a bound in `lars::vector::random` [INFO] [stdout] --> src/vector.rs:369:18 [INFO] [stdout] | [INFO] [stdout] 369 | pub fn random(length: usize) -> Vector { [INFO] [stdout] | ^^^^^^ required by this bound in `random` [INFO] [stdout] help: consider giving `v3` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 21 | let v3: lars::vector::Vector = vector::random(12); [INFO] [stdout] | +++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0283`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/matrix.rs - matrix (line 33) [INFO] [stdout] src/matrix.rs - matrix (line 6) [INFO] [stdout] src/vector.rs - vector (line 25) [INFO] [stdout] src/vector.rs - vector (line 7) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "dc4f58e67bdcb9de12737d2e3e29070ebf016e3a5e5c1b5f36ee5df3113f356f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc4f58e67bdcb9de12737d2e3e29070ebf016e3a5e5c1b5f36ee5df3113f356f", kill_on_drop: false }` [INFO] [stdout] dc4f58e67bdcb9de12737d2e3e29070ebf016e3a5e5c1b5f36ee5df3113f356f