[INFO] fetching crate lars 0.2.4... [INFO] testing lars-0.2.4 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate lars 0.2.4 into /workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lars 0.2.4 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a48dc0fbfc0cf343506d4b149e07dcf6aba3c5af71295113507cf01b851ad7f [INFO] running `Command { std: "docker" "start" "-a" "0a48dc0fbfc0cf343506d4b149e07dcf6aba3c5af71295113507cf01b851ad7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a48dc0fbfc0cf343506d4b149e07dcf6aba3c5af71295113507cf01b851ad7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a48dc0fbfc0cf343506d4b149e07dcf6aba3c5af71295113507cf01b851ad7f", kill_on_drop: false }` [INFO] [stdout] 0a48dc0fbfc0cf343506d4b149e07dcf6aba3c5af71295113507cf01b851ad7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b770a738e16b1f2b52201c8b8ef5ebb35fbe4b2aca59187e4f08d329de3dfcd0 [INFO] running `Command { std: "docker" "start" "-a" "b770a738e16b1f2b52201c8b8ef5ebb35fbe4b2aca59187e4f08d329de3dfcd0", 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] Compiling libc v0.2.175 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.1.45 [INFO] [stderr] Compiling num-complex v0.1.44 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling num-iter v0.1.45 [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: `#[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] 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 5.04s [INFO] running `Command { std: "docker" "inspect" "b770a738e16b1f2b52201c8b8ef5ebb35fbe4b2aca59187e4f08d329de3dfcd0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b770a738e16b1f2b52201c8b8ef5ebb35fbe4b2aca59187e4f08d329de3dfcd0", kill_on_drop: false }` [INFO] [stdout] b770a738e16b1f2b52201c8b8ef5ebb35fbe4b2aca59187e4f08d329de3dfcd0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1867a640ed166812ea29634a3a8da9b4745731b8d5d85e146676ef0c473f6bbe [INFO] running `Command { std: "docker" "start" "-a" "1867a640ed166812ea29634a3a8da9b4745731b8d5d85e146676ef0c473f6bbe", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition 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] [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: `#[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] 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] 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: `#[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] 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.34s [INFO] running `Command { std: "docker" "inspect" "1867a640ed166812ea29634a3a8da9b4745731b8d5d85e146676ef0c473f6bbe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1867a640ed166812ea29634a3a8da9b4745731b8d5d85e146676ef0c473f6bbe", kill_on_drop: false }` [INFO] [stdout] 1867a640ed166812ea29634a3a8da9b4745731b8d5d85e146676ef0c473f6bbe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 30f3ccab263eba47ee00e5ff273b7834f629447abf0686d04310bb0ca61845f3 [INFO] running `Command { std: "docker" "start" "-a" "30f3ccab263eba47ee00e5ff273b7834f629447abf0686d04310bb0ca61845f3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition 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: `#[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] 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.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lars-1935d1f17ef6c4a6) [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/vector.rs - vector (line 7) ... FAILED [INFO] [stdout] test src/matrix.rs - matrix (line 77) ... ok [INFO] [stdout] test src/matrix.rs - matrix (line 33) ... FAILED [INFO] [stdout] test src/matrix.rs - matrix (line 6) ... FAILED [INFO] [stdout] test src/vector.rs - vector (line 25) ... FAILED [INFO] [stdout] test src/vector.rs - vector (line 49) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/vector.rs - vector (line 7) stdout ---- [INFO] [stdout] error[E0283]: type annotations needed for `Vector<_>` [INFO] [stdout] --> src/vector.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 17 | let v3 = vector::random(12); [INFO] [stdout] | ^^ ------------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: 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] --> /opt/rustwide/workdir/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] 17 | let v3: 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] ---- 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] 10 | 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] 11 | 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] 40 | 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/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] 17 | let m3 = matrix::identity(5); [INFO] [stdout] | ^^ ------------------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: 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] --> /opt/rustwide/workdir/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] 17 | 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 25) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `new` in module `vector` [INFO] [stdout] --> src/vector.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 10 | 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] 11 | 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] [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.41s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "30f3ccab263eba47ee00e5ff273b7834f629447abf0686d04310bb0ca61845f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30f3ccab263eba47ee00e5ff273b7834f629447abf0686d04310bb0ca61845f3", kill_on_drop: false }` [INFO] [stdout] 30f3ccab263eba47ee00e5ff273b7834f629447abf0686d04310bb0ca61845f3