[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] testing darthlukan/lynea against master#414482f6a0d4e7290f614300581a0b55442552a3 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarthlukan%2Flynea" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/darthlukan/lynea on toolchain 414482f6a0d4e7290f614300581a0b55442552a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "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-7-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" "+414482f6a0d4e7290f614300581a0b55442552a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3b244579ac2c2a31987215d331ac430fbb5b9fad873c9e4ff9c871f1fd77655 [INFO] running `Command { std: "docker" "start" "-a" "e3b244579ac2c2a31987215d331ac430fbb5b9fad873c9e4ff9c871f1fd77655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3b244579ac2c2a31987215d331ac430fbb5b9fad873c9e4ff9c871f1fd77655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3b244579ac2c2a31987215d331ac430fbb5b9fad873c9e4ff9c871f1fd77655", kill_on_drop: false }` [INFO] [stdout] e3b244579ac2c2a31987215d331ac430fbb5b9fad873c9e4ff9c871f1fd77655 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+414482f6a0d4e7290f614300581a0b55442552a3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95798f63de3a03b8330af5c3e07242778cfa3315d5a98c0da1fed5964a43217f [INFO] running `Command { std: "docker" "start" "-a" "95798f63de3a03b8330af5c3e07242778cfa3315d5a98c0da1fed5964a43217f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling lynea v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: you might be 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] | you might be missing crate `core` [INFO] [stdout] | help: try using `std` instead of `core`: `std` [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)]` 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] 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 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "95798f63de3a03b8330af5c3e07242778cfa3315d5a98c0da1fed5964a43217f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95798f63de3a03b8330af5c3e07242778cfa3315d5a98c0da1fed5964a43217f", kill_on_drop: false }` [INFO] [stdout] 95798f63de3a03b8330af5c3e07242778cfa3315d5a98c0da1fed5964a43217f