[INFO] cloning repository https://github.com/steel58/rust_lab [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/steel58/rust_lab" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteel58%2Frust_lab", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteel58%2Frust_lab'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 103e30705dbee5affae0dfea90d8d5ee156027b0 [INFO] checking steel58/rust_lab against try#1f308f12738d8cc40bb23bf0c8114b37c164bb49 for pr-137268 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteel58%2Frust_lab" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/steel58/rust_lab on toolchain 1f308f12738d8cc40bb23bf0c8114b37c164bb49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/steel58/rust_lab [INFO] finished tweaking git repo https://github.com/steel58/rust_lab [INFO] tweaked toml for git repo https://github.com/steel58/rust_lab written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/steel58/rust_lab already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "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 scanf v1.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2afd7c802c3b310111ce18cfc91e3c33c2b59f785981de97fc42f739e5c1947f [INFO] running `Command { std: "docker" "start" "-a" "2afd7c802c3b310111ce18cfc91e3c33c2b59f785981de97fc42f739e5c1947f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2afd7c802c3b310111ce18cfc91e3c33c2b59f785981de97fc42f739e5c1947f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2afd7c802c3b310111ce18cfc91e3c33c2b59f785981de97fc42f739e5c1947f", kill_on_drop: false }` [INFO] [stdout] 2afd7c802c3b310111ce18cfc91e3c33c2b59f785981de97fc42f739e5c1947f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a138d26d19c715c116d8ae56eea8c4b2af009cd1ada1ddd4a08fbe3694b7d07b [INFO] running `Command { std: "docker" "start" "-a" "a138d26d19c715c116d8ae56eea8c4b2af009cd1ada1ddd4a08fbe3694b7d07b", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking scanf v1.2.1 [INFO] [stderr] Checking rust_lab v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variants `Cross`, `Det`, `Diag`, and `Id` are never constructed [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 9 | enum Commands { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | Cross, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | Det, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | Diag, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | Id, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/data_type.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | Vector (Vec, usize), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - Vector (Vec, usize), [INFO] [stdout] 8 + Vector (Vec, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/data_type.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | Matrix (Vec>, (usize, usize)), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 - Matrix (Vec>, (usize, usize)), [INFO] [stdout] 9 + Matrix (Vec>, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/data_type.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | Error (String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - Error (String), [INFO] [stdout] 10 + Error (()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/data_type.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Type { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 28 | pub fn add(&self, other: Type) -> Type{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn vec_add(&self, vec_b: Type) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn num_add(&self, num_b: Type) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn mat_add(&self, mat_2: Type) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn det(&self) -> Type { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn size_of(&self) -> Type { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn cross(&self, vec_2: Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `det` is never used [INFO] [stdout] --> src/data_type.rs:185:4 [INFO] [stdout] | [INFO] [stdout] 185 | fn det(mat: Vec>) -> f64 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cut_row` is never used [INFO] [stdout] --> src/data_type.rs:200:4 [INFO] [stdout] | [INFO] [stdout] 200 | fn cut_row(mat: Vec>, index: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cut_column` is never used [INFO] [stdout] --> src/data_type.rs:206:4 [INFO] [stdout] | [INFO] [stdout] 206 | fn cut_column(mat: &Vec>, index: usize) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `id` is never used [INFO] [stdout] --> src/generators.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn id(n: usize) -> Type { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `diag` is never used [INFO] [stdout] --> src/generators.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn diag(size: usize, shift: isize) -> Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Cross`, `Det`, `Diag`, and `Id` are never constructed [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 9 | enum Commands { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | Cross, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | Det, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | Diag, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | Id, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/data_type.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | Vector (Vec, usize), [INFO] [stdout] | ------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Type` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - Vector (Vec, usize), [INFO] [stdout] 8 + Vector (Vec, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add`, `vec_add`, `num_add`, `mat_add`, `size_of`, and `cross` are never used [INFO] [stdout] --> src/data_type.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Type { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] 28 | pub fn add(&self, other: Type) -> Type{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn vec_add(&self, vec_b: Type) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn num_add(&self, num_b: Type) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn mat_add(&self, mat_2: Type) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn size_of(&self) -> Type { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn cross(&self, vec_2: Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `id` is never used [INFO] [stdout] --> src/generators.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn id(n: usize) -> Type { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `diag` is never used [INFO] [stdout] --> src/generators.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn diag(size: usize, shift: isize) -> Type { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.42s [INFO] running `Command { std: "docker" "inspect" "a138d26d19c715c116d8ae56eea8c4b2af009cd1ada1ddd4a08fbe3694b7d07b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a138d26d19c715c116d8ae56eea8c4b2af009cd1ada1ddd4a08fbe3694b7d07b", kill_on_drop: false }` [INFO] [stdout] a138d26d19c715c116d8ae56eea8c4b2af009cd1ada1ddd4a08fbe3694b7d07b