[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/acf4f1e9e479d9abb495b22461d58d58e39893d6 against master#65407954098ca3c19f0d46092cb374b5d3e9dc3c for pr-157841
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarthlukan%2Flynea" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[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-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/darthlukan/lynea on toolchain 65407954098ca3c19f0d46092cb374b5d3e9dc3c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65407954098ca3c19f0d46092cb374b5d3e9dc3c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+65407954098ca3c19f0d46092cb374b5d3e9dc3c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `lynea` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c40a55e0dd8a6630bd42a7fa892160e0cf789f2ce2aa889d35e489e186bfb33f
[INFO] running `Command { std: "docker" "start" "c40a55e0dd8a6630bd42a7fa892160e0cf789f2ce2aa889d35e489e186bfb33f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c40a55e0dd8a6630bd42a7fa892160e0cf789f2ce2aa889d35e489e186bfb33f" "/opt/rustwide/cargo-home/bin/cargo" "+65407954098ca3c19f0d46092cb374b5d3e9dc3c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c40a55e0dd8a6630bd42a7fa892160e0cf789f2ce2aa889d35e489e186bfb33f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c40a55e0dd8a6630bd42a7fa892160e0cf789f2ce2aa889d35e489e186bfb33f" "/opt/rustwide/cargo-home/bin/cargo" "+65407954098ca3c19f0d46092cb374b5d3e9dc3c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `lynea` (manifest) generated 1 warning
[INFO] [stderr]     Checking lynea v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `core` in the crate root
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use core::str::Lines;
[INFO] [stdout]   |     ^^^^ you might be missing crate `core`
[INFO] [stdout]   |
[INFO] [stdout] help: try using `std` instead of `core`
[INFO] [stdout]   |
[INFO] [stdout] 8 - use core::str::Lines;
[INFO] [stdout] 8 + use std::str::Lines;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/main.rs:18:74
[INFO] [stdout]    |
[INFO] [stdout] 18 |         Err(why) => panic!("Unable to open {0}: {1}", PIDONEPATH, Error::description(&why)),
[INFO] [stdout]    |                                                                          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[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[E0433]: cannot find `core` in the crate root
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use core::str::Lines;
[INFO] [stdout]   |     ^^^^ you might be missing crate `core`
[INFO] [stdout]   |
[INFO] [stdout] help: try using `std` instead of `core`
[INFO] [stdout]   |
[INFO] [stdout] 8 - use core::str::Lines;
[INFO] [stdout] 8 + use std::str::Lines;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::path::Path`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::path::Path;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[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] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/main.rs:18:74
[INFO] [stdout]    |
[INFO] [stdout] 18 |         Err(why) => panic!("Unable to open {0}: {1}", PIDONEPATH, Error::description(&why)),
[INFO] [stdout]    |                                                                          ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `lynea` (bin "lynea") due to 3 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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] 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" test) due to 3 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c40a55e0dd8a6630bd42a7fa892160e0cf789f2ce2aa889d35e489e186bfb33f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c40a55e0dd8a6630bd42a7fa892160e0cf789f2ce2aa889d35e489e186bfb33f", kill_on_drop: false }`
[INFO] [stdout] c40a55e0dd8a6630bd42a7fa892160e0cf789f2ce2aa889d35e489e186bfb33f
