[INFO] cloning repository https://github.com/tushcmd/rust-base [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tushcmd/rust-base" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftushcmd%2Frust-base", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftushcmd%2Frust-base'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4a997fbbdc50be63e4253f1e3401108d64ffcd72 [INFO] checking tushcmd/rust-base against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftushcmd%2Frust-base" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tushcmd/rust-base [INFO] finished tweaking git repo https://github.com/tushcmd/rust-base [INFO] tweaked toml for git repo https://github.com/tushcmd/rust-base written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tushcmd/rust-base on toolchain 95813608313bff49cfc1afc393a946a3c085b772 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tushcmd/rust-base 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" "+95813608313bff49cfc1afc393a946a3c085b772" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0be20ef9f5cab71cb75458dbc9cd2d4dba9b28a81d20e5947ce1c32d6be38824 [INFO] running `Command { std: "docker" "start" "-a" "0be20ef9f5cab71cb75458dbc9cd2d4dba9b28a81d20e5947ce1c32d6be38824", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0be20ef9f5cab71cb75458dbc9cd2d4dba9b28a81d20e5947ce1c32d6be38824", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0be20ef9f5cab71cb75458dbc9cd2d4dba9b28a81d20e5947ce1c32d6be38824", kill_on_drop: false }` [INFO] [stdout] 0be20ef9f5cab71cb75458dbc9cd2d4dba9b28a81d20e5947ce1c32d6be38824 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 541126e6315f87fc0c4bfad6d2481a957f3259dcef227ad88f5f36a986461f9c [INFO] running `Command { std: "docker" "start" "-a" "541126e6315f87fc0c4bfad6d2481a957f3259dcef227ad88f5f36a986461f9c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking rust-base v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thiserror` [INFO] [stdout] --> src/error.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(thiserror::Error, Debug)] [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `thiserror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `thiserror` [INFO] [stdout] --> src/error.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(thiserror::Error, Debug)] [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `thiserror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | #[error("Generic error: {0}")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | #[error("Generic error: {0}")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | #[error(transparent)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> src/error.rs:9:4 [INFO] [stdout] | [INFO] [stdout] 9 | #[error(transparent)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> src/error.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | IO(#[from] std::io::Error), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> src/error.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | IO(#[from] std::io::Error), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::Error` [INFO] [stdout] --> src/main.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 11 | fn main() -> Result<()> { [INFO] [stdout] | ---------- expected `error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 14 | for entry in read_dir("./")?.filter_map(|e| e.ok()) { [INFO] [stdout] | --------------^ the trait `From` is not implemented for `error::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, std::io::Error>` [INFO] [stdout] | [INFO] [stdout] note: `error::Error` needs to implement `From` [INFO] [stdout] --> src/error.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `error::Error` [INFO] [stdout] --> src/main.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 11 | fn main() -> Result<()> { [INFO] [stdout] | ---------- expected `error::Error` because of this [INFO] [stdout] ... [INFO] [stdout] 14 | for entry in read_dir("./")?.filter_map(|e| e.ok()) { [INFO] [stdout] | --------------^ the trait `From` is not implemented for `error::Error` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, std::io::Error>` [INFO] [stdout] | [INFO] [stdout] note: `error::Error` needs to implement `From` [INFO] [stdout] --> src/error.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Error { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-base` (bin "rust-base" test) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-base` (bin "rust-base") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "541126e6315f87fc0c4bfad6d2481a957f3259dcef227ad88f5f36a986461f9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "541126e6315f87fc0c4bfad6d2481a957f3259dcef227ad88f5f36a986461f9c", kill_on_drop: false }` [INFO] [stdout] 541126e6315f87fc0c4bfad6d2481a957f3259dcef227ad88f5f36a986461f9c