[INFO] fetching crate lars 0.2.4... [INFO] testing lars-0.2.4 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate lars 0.2.4 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate lars 0.2.4 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-rational v0.1.42 [INFO] [stderr] Downloaded rustc-serialize v0.3.24 [INFO] [stderr] Downloaded num-bigint v0.1.44 [INFO] [stderr] Downloaded num-complex v0.1.43 [INFO] [stderr] Downloaded num-iter v0.1.42 [INFO] [stderr] Downloaded rand v0.3.23 [INFO] [stderr] Downloaded num-integer v0.1.44 [INFO] [stderr] Downloaded num v0.1.42 [INFO] [stderr] Downloaded rand v0.4.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ca9b2fad35428896772d111257010b3d79c4cafe3d4096aab3077ef226eeb456 [INFO] running `Command { std: "docker" "start" "-a" "ca9b2fad35428896772d111257010b3d79c4cafe3d4096aab3077ef226eeb456", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca9b2fad35428896772d111257010b3d79c4cafe3d4096aab3077ef226eeb456", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca9b2fad35428896772d111257010b3d79c4cafe3d4096aab3077ef226eeb456", kill_on_drop: false }` [INFO] [stdout] ca9b2fad35428896772d111257010b3d79c4cafe3d4096aab3077ef226eeb456 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 870c494089877337142c24b9b8646b2128ce7c269a650e024c65f30ae532c6a7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "870c494089877337142c24b9b8646b2128ce7c269a650e024c65f30ae532c6a7", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [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: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/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/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: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:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | try!(write!(f, "{}", self.get(n, m))); [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:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | try!(write!(f, "]")); [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: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 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 is no longer accepted in Rust 2021 [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!("Matrix index ({}, {}) out of bounds!", r, c) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.67s [INFO] running `Command { std: "docker" "inspect" "870c494089877337142c24b9b8646b2128ce7c269a650e024c65f30ae532c6a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "870c494089877337142c24b9b8646b2128ce7c269a650e024c65f30ae532c6a7", kill_on_drop: false }` [INFO] [stdout] 870c494089877337142c24b9b8646b2128ce7c269a650e024c65f30ae532c6a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b00faba460d1c5558bd5d60a6cb139cd771cc58372da171d4e85ba96de4900a2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b00faba460d1c5558bd5d60a6cb139cd771cc58372da171d4e85ba96de4900a2", kill_on_drop: false }` [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: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/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/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: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:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | try!(write!(f, "{}", self.get(n, m))); [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:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | try!(write!(f, "]")); [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: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 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 is no longer accepted in Rust 2021 [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!("Matrix index ({}, {}) out of bounds!", r, c) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [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: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/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/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: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:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | try!(write!(f, "{}", self.get(n, m))); [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:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | try!(write!(f, "]")); [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: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [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] 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 is no longer accepted in Rust 2021 [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!("Matrix index ({}, {}) out of bounds!", r, c) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "b00faba460d1c5558bd5d60a6cb139cd771cc58372da171d4e85ba96de4900a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b00faba460d1c5558bd5d60a6cb139cd771cc58372da171d4e85ba96de4900a2", kill_on_drop: false }` [INFO] [stdout] b00faba460d1c5558bd5d60a6cb139cd771cc58372da171d4e85ba96de4900a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7a2237e20f19e803b20277dc428454fa56f13886ea6bc0c30145ea7425a9b60f [INFO] running `Command { std: "docker" "start" "-a" "7a2237e20f19e803b20277dc428454fa56f13886ea6bc0c30145ea7425a9b60f", kill_on_drop: false }` [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: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/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/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: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:117:17 [INFO] [stderr] | [INFO] [stderr] 117 | try!(write!(f, "{}", self.get(n, m))); [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:121:9 [INFO] [stderr] | [INFO] [stderr] 121 | try!(write!(f, "]")); [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: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [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] 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 is no longer accepted in Rust 2021 [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!("Matrix index ({}, {}) out of bounds!", r, c) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: 11 warnings emitted [INFO] [stderr] [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: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/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/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: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:117:17 [INFO] [stderr] | [INFO] [stderr] 117 | try!(write!(f, "{}", self.get(n, m))); [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:121:9 [INFO] [stderr] | [INFO] [stderr] 121 | try!(write!(f, "]")); [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: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [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] 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 is no longer accepted in Rust 2021 [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!("Matrix index ({}, {}) out of bounds!", r, c) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: 11 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lars-2559bce17ae8bf46) [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests lars [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] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/matrix.rs - matrix (line 33) ... FAILED [INFO] [stdout] test src/vector.rs - vector (line 7) ... 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/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:39:27 [INFO] [stdout] | [INFO] [stdout] 9 | 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:40:27 [INFO] [stdout] | [INFO] [stdout] 10 | 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:69:30 [INFO] [stdout] | [INFO] [stdout] 39 | 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 7) stdout ---- [INFO] [stdout] error[E0283]: type annotations needed for `Vector` [INFO] [stdout] --> src/vector.rs:20:14 [INFO] [stdout] | [INFO] [stdout] 16 | let v3 = vector::random(12); [INFO] [stdout] | -- ^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the function `random` [INFO] [stdout] | | [INFO] [stdout] | consider giving `v3` the explicit type `Vector`, where the type parameter `T` is specified [INFO] [stdout] | [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 `lars::vector::random` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Number` [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 16 | let v3 = vector::random::(12); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 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 6) stdout ---- [INFO] [stdout] error[E0283]: type annotations needed for `Matrix` [INFO] [stdout] --> src/matrix.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 16 | let m3 = matrix::identity(5); [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the function `identity` [INFO] [stdout] | | [INFO] [stdout] | consider giving `m3` the explicit type `Matrix`, where the type parameter `T` is specified [INFO] [stdout] | [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 `lars::matrix::identity` [INFO] [stdout] | [INFO] [stdout] = note: cannot satisfy `_: Number` [INFO] [stdout] help: consider specifying the type argument in the function call [INFO] [stdout] | [INFO] [stdout] 16 | let m3 = matrix::identity::(5); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 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:31:27 [INFO] [stdout] | [INFO] [stdout] 9 | 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:32:27 [INFO] [stdout] | [INFO] [stdout] 10 | 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 1.93s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "7a2237e20f19e803b20277dc428454fa56f13886ea6bc0c30145ea7425a9b60f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a2237e20f19e803b20277dc428454fa56f13886ea6bc0c30145ea7425a9b60f", kill_on_drop: false }` [INFO] [stdout] 7a2237e20f19e803b20277dc428454fa56f13886ea6bc0c30145ea7425a9b60f