[INFO] cloning repository https://github.com/taka8t/dalgo-library-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/taka8t/dalgo-library-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaka8t%2Fdalgo-library-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaka8t%2Fdalgo-library-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f6e20a28cc1cf4accb52c869bfd2a8bd5ffeac1f [INFO] checking taka8t/dalgo-library-rs against master#2f3dc46465c04d10cb74d34b1bd80c3ebfdc05bf for pr-128725 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaka8t%2Fdalgo-library-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/taka8t/dalgo-library-rs on toolchain 2f3dc46465c04d10cb74d34b1bd80c3ebfdc05bf [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2f3dc46465c04d10cb74d34b1bd80c3ebfdc05bf" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/taka8t/dalgo-library-rs [INFO] finished tweaking git repo https://github.com/taka8t/dalgo-library-rs [INFO] tweaked toml for git repo https://github.com/taka8t/dalgo-library-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/taka8t/dalgo-library-rs 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" "+2f3dc46465c04d10cb74d34b1bd80c3ebfdc05bf" "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 [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking taka8t/dalgo-library-rs against try#9c7f973c4f483238f1484927772d0446e5686cc0 for pr-128725 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaka8t%2Fdalgo-library-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/taka8t/dalgo-library-rs on toolchain 9c7f973c4f483238f1484927772d0446e5686cc0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7f973c4f483238f1484927772d0446e5686cc0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/taka8t/dalgo-library-rs [INFO] finished tweaking git repo https://github.com/taka8t/dalgo-library-rs [INFO] tweaked toml for git repo https://github.com/taka8t/dalgo-library-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/taka8t/dalgo-library-rs 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" "+9c7f973c4f483238f1484927772d0446e5686cc0" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking taka8t/dalgo-library-rs against try#9c7f973c4f483238f1484927772d0446e5686cc0 for pr-128725 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaka8t%2Fdalgo-library-rs" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/taka8t/dalgo-library-rs on toolchain 9c7f973c4f483238f1484927772d0446e5686cc0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c7f973c4f483238f1484927772d0446e5686cc0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/taka8t/dalgo-library-rs [INFO] finished tweaking git repo https://github.com/taka8t/dalgo-library-rs [INFO] tweaked toml for git repo https://github.com/taka8t/dalgo-library-rs written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/taka8t/dalgo-library-rs 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" "+9c7f973c4f483238f1484927772d0446e5686cc0" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+9c7f973c4f483238f1484927772d0446e5686cc0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 31eb3459cdf45f92e9f442faccb25e4d996734e7d03043e5b0e1ef17945bc275 [INFO] running `Command { std: "docker" "start" "-a" "31eb3459cdf45f92e9f442faccb25e4d996734e7d03043e5b0e1ef17945bc275", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "31eb3459cdf45f92e9f442faccb25e4d996734e7d03043e5b0e1ef17945bc275", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31eb3459cdf45f92e9f442faccb25e4d996734e7d03043e5b0e1ef17945bc275", kill_on_drop: false }` [INFO] [stdout] 31eb3459cdf45f92e9f442faccb25e4d996734e7d03043e5b0e1ef17945bc275 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+9c7f973c4f483238f1484927772d0446e5686cc0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ccfd7ee5a79ae8857a8aa5fbd799b55655a8c7b4594d4750ca2f298bd7e65893 [INFO] running `Command { std: "docker" "start" "-a" "ccfd7ee5a79ae8857a8aa5fbd799b55655a8c7b4594d4750ca2f298bd7e65893", kill_on_drop: false }` [INFO] [stderr] Checking dalgo-library-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot find macro `read` in this scope [INFO] [stdout] --> src/math/sat.rs:137:25 [INFO] [stdout] | [INFO] [stdout] 137 | let s = read!(input, String); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stdout] help: consider importing this macro through its public re-export [INFO] [stdout] | [INFO] [stdout] 120 + use crate::read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `input` in this scope [INFO] [stdout] --> src/math/sat.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | input!{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stdout] help: consider importing this macro through its public re-export [INFO] [stdout] | [INFO] [stdout] 120 + use crate::input; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `read` in this scope [INFO] [stdout] --> src/math/sat.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | let mut pi = read!(input, i32); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: have you added the `#[macro_use]` on the module/import? [INFO] [stdout] help: consider importing this macro through its public re-export [INFO] [stdout] | [INFO] [stdout] 120 + use crate::read; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `n` in this scope [INFO] [stdout] --> src/math/sat.rs:145:45 [INFO] [stdout] | [INFO] [stdout] 145 | let mut solver = SatSolver::new(n); [INFO] [stdout] | ^ help: a local variable with a similar name exists: `f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `m` in this scope [INFO] [stdout] --> src/math/sat.rs:146:25 [INFO] [stdout] | [INFO] [stdout] 146 | for _ in 0..m { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 146 | for _ in 0..f { [INFO] [stdout] | ~ [INFO] [stdout] help: you might have meant to write `.` instead of `..` [INFO] [stdout] | [INFO] [stdout] 146 - for _ in 0..m { [INFO] [stdout] 146 + for _ in 0.m { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bgcd` is never used [INFO] [stdout] --> src/math/bgcd.rs:2:4 [INFO] [stdout] | [INFO] [stdout] 2 | fn bgcd(a: u64, b: u64) -> u64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_to_string` found for struct `File` in the current scope [INFO] [stdout] --> src/math/sat.rs:133:15 [INFO] [stdout] | [INFO] [stdout] 133 | f.read_to_string(&mut test_data).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/9c7f973c4f483238f1484927772d0446e5686cc0/library/std/src/io/mod.rs:904:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `File` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Read` which provides `read_to_string` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 120 + use std::io::Read; [INFO] [stdout] | [INFO] [stdout] help: there is a method `read_to_end` with a similar name [INFO] [stdout] | [INFO] [stdout] 133 | f.read_to_end(&mut test_data).unwrap(); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/bin/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/bin/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/bin/main.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | let mut output = std::io::BufWriter::new(std::io::stdout()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bin/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | a: [(i64, i64); n] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `a` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/bin/main.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 5 | / input!{ [INFO] [stdout] 6 | | n: usize, [INFO] [stdout] 7 | | a: [(i64, i64); n] [INFO] [stdout] 8 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 40 | let $var = read!($iter, $t); [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: this warning originates in the macro `input_inner` which comes from the expansion of the macro `input` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/bin/main.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | let mut output = std::io::BufWriter::new(std::io::stdout()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/bin/main.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | a: [(i64, i64); n] [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: `a` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/bin/main.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 5 | / input!{ [INFO] [stdout] 6 | | n: usize, [INFO] [stdout] 7 | | a: [(i64, i64); n] [INFO] [stdout] 8 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] ... [INFO] [stdout] 40 | let $var = read!($iter, $t); [INFO] [stdout] | ^^^^ [INFO] [stdout] = note: this warning originates in the macro `input_inner` which comes from the expansion of the macro `input` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut output = std::io::BufWriter::new(std::io::stdout()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bin/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut output = std::io::BufWriter::new(std::io::stdout()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dalgo-library-rs` (lib test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "ccfd7ee5a79ae8857a8aa5fbd799b55655a8c7b4594d4750ca2f298bd7e65893", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccfd7ee5a79ae8857a8aa5fbd799b55655a8c7b4594d4750ca2f298bd7e65893", kill_on_drop: false }` [INFO] [stdout] ccfd7ee5a79ae8857a8aa5fbd799b55655a8c7b4594d4750ca2f298bd7e65893