[INFO] cloning repository https://github.com/shaunmcdonald/file-reader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shaunmcdonald/file-reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/shaunmcdonald/file-reader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shaunmcdonald/file-reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/shaunmcdonald/file-reader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shaunmcdonald/file-reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [INFO] cloning repository https://github.com/shaunmcdonald/file-reader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shaunmcdonald/file-reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [INFO] cloning repository https://github.com/shaunmcdonald/file-reader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shaunmcdonald/file-reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [INFO] cloning repository https://github.com/shaunmcdonald/file-reader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shaunmcdonald/file-reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [INFO] cloning repository https://github.com/shaunmcdonald/file-reader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shaunmcdonald/file-reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [INFO] cloning repository https://github.com/shaunmcdonald/file-reader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shaunmcdonald/file-reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [INFO] cloning repository https://github.com/shaunmcdonald/file-reader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shaunmcdonald/file-reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [INFO] cloning repository https://github.com/shaunmcdonald/file-reader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shaunmcdonald/file-reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [INFO] cloning repository https://github.com/shaunmcdonald/file-reader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shaunmcdonald/file-reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [INFO] cloning repository https://github.com/shaunmcdonald/file-reader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shaunmcdonald/file-reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [INFO] cloning repository https://github.com/shaunmcdonald/file-reader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shaunmcdonald/file-reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [INFO] cloning repository https://github.com/shaunmcdonald/file-reader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shaunmcdonald/file-reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [INFO] cloning repository https://github.com/shaunmcdonald/file-reader [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shaunmcdonald/file-reader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 923fb30a2c941056203f49d2ad180b14f9a4ca63 [INFO] checking shaunmcdonald/file-reader against master#9d28fe39763974a96d61232e96ac856735e4cdd6 for pr-139624 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshaunmcdonald%2Ffile-reader" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shaunmcdonald/file-reader on toolchain 9d28fe39763974a96d61232e96ac856735e4cdd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9d28fe39763974a96d61232e96ac856735e4cdd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shaunmcdonald/file-reader [INFO] finished tweaking git repo https://github.com/shaunmcdonald/file-reader [INFO] tweaked toml for git repo https://github.com/shaunmcdonald/file-reader written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/shaunmcdonald/file-reader 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" "+9d28fe39763974a96d61232e96ac856735e4cdd6" "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-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+9d28fe39763974a96d61232e96ac856735e4cdd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc42cb7bd570f02704257c582bd6ee5df351a4de391d1a6c30b7fb5660ea885d [INFO] running `Command { std: "docker" "start" "-a" "cc42cb7bd570f02704257c582bd6ee5df351a4de391d1a6c30b7fb5660ea885d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc42cb7bd570f02704257c582bd6ee5df351a4de391d1a6c30b7fb5660ea885d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc42cb7bd570f02704257c582bd6ee5df351a4de391d1a6c30b7fb5660ea885d", kill_on_drop: false }` [INFO] [stdout] cc42cb7bd570f02704257c582bd6ee5df351a4de391d1a6c30b7fb5660ea885d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+9d28fe39763974a96d61232e96ac856735e4cdd6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b28b3a84aadd496e0d82047276b2ef121a11cb62dea7f3fb7f80f5d3401b370 [INFO] running `Command { std: "docker" "start" "-a" "1b28b3a84aadd496e0d82047276b2ef121a11cb62dea7f3fb7f80f5d3401b370", kill_on_drop: false }` [INFO] [stderr] Checking file-reader v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0601]: `main` function not found in crate `file_reader` [INFO] [stdout] --> src/main.rs:60:2 [INFO] [stdout] | [INFO] [stdout] 60 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `file-reader` (bin "file-reader") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find function `run_with_file` in module `super` [INFO] [stdout] --> tests/test_main.rs:26:16 [INFO] [stdout] | [INFO] [stdout] 26 | super::run_with_file(file_path).unwrap(); // Assuming you create this function [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run_with_file` in module `super` [INFO] [stdout] --> tests/test_main.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | let result = super::run_with_file(file_path); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run_with_file` in module `super` [INFO] [stdout] --> tests/test_main.rs:58:29 [INFO] [stdout] | [INFO] [stdout] 58 | let result = super::run_with_file(""); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> tests/test_main.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> tests/test_main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `file-reader` (test "test_main") due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1b28b3a84aadd496e0d82047276b2ef121a11cb62dea7f3fb7f80f5d3401b370", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b28b3a84aadd496e0d82047276b2ef121a11cb62dea7f3fb7f80f5d3401b370", kill_on_drop: false }` [INFO] [stdout] 1b28b3a84aadd496e0d82047276b2ef121a11cb62dea7f3fb7f80f5d3401b370