[INFO] cloning repository https://github.com/shubhamdixit863/rustgraph [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shubhamdixit863/rustgraph" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshubhamdixit863%2Frustgraph", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshubhamdixit863%2Frustgraph'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ea485396bc89c3c49c6c8e185724ee4c6f30a026 [INFO] checking shubhamdixit863/rustgraph against try#8384de5d92dd9b1c0b67caa5c1c1b11bf606490f for pr-146300 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshubhamdixit863%2Frustgraph" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/shubhamdixit863/rustgraph [INFO] finished tweaking git repo https://github.com/shubhamdixit863/rustgraph [INFO] tweaked toml for git repo https://github.com/shubhamdixit863/rustgraph written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shubhamdixit863/rustgraph on toolchain 8384de5d92dd9b1c0b67caa5c1c1b11bf606490f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/shubhamdixit863/rustgraph 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" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75b93a2e3015c2b0a8e8472fe7dfdb7362ace68fb9d7f89bcf57390eb8b6c788 [INFO] running `Command { std: "docker" "start" "-a" "75b93a2e3015c2b0a8e8472fe7dfdb7362ace68fb9d7f89bcf57390eb8b6c788", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75b93a2e3015c2b0a8e8472fe7dfdb7362ace68fb9d7f89bcf57390eb8b6c788", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75b93a2e3015c2b0a8e8472fe7dfdb7362ace68fb9d7f89bcf57390eb8b6c788", kill_on_drop: false }` [INFO] [stdout] 75b93a2e3015c2b0a8e8472fe7dfdb7362ace68fb9d7f89bcf57390eb8b6c788 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+8384de5d92dd9b1c0b67caa5c1c1b11bf606490f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d33f726de3d70ae54dbd52884d03c1545c8cd87049c88264aa87f88a820ab3b9 [INFO] running `Command { std: "docker" "start" "-a" "d33f726de3d70ae54dbd52884d03c1545c8cd87049c88264aa87f88a820ab3b9", kill_on_drop: false }` [INFO] [stderr] Checking graphproject v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/fileread/read.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{self, BufRead,BufReader}; [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 import: `self` [INFO] [stdout] --> src/fileread/read.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{self, BufRead,BufReader}; [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: `line` [INFO] [stdout] --> src/fileread/read.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | let line=line; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line` [INFO] [stdout] --> src/fileread/read.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | let line=line; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 9 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] ... [INFO] [stdout] 25 | read::file_read() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `()`, found `Result<(), Error>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<(), std::io::Error>` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 25 | read::file_read(); [INFO] [stdout] | + [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result<(), std::io::Error>` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 25 | read::file_read().expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 9 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] ... [INFO] [stdout] 25 | read::file_read() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ expected `()`, found `Result<(), Error>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<(), std::io::Error>` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 25 | read::file_read(); [INFO] [stdout] | + [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result<(), std::io::Error>` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 25 | read::file_read().expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `graphproject` (bin "graphproject") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `graphproject` (bin "graphproject" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "d33f726de3d70ae54dbd52884d03c1545c8cd87049c88264aa87f88a820ab3b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d33f726de3d70ae54dbd52884d03c1545c8cd87049c88264aa87f88a820ab3b9", kill_on_drop: false }` [INFO] [stdout] d33f726de3d70ae54dbd52884d03c1545c8cd87049c88264aa87f88a820ab3b9