[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] testing taka8t/dalgo-library-rs against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftaka8t%2Fdalgo-library-rs" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/taka8t/dalgo-library-rs on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d0636e8519f8263bd43dbad2641dc027689c9260e7bd1877848175bb4b3db87e [INFO] running `Command { std: "docker" "start" "-a" "d0636e8519f8263bd43dbad2641dc027689c9260e7bd1877848175bb4b3db87e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d0636e8519f8263bd43dbad2641dc027689c9260e7bd1877848175bb4b3db87e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0636e8519f8263bd43dbad2641dc027689c9260e7bd1877848175bb4b3db87e", kill_on_drop: false }` [INFO] [stdout] d0636e8519f8263bd43dbad2641dc027689c9260e7bd1877848175bb4b3db87e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 715a7e319b7f80af3535336353c3f6dad48a00d7fe51b9d3ac108a306e3f9c3d [INFO] running `Command { std: "docker" "start" "-a" "715a7e319b7f80af3535336353c3f6dad48a00d7fe51b9d3ac108a306e3f9c3d", kill_on_drop: false }` [INFO] [stderr] Compiling dalgo-library-rs v0.1.0 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.77s [INFO] running `Command { std: "docker" "inspect" "715a7e319b7f80af3535336353c3f6dad48a00d7fe51b9d3ac108a306e3f9c3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "715a7e319b7f80af3535336353c3f6dad48a00d7fe51b9d3ac108a306e3f9c3d", kill_on_drop: false }` [INFO] [stdout] 715a7e319b7f80af3535336353c3f6dad48a00d7fe51b9d3ac108a306e3f9c3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4de232df6935e5e5fb50946da2418b204589c98c52e5d49cf493d70729c29517 [INFO] running `Command { std: "docker" "start" "-a" "4de232df6935e5e5fb50946da2418b204589c98c52e5d49cf493d70729c29517", kill_on_drop: false }` [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dalgo-library-rs v0.1.0 (/opt/rustwide/workdir) [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [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] | ^ help: a local variable with a similar name exists: `f` [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/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/io/mod.rs:991: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_string(&mut test_data).unwrap(); [INFO] [stdout] 133 + f.read_to_end(&mut test_data).unwrap(); [INFO] [stdout] | [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 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "4de232df6935e5e5fb50946da2418b204589c98c52e5d49cf493d70729c29517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4de232df6935e5e5fb50946da2418b204589c98c52e5d49cf493d70729c29517", kill_on_drop: false }` [INFO] [stdout] 4de232df6935e5e5fb50946da2418b204589c98c52e5d49cf493d70729c29517