[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 master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatonix%2Fantbook-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/matonix/antbook-rust on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded indexmap v1.8.0 [INFO] [stderr] Downloaded assert_approx_eq v1.1.0 [INFO] [stderr] Downloaded superslice v1.0.0 [INFO] [stderr] Downloaded itertools-num v0.1.3 [INFO] [stderr] Downloaded num-complex v0.4.0 [INFO] [stderr] Downloaded num-rational v0.4.0 [INFO] [stderr] Downloaded syn v1.0.84 [INFO] [stderr] Downloaded quote v1.0.14 [INFO] [stderr] Downloaded proconio v0.4.3 [INFO] [stderr] Downloaded proconio-derive v0.2.1 [INFO] [stderr] Downloaded bitset-fixed v0.1.0 [INFO] [stderr] Downloaded ndarray v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84196a14766226c5e6a810f3abe21e656d3fb3d061f1d15d3060721e6e0c26a7 [INFO] running `Command { std: "docker" "start" "-a" "84196a14766226c5e6a810f3abe21e656d3fb3d061f1d15d3060721e6e0c26a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84196a14766226c5e6a810f3abe21e656d3fb3d061f1d15d3060721e6e0c26a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84196a14766226c5e6a810f3abe21e656d3fb3d061f1d15d3060721e6e0c26a7", kill_on_drop: false }` [INFO] [stdout] 84196a14766226c5e6a810f3abe21e656d3fb3d061f1d15d3060721e6e0c26a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 103176a9d82d1dd1ef208e6443a011677be1246e009f1124cdb854c9ed9ce708 [INFO] running `Command { std: "docker" "start" "-a" "103176a9d82d1dd1ef208e6443a011677be1246e009f1124cdb854c9ed9ce708", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling ndarray v0.13.0 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Checking lazy_static v1.4.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 maplit v1.0.2 [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking itertools v0.9.0 [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] 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] [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/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/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] 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] [stderr] error: could not compile `antbook` (bin "2_6_segment_sieve") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "103176a9d82d1dd1ef208e6443a011677be1246e009f1124cdb854c9ed9ce708", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "103176a9d82d1dd1ef208e6443a011677be1246e009f1124cdb854c9ed9ce708", kill_on_drop: false }` [INFO] [stdout] 103176a9d82d1dd1ef208e6443a011677be1246e009f1124cdb854c9ed9ce708