[INFO] cloning repository https://github.com/anyatran/graph [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anyatran/graph" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph'... [INFO] [stderr] fatal: write error: No space left on device [INFO] [stderr] fatal: fetch-pack: invalid index-pack output [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/anyatran/graph [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anyatran/graph" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph/refs/tags: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/anyatran/graph [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anyatran/graph" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/pre-commit.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph/hooks/pre-commit.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/anyatran/graph [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anyatran/graph" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/anyatran/graph [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anyatran/graph" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/anyatran/graph [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anyatran/graph" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/anyatran/graph [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anyatran/graph" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/anyatran/graph [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anyatran/graph" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/anyatran/graph [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anyatran/graph" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/anyatran/graph [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anyatran/graph" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/anyatran/graph [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anyatran/graph" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/anyatran/graph [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anyatran/graph" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/anyatran/graph [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anyatran/graph" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/anyatran/graph [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anyatran/graph" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph'... [INFO] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/pre-commit.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph/hooks/pre-commit.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/anyatran/graph [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anyatran/graph" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3435bf92153ecfe2eaaf764c2c57c3ccf28813d7 [INFO] checking anyatran/graph against try#e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837 for pr-143619 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanyatran%2Fgraph" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/anyatran/graph [INFO] finished tweaking git repo https://github.com/anyatran/graph [INFO] tweaked toml for git repo https://github.com/anyatran/graph written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/anyatran/graph on toolchain e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/anyatran/graph 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" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e77d05de31ae4550ffad68415303d47ad142f20d7a35d2eb3d45733a596bf8b [INFO] running `Command { std: "docker" "start" "-a" "6e77d05de31ae4550ffad68415303d47ad142f20d7a35d2eb3d45733a596bf8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e77d05de31ae4550ffad68415303d47ad142f20d7a35d2eb3d45733a596bf8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e77d05de31ae4550ffad68415303d47ad142f20d7a35d2eb3d45733a596bf8b", kill_on_drop: false }` [INFO] [stdout] 6e77d05de31ae4550ffad68415303d47ad142f20d7a35d2eb3d45733a596bf8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e8955075918b6d00525c617f7c34ee2595c70db70b3cf844dc875e4d3604499b" "/opt/rustwide/cargo-home/bin/cargo" "+e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a135a04a3bd49bccc6a04ef9d241df25ef1822a4c17574d1809b122f5e376c3b [INFO] running `Command { std: "docker" "start" "-a" "a135a04a3bd49bccc6a04ef9d241df25ef1822a4c17574d1809b122f5e376c3b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking graph_traversal v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `BufferedReader` in `io` [INFO] [stdout] --> src/main.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | let mut file_buff = io::BufferedReader::new(file); [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `BufferedReader` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `BufferedReader` in `io` [INFO] [stdout] --> src/main.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | let mut file_buff = io::BufferedReader::new(file); [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `BufferedReader` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/main.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | let file = match os::args().tail().first() { [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::env::args; [INFO] [stdout] | [INFO] [stdout] help: if you import `args`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 7 - let file = match os::args().tail().first() { [INFO] [stdout] 7 + let file = match args().tail().first() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `File` in `io` [INFO] [stdout] --> src/main.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | Some(arg) => io::File::open(&Path::new(arg)), [INFO] [stdout] | ^^^^ could not find `File` in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] help: if you import `File`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 8 - Some(arg) => io::File::open(&Path::new(arg)), [INFO] [stdout] 8 + Some(arg) => File::open(&Path::new(arg)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | Some(arg) => io::File::open(&Path::new(arg)), [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `print` in `io::stdio` [INFO] [stdout] --> src/main.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | io::stdio::print("-> "); [INFO] [stdout] | ^^^^^ not found in `io::stdio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `print` in `io::stdio` [INFO] [stdout] --> src/main.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | io::stdio::print("-> "); [INFO] [stdout] | ^^^^^ not found in `io::stdio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `print` in `io::stdio` [INFO] [stdout] --> src/main.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | io::stdio::print("-> "); [INFO] [stdout] | ^^^^^ not found in `io::stdio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `print` in `io::stdio` [INFO] [stdout] --> src/main.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | io::stdio::print(format!("{} ", n).as_slice()); [INFO] [stdout] | ^^^^^ not found in `io::stdio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `print` in `io::stdio` [INFO] [stdout] --> src/main.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | io::stdio::print("\n"); [INFO] [stdout] | ^^^^^ not found in `io::stdio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `print` in `io::stdio` [INFO] [stdout] --> src/main.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | io::stdio::print("-> "); [INFO] [stdout] | ^^^^^ not found in `io::stdio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/main.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | fn load_graph (mut content: io::BufferedReader) -> HashMap> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufferedReader` in module `io` [INFO] [stdout] --> src/main.rs:50:44 [INFO] [stdout] | [INFO] [stdout] 50 | fn load_graph (mut content: io::BufferedReader) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/main.rs:7:26 [INFO] [stdout] | [INFO] [stdout] 7 | let file = match os::args().tail().first() { [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::env::args; [INFO] [stdout] | [INFO] [stdout] help: if you import `args`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 7 - let file = match os::args().tail().first() { [INFO] [stdout] 7 + let file = match args().tail().first() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `File` in `io` [INFO] [stdout] --> src/main.rs:8:26 [INFO] [stdout] | [INFO] [stdout] 8 | Some(arg) => io::File::open(&Path::new(arg)), [INFO] [stdout] | ^^^^ could not find `File` in `io` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::fs::File; [INFO] [stdout] | [INFO] [stdout] help: if you import `File`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 8 - Some(arg) => io::File::open(&Path::new(arg)), [INFO] [stdout] 8 + Some(arg) => File::open(&Path::new(arg)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/main.rs:8:38 [INFO] [stdout] | [INFO] [stdout] 8 | Some(arg) => io::File::open(&Path::new(arg)), [INFO] [stdout] | ^^^^ use of undeclared type `Path` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `print` in `io::stdio` [INFO] [stdout] --> src/main.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | io::stdio::print("-> "); [INFO] [stdout] | ^^^^^ not found in `io::stdio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `print` in `io::stdio` [INFO] [stdout] --> src/main.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | io::stdio::print("-> "); [INFO] [stdout] | ^^^^^ not found in `io::stdio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `print` in `io::stdio` [INFO] [stdout] --> src/main.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | io::stdio::print("-> "); [INFO] [stdout] | ^^^^^ not found in `io::stdio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `print` in `io::stdio` [INFO] [stdout] --> src/main.rs:34:24 [INFO] [stdout] | [INFO] [stdout] 34 | io::stdio::print(format!("{} ", n).as_slice()); [INFO] [stdout] | ^^^^^ not found in `io::stdio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `print` in `io::stdio` [INFO] [stdout] --> src/main.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | io::stdio::print("\n"); [INFO] [stdout] | ^^^^^ not found in `io::stdio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `print` in `io::stdio` [INFO] [stdout] --> src/main.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | io::stdio::print("-> "); [INFO] [stdout] | ^^^^^ not found in `io::stdio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Reader` in this scope [INFO] [stdout] --> src/main.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | fn load_graph (mut content: io::BufferedReader) -> HashMap> { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BufferedReader` in module `io` [INFO] [stdout] --> src/main.rs:50:44 [INFO] [stdout] | [INFO] [stdout] 50 | fn load_graph (mut content: io::BufferedReader) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | io::stdio::print("-> "); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] --> /rustc/e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837/library/std/src/io/mod.rs:344:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | io::stdio::print("-> "); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] --> /rustc/e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837/library/std/src/io/mod.rs:344:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/main.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | io::stdio::print("-> "); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] --> /rustc/e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837/library/std/src/io/mod.rs:344:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/main.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | io::stdio::print("-> "); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] --> /rustc/e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837/library/std/src/io/mod.rs:344:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/main.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | io::stdio::print("-> "); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] --> /rustc/e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837/library/std/src/io/mod.rs:344:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/main.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | io::stdio::print(format!("{} ", n).as_slice()); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] --> /rustc/e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837/library/std/src/io/mod.rs:344:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/main.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | io::stdio::print("-> "); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] --> /rustc/e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837/library/std/src/io/mod.rs:344:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/main.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | io::stdio::print("\n"); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] --> /rustc/e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837/library/std/src/io/mod.rs:344:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/main.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | io::stdio::print(format!("{} ", n).as_slice()); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] --> /rustc/e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837/library/std/src/io/mod.rs:344:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/main.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | io::stdio::print("-> "); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] --> /rustc/e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837/library/std/src/io/mod.rs:344:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/main.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | io::stdio::print("\n"); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] --> /rustc/e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837/library/std/src/io/mod.rs:344:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::binary_heap::BinaryHeap` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::binary_heap::BinaryHeap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `stdio` is private [INFO] [stdout] --> src/main.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | io::stdio::print("-> "); [INFO] [stdout] | ^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `stdio` is defined here [INFO] [stdout] --> /rustc/e784c10fc2dd34bf2bb7b1e51117e35d3f9c5837/library/std/src/io/mod.rs:344:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | if (input_split.clone().count() != 2) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - if (input_split.clone().count() != 2) { [INFO] [stdout] 18 + if input_split.clone().count() != 2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | if (current.as_slice() == end.as_slice()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 77 - if (current.as_slice() == end.as_slice()) { [INFO] [stdout] 77 + if current.as_slice() == end.as_slice() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | if (visited.as_slice().contains(n)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 89 - if (visited.as_slice().contains(n)) { [INFO] [stdout] 89 + if visited.as_slice().contains(n) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | if (!visited.as_slice().contains(¤t)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 94 - if (!visited.as_slice().contains(¤t)) { [INFO] [stdout] 94 + if !visited.as_slice().contains(¤t) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::binary_heap::BinaryHeap` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::binary_heap::BinaryHeap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | if (input_split.clone().count() != 2) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 18 - if (input_split.clone().count() != 2) { [INFO] [stdout] 18 + if input_split.clone().count() != 2 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | if (current.as_slice() == end.as_slice()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 77 - if (current.as_slice() == end.as_slice()) { [INFO] [stdout] 77 + if current.as_slice() == end.as_slice() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | if (visited.as_slice().contains(n)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 89 - if (visited.as_slice().contains(n)) { [INFO] [stdout] 89 + if visited.as_slice().contains(n) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | if (!visited.as_slice().contains(¤t)) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 94 - if (!visited.as_slice().contains(¤t)) { [INFO] [stdout] 94 + if !visited.as_slice().contains(¤t) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0433, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `graph_traversal` (bin "graph_traversal" test) due to 18 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `graph_traversal` (bin "graph_traversal") due to 18 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a135a04a3bd49bccc6a04ef9d241df25ef1822a4c17574d1809b122f5e376c3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a135a04a3bd49bccc6a04ef9d241df25ef1822a4c17574d1809b122f5e376c3b", kill_on_drop: false }` [INFO] [stdout] a135a04a3bd49bccc6a04ef9d241df25ef1822a4c17574d1809b122f5e376c3b