[INFO] cloning repository https://github.com/jcarberry/monte_carlo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jcarberry/monte_carlo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcarberry%2Fmonte_carlo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcarberry%2Fmonte_carlo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02e14d4f235030d29bb2ba4af5c4658076530406 [INFO] checking jcarberry/monte_carlo against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjcarberry%2Fmonte_carlo" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jcarberry/monte_carlo [INFO] finished tweaking git repo https://github.com/jcarberry/monte_carlo [INFO] tweaked toml for git repo https://github.com/jcarberry/monte_carlo written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jcarberry/monte_carlo on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jcarberry/monte_carlo 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54b5be707077183fb62e6c20b345312d30b08c6cbfdb5acf9e93a3584f245f6f [INFO] running `Command { std: "docker" "start" "-a" "54b5be707077183fb62e6c20b345312d30b08c6cbfdb5acf9e93a3584f245f6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54b5be707077183fb62e6c20b345312d30b08c6cbfdb5acf9e93a3584f245f6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54b5be707077183fb62e6c20b345312d30b08c6cbfdb5acf9e93a3584f245f6f", kill_on_drop: false }` [INFO] [stdout] 54b5be707077183fb62e6c20b345312d30b08c6cbfdb5acf9e93a3584f245f6f [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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fef5c4b798451181bb5e32fe980c8d380e32640701adce9b3b01be0cc441b0e9 [INFO] running `Command { std: "docker" "start" "-a" "fef5c4b798451181bb5e32fe980c8d380e32640701adce9b3b01be0cc441b0e9", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking matrixmultiply v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking approx v0.5.0 [INFO] [stderr] Checking rand_distr v0.4.2 [INFO] [stderr] Checking simba v0.5.1 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Checking nalgebra v0.27.1 [INFO] [stderr] Checking statrs v0.15.0 [INFO] [stderr] Checking monte_carlo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `TypeId`, `ops::Deref`, `ptr::null`, and `rc::Rc` [INFO] [stdout] --> src/main.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{any::{Any, TypeId}, ops::Deref, ptr::null, rc::Rc}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/main.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::prelude::{Distribution, ThreadRng, thread_rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ft` [INFO] [stdout] --> src/main.rs:114:26 [INFO] [stdout] | [INFO] [stdout] 114 | fn get_failed(&self, ft: &FT) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ft` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/main.rs:228:30 [INFO] [stdout] | [INFO] [stdout] 228 | fn set_status(&mut self, status: usize) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/main.rs:262:30 [INFO] [stdout] | [INFO] [stdout] 262 | fn set_status(&mut self, status: usize) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/main.rs:298:30 [INFO] [stdout] | [INFO] [stdout] 298 | fn set_status(&mut self, status: usize) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `GateOr` is never constructed [INFO] [stdout] --> src/main.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 236 | pub struct GateOr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STATUS_DYNAMIC` is never used [INFO] [stdout] --> src/main.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const STATUS_DYNAMIC: usize = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FT_SEQUENTIAL` is never used [INFO] [stdout] --> src/main.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const FT_SEQUENTIAL: usize = 2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root` is never read [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct FT { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 41 | root: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:242:8 [INFO] [stdout] | [INFO] [stdout] 241 | impl GateOr { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 242 | fn new(id: usize) -> GateOr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monte_carlo` (bin "monte_carlo" test) due to 1 previous error; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused imports: `TypeId`, `ops::Deref`, `ptr::null`, and `rc::Rc` [INFO] [stdout] --> src/main.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{any::{Any, TypeId}, ops::Deref, ptr::null, rc::Rc}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/main.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::prelude::{Distribution, ThreadRng, thread_rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ft` [INFO] [stdout] --> src/main.rs:114:26 [INFO] [stdout] | [INFO] [stdout] 114 | fn get_failed(&self, ft: &FT) -> bool { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ft` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/main.rs:228:30 [INFO] [stdout] | [INFO] [stdout] 228 | fn set_status(&mut self, status: usize) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/main.rs:262:30 [INFO] [stdout] | [INFO] [stdout] 262 | fn set_status(&mut self, status: usize) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `status` [INFO] [stdout] --> src/main.rs:298:30 [INFO] [stdout] | [INFO] [stdout] 298 | fn set_status(&mut self, status: usize) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `GateOr` is never constructed [INFO] [stdout] --> src/main.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 236 | pub struct GateOr { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STATUS_DYNAMIC` is never used [INFO] [stdout] --> src/main.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const STATUS_DYNAMIC: usize = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FT_SEQUENTIAL` is never used [INFO] [stdout] --> src/main.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const FT_SEQUENTIAL: usize = 2; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root` is never read [INFO] [stdout] --> src/main.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct FT { [INFO] [stdout] | -- field in this struct [INFO] [stdout] 41 | root: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/main.rs:242:8 [INFO] [stdout] | [INFO] [stdout] 241 | impl GateOr { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 242 | fn new(id: usize) -> GateOr { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `monte_carlo` (bin "monte_carlo") due to 1 previous error; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "fef5c4b798451181bb5e32fe980c8d380e32640701adce9b3b01be0cc441b0e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fef5c4b798451181bb5e32fe980c8d380e32640701adce9b3b01be0cc441b0e9", kill_on_drop: false }` [INFO] [stdout] fef5c4b798451181bb5e32fe980c8d380e32640701adce9b3b01be0cc441b0e9