[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#068609ce766e55d2e7371cd2a86143a6d7e8e2e4 for pr-138952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedoubart%2Flogs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/edoubart/logs on toolchain 068609ce766e55d2e7371cd2a86143a6d7e8e2e4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+068609ce766e55d2e7371cd2a86143a6d7e8e2e4" "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-4-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" "+068609ce766e55d2e7371cd2a86143a6d7e8e2e4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+068609ce766e55d2e7371cd2a86143a6d7e8e2e4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d663207f2aa924b7340ec55f31f79a67a8498be510388c8735c569ca2eae7a4f [INFO] running `Command { std: "docker" "start" "-a" "d663207f2aa924b7340ec55f31f79a67a8498be510388c8735c569ca2eae7a4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d663207f2aa924b7340ec55f31f79a67a8498be510388c8735c569ca2eae7a4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d663207f2aa924b7340ec55f31f79a67a8498be510388c8735c569ca2eae7a4f", kill_on_drop: false }` [INFO] [stdout] d663207f2aa924b7340ec55f31f79a67a8498be510388c8735c569ca2eae7a4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+068609ce766e55d2e7371cd2a86143a6d7e8e2e4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d48a1d1265188aec95012549de251aba901555e8552962491e71289f2ac98f5d [INFO] running `Command { std: "docker" "start" "-a" "d48a1d1265188aec95012549de251aba901555e8552962491e71289f2ac98f5d", 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] 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_try" test) due to 4 previous errors [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] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stderr] error: could not compile `logs` (bin "read_config_match" test) due to 2 previous errors [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] [stderr] error: could not compile `logs` (bin "read_config_match") due to 3 previous errors [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_try") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "d48a1d1265188aec95012549de251aba901555e8552962491e71289f2ac98f5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d48a1d1265188aec95012549de251aba901555e8552962491e71289f2ac98f5d", kill_on_drop: false }` [INFO] [stdout] d48a1d1265188aec95012549de251aba901555e8552962491e71289f2ac98f5d