[INFO] cloning repository https://github.com/edoubart/logs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/edoubart/logs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedoubart%2Flogs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedoubart%2Flogs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4acdce57cbb095c17a5a1b2c65cfb833267dff21 [INFO] checking edoubart/logs against master#9f48dedc9763334a587c66558974635807a113ed for pr-137394 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedoubart%2Flogs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/edoubart/logs on toolchain 9f48dedc9763334a587c66558974635807a113ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f48dedc9763334a587c66558974635807a113ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/edoubart/logs [INFO] finished tweaking git repo https://github.com/edoubart/logs [INFO] tweaked toml for git repo https://github.com/edoubart/logs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/edoubart/logs 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" "+9f48dedc9763334a587c66558974635807a113ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9f48dedc9763334a587c66558974635807a113ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4865ba4a84f0aa4a64fd5903f86db5f37402d5daf5399442ff7aee2776076dfa [INFO] running `Command { std: "docker" "start" "-a" "4865ba4a84f0aa4a64fd5903f86db5f37402d5daf5399442ff7aee2776076dfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4865ba4a84f0aa4a64fd5903f86db5f37402d5daf5399442ff7aee2776076dfa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4865ba4a84f0aa4a64fd5903f86db5f37402d5daf5399442ff7aee2776076dfa", kill_on_drop: false }` [INFO] [stdout] 4865ba4a84f0aa4a64fd5903f86db5f37402d5daf5399442ff7aee2776076dfa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9f48dedc9763334a587c66558974635807a113ed" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 544b1373c1101484f56900c669cd553bd36097858cc3182b4b18f44b76f6d9d2 [INFO] running `Command { std: "docker" "start" "-a" "544b1373c1101484f56900c669cd553bd36097858cc3182b4b18f44b76f6d9d2", kill_on_drop: false }` [INFO] [stderr] Checking logs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/bin/read_config_try.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | fn read_config_file() -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs` [INFO] [stdout] --> src/bin/read_config_try.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | fs::read_to_string("config.json") [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `fs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 6 + use std::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/bin/read_config_try.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_config() -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/bin/read_config_try.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/bin/read_config_match.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | fn read_config_file() -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs` [INFO] [stdout] --> src/bin/read_config_match.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | fs::read_to_string("config.json") [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `fs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 6 + use std::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/bin/read_config_try.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | fn read_config_file() -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs` [INFO] [stdout] --> src/bin/read_config_try.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | fs::read_to_string("config.json") [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `fs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 6 + use std::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/bin/read_config_try.rs:10:35 [INFO] [stdout] | [INFO] [stdout] 10 | fn get_config() -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/bin/read_config_try.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | fn main() -> Result<(), Error> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/bin/read_config_match.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | fn read_config_file() -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 6 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs` [INFO] [stdout] --> src/bin/read_config_match.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | fs::read_to_string("config.json") [INFO] [stdout] | ^^ use of unresolved module or unlinked crate `fs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 6 + use std::fs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `read_config_match` [INFO] [stdout] --> src/bin/read_config_match.rs:25:2 [INFO] [stdout] | [INFO] [stdout] 25 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/read_config_match.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `logs` (bin "read_config_match" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `logs` (bin "read_config_try") due to 4 previous errors [INFO] [stderr] error: could not compile `logs` (bin "read_config_try" test) due to 4 previous errors [INFO] [stderr] error: could not compile `logs` (bin "read_config_match") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "544b1373c1101484f56900c669cd553bd36097858cc3182b4b18f44b76f6d9d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "544b1373c1101484f56900c669cd553bd36097858cc3182b4b18f44b76f6d9d2", kill_on_drop: false }` [INFO] [stdout] 544b1373c1101484f56900c669cd553bd36097858cc3182b4b18f44b76f6d9d2