[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#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatonix%2Fantbook-rust" "/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/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-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/matonix/antbook-rust on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa89d1ed6d72143ab6b375fcfdd1bdd50e40e6271dd19c311d32e7a7c9ecd3ac [INFO] running `Command { std: "docker" "start" "-a" "aa89d1ed6d72143ab6b375fcfdd1bdd50e40e6271dd19c311d32e7a7c9ecd3ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa89d1ed6d72143ab6b375fcfdd1bdd50e40e6271dd19c311d32e7a7c9ecd3ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa89d1ed6d72143ab6b375fcfdd1bdd50e40e6271dd19c311d32e7a7c9ecd3ac", kill_on_drop: false }` [INFO] [stdout] aa89d1ed6d72143ab6b375fcfdd1bdd50e40e6271dd19c311d32e7a7c9ecd3ac [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f48241c9b6b26ccf6ccb4a5b80ac3361079f451fb139aadb0243d4afbe8aff60 [INFO] running `Command { std: "docker" "start" "-a" "f48241c9b6b26ccf6ccb4a5b80ac3361079f451fb139aadb0243d4afbe8aff60", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling ndarray v0.13.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Checking bitset-fixed v0.1.0 [INFO] [stderr] Checking assert_approx_eq v1.1.0 [INFO] [stderr] Checking superslice v1.0.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.4.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)]` on by default [INFO] [stdout] [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/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/num/mod.rs:1248:5 [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)]` 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_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/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/num/mod.rs:1248:5 [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/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/num/mod.rs:1248:5 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [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] [stderr] error: could not compile `antbook` (bin "2_6_segment_sieve") due to 1 previous error; 1 warning emitted [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f48241c9b6b26ccf6ccb4a5b80ac3361079f451fb139aadb0243d4afbe8aff60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f48241c9b6b26ccf6ccb4a5b80ac3361079f451fb139aadb0243d4afbe8aff60", kill_on_drop: false }` [INFO] [stdout] f48241c9b6b26ccf6ccb4a5b80ac3361079f451fb139aadb0243d4afbe8aff60