[INFO] cloning repository https://github.com/darthlukan/lynea [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/darthlukan/lynea" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarthlukan%2Flynea", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarthlukan%2Flynea'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] acf4f1e9e479d9abb495b22461d58d58e39893d6 [INFO] checking darthlukan/lynea against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarthlukan%2Flynea" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/darthlukan/lynea on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/darthlukan/lynea [INFO] finished tweaking git repo https://github.com/darthlukan/lynea [INFO] tweaked toml for git repo https://github.com/darthlukan/lynea written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/darthlukan/lynea 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fad8d6d566eb3c4ca0e192569638298da10083f7b3a780186d5895987a436115 [INFO] running `Command { std: "docker" "start" "-a" "fad8d6d566eb3c4ca0e192569638298da10083f7b3a780186d5895987a436115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fad8d6d566eb3c4ca0e192569638298da10083f7b3a780186d5895987a436115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fad8d6d566eb3c4ca0e192569638298da10083f7b3a780186d5895987a436115", kill_on_drop: false }` [INFO] [stdout] fad8d6d566eb3c4ca0e192569638298da10083f7b3a780186d5895987a436115 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e11e7d1eac7102ac23f46aa14e84045d69f298ed32e664cb0dc18a88ea832d8 [INFO] running `Command { std: "docker" "start" "-a" "8e11e7d1eac7102ac23f46aa14e84045d69f298ed32e664cb0dc18a88ea832d8", kill_on_drop: false }` [INFO] [stderr] Checking lynea v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `core`? [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use core::str::Lines; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | maybe a missing crate `core`? [INFO] [stdout] | help: try using `std` instead of `core`: `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: maybe a missing crate `core`? [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use core::str::Lines; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | maybe a missing crate `core`? [INFO] [stdout] | help: try using `std` instead of `core`: `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `lines` exists for struct `File`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | let mut lines: Vec<_> = file.lines(); [INFO] [stdout] | ^^^^^ method cannot be called on `File` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `File: std::io::BufRead` [INFO] [stdout] which is required by `&mut File: std::io::BufRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `lines` exists for struct `File`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:22:34 [INFO] [stdout] | [INFO] [stdout] 22 | let mut lines: Vec<_> = file.lines(); [INFO] [stdout] | ^^^^^ method cannot be called on `File` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `File: std::io::BufRead` [INFO] [stdout] which is required by `&mut File: std::io::BufRead` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 41 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] ... [INFO] [stdout] 44 | return false; [INFO] [stdout] | ^^^^^ expected `()`, found `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:44:16 [INFO] [stdout] | [INFO] [stdout] 41 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] ... [INFO] [stdout] 44 | return false; [INFO] [stdout] | ^^^^^ expected `()`, found `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lynea` (bin "lynea") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `lynea` (bin "lynea" test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "8e11e7d1eac7102ac23f46aa14e84045d69f298ed32e664cb0dc18a88ea832d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e11e7d1eac7102ac23f46aa14e84045d69f298ed32e664cb0dc18a88ea832d8", kill_on_drop: false }` [INFO] [stdout] 8e11e7d1eac7102ac23f46aa14e84045d69f298ed32e664cb0dc18a88ea832d8