[INFO] cloning repository https://github.com/matonix/antbook-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/matonix/antbook-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatonix%2Fantbook-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatonix%2Fantbook-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bff6f875f4a33f6e69a75544702199e64936440e [INFO] checking matonix/antbook-rust against try#3a4cb0edb4040379c037e06efeb5409e44be7b77 for pr-146377 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatonix%2Fantbook-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/matonix/antbook-rust [INFO] finished tweaking git repo https://github.com/matonix/antbook-rust [INFO] tweaked toml for git repo https://github.com/matonix/antbook-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/matonix/antbook-rust on toolchain 3a4cb0edb4040379c037e06efeb5409e44be7b77 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/matonix/antbook-rust 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" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking matonix/antbook-rust against try#3a4cb0edb4040379c037e06efeb5409e44be7b77 for pr-146377 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatonix%2Fantbook-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/matonix/antbook-rust [INFO] finished tweaking git repo https://github.com/matonix/antbook-rust [INFO] tweaked toml for git repo https://github.com/matonix/antbook-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/matonix/antbook-rust on toolchain 3a4cb0edb4040379c037e06efeb5409e44be7b77 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/matonix/antbook-rust 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" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proconio-derive v0.2.1 [INFO] [stderr] Downloaded syn v1.0.84 [INFO] [stderr] Downloaded bitset-fixed v0.1.0 [INFO] [stderr] Downloaded proconio v0.4.3 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62a65732530e42aa37eed08a02efa0386d4ebdb848486da2995fb6b73b7aa933 [INFO] running `Command { std: "docker" "start" "-a" "62a65732530e42aa37eed08a02efa0386d4ebdb848486da2995fb6b73b7aa933", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62a65732530e42aa37eed08a02efa0386d4ebdb848486da2995fb6b73b7aa933", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62a65732530e42aa37eed08a02efa0386d4ebdb848486da2995fb6b73b7aa933", kill_on_drop: false }` [INFO] [stdout] 62a65732530e42aa37eed08a02efa0386d4ebdb848486da2995fb6b73b7aa933 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+3a4cb0edb4040379c037e06efeb5409e44be7b77" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09b6c72956f2b6a81f5ef3be8c2ef89187d1e4696ce6d3e68929af942744cec9 [INFO] running `Command { std: "docker" "start" "-a" "09b6c72956f2b6a81f5ef3be8c2ef89187d1e4696ce6d3e68929af942744cec9", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling ndarray v0.13.0 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Checking bitset-fixed v0.1.0 [INFO] [stderr] Checking superslice v1.0.0 [INFO] [stderr] Checking assert_approx_eq v1.1.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking itertools-num v0.1.3 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Compiling proconio-derive v0.2.1 [INFO] [stderr] Checking proconio v0.4.3 [INFO] [stderr] Checking antbook v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `BinaryHeap` is never constructed [INFO] [stdout] --> src/heap.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct BinaryHeap(Vec); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/3_3_kth_number.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct RT(Vec); [INFO] [stdout] | -- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `RT` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/3_3_kth_number.rs:33:15 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct RT(Vec); [INFO] [stdout] | -- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `RT` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/2_6_prime.rs:33:25 [INFO] [stdout] | [INFO] [stdout] 33 | if n.is_multiple_of(&i) { [INFO] [stdout] | -------------- ^^ expected `usize`, found `&usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/3a4cb0edb4040379c037e06efeb5409e44be7b77/library/core/src/num/mod.rs:1269:4 [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 33 - if n.is_multiple_of(&i) { [INFO] [stdout] 33 + if n.is_multiple_of(i) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/2_6_prime.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | while n.is_multiple_of(&i) { [INFO] [stdout] | -------------- ^^ expected `usize`, found `&usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/3a4cb0edb4040379c037e06efeb5409e44be7b77/library/core/src/num/mod.rs:1269:4 [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 47 - while n.is_multiple_of(&i) { [INFO] [stdout] 47 + while n.is_multiple_of(i) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::integer::Integer` [INFO] [stdout] --> src/bin/2_6_prime.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use num::integer::Integer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/bin/2_6_segment_sieve.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | let k = a.next_multiple_of(&i); [INFO] [stdout] | ---------------- ^^ expected `usize`, found `&usize` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/3a4cb0edb4040379c037e06efeb5409e44be7b77/library/core/src/num/mod.rs:1269:4 [INFO] [stdout] = note: this error originates in the macro `uint_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing the borrow [INFO] [stdout] | [INFO] [stdout] 33 - let k = a.next_multiple_of(&i); [INFO] [stdout] 33 + let k = a.next_multiple_of(i); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::integer::Integer` [INFO] [stdout] --> src/bin/2_6_segment_sieve.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use num::integer::Integer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `antbook` (bin "2_6_prime") due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `antbook` (bin "2_6_segment_sieve" test) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "09b6c72956f2b6a81f5ef3be8c2ef89187d1e4696ce6d3e68929af942744cec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09b6c72956f2b6a81f5ef3be8c2ef89187d1e4696ce6d3e68929af942744cec9", kill_on_drop: false }` [INFO] [stdout] 09b6c72956f2b6a81f5ef3be8c2ef89187d1e4696ce6d3e68929af942744cec9