[INFO] cloning repository https://github.com/uamrws/rust_study [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/uamrws/rust_study" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuamrws%2Frust_study", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuamrws%2Frust_study'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b0fb1b240fb6e750c66e677e4529c4478c164de1 [INFO] checking uamrws/rust_study against try#de39175d9e0f63ff8967b81f9639ba28d11ae6ef for pr-135331 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuamrws%2Frust_study" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/uamrws/rust_study on toolchain de39175d9e0f63ff8967b81f9639ba28d11ae6ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/uamrws/rust_study [INFO] finished tweaking git repo https://github.com/uamrws/rust_study [INFO] tweaked toml for git repo https://github.com/uamrws/rust_study written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/uamrws/rust_study 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" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [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-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9105ba6b00ed19f3afc046c199e96b5f1e9a58ef998dea1cd3f03ebe0cbb8588 [INFO] running `Command { std: "docker" "start" "-a" "9105ba6b00ed19f3afc046c199e96b5f1e9a58ef998dea1cd3f03ebe0cbb8588", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9105ba6b00ed19f3afc046c199e96b5f1e9a58ef998dea1cd3f03ebe0cbb8588", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9105ba6b00ed19f3afc046c199e96b5f1e9a58ef998dea1cd3f03ebe0cbb8588", kill_on_drop: false }` [INFO] [stdout] 9105ba6b00ed19f3afc046c199e96b5f1e9a58ef998dea1cd3f03ebe0cbb8588 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+de39175d9e0f63ff8967b81f9639ba28d11ae6ef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff3e973e02768ba52b48fdb98d49cc9d331a9f5386c40d5a2b2a6b3bb3e28d7e [INFO] running `Command { std: "docker" "start" "-a" "ff3e973e02768ba52b48fdb98d49cc9d331a9f5386c40d5a2b2a6b3bb3e28d7e", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.24 [INFO] [stderr] Compiling futures-channel v0.3.24 [INFO] [stderr] Compiling futures-task v0.3.24 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Checking once_cell v1.14.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Checking section_timer_future v0.1.0 (/opt/rustwide/workdir/section18_async/section_timer_future) [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking section16_raw_pointer v0.1.0 (/opt/rustwide/workdir/section16_raw_pointer) [INFO] [stderr] Compiling anyhow v1.0.64 [INFO] [stderr] Checking smallvec v1.9.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling tokio v1.21.0 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking section15_exception v0.1.0 (/opt/rustwide/workdir/section15_exception) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `thiserror` [INFO] [stdout] --> section15_exception/src/bin/main01.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(thiserror::Error, Debug)] [INFO] [stdout] | ^^^^^^^^^ use of undeclared crate or module `thiserror` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> section15_exception/src/bin/main01.rs:17:7 [INFO] [stdout] | [INFO] [stdout] 17 | #[error("Environment variable not found")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> section15_exception/src/bin/main01.rs:18:35 [INFO] [stdout] | [INFO] [stdout] 18 | EnvironmentVariableNotFound(#[from] std::env::VarError), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `error` in this scope [INFO] [stdout] --> section15_exception/src/bin/main01.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | #[error(transparent)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `from` in this scope [INFO] [stdout] --> section15_exception/src/bin/main01.rs:20:15 [INFO] [stdout] | [INFO] [stdout] 20 | IOError(#[from] std::io::Error), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `MyError` [INFO] [stdout] --> section15_exception/src/bin/main01.rs:10:41 [INFO] [stdout] | [INFO] [stdout] 9 | fn render() -> Result { [INFO] [stdout] | ----------------------- expected `MyError` because of this [INFO] [stdout] 10 | let file = std::env::var("MARKDOWN")?; [INFO] [stdout] | -------------------------^ the trait `From` is not implemented for `MyError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, VarError>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `FromResidual>` is implemented for `Result` [INFO] [stdout] = note: required for `Result` to implement `FromResidual>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `MyError` [INFO] [stdout] --> section15_exception/src/bin/main01.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 9 | fn render() -> Result { [INFO] [stdout] | ----------------------- expected `MyError` because of this [INFO] [stdout] 10 | let file = std::env::var("MARKDOWN")?; [INFO] [stdout] 11 | let source = read_to_string(file)?; [INFO] [stdout] | --------------------^ the trait `From` is not implemented for `MyError` [INFO] [stdout] | | [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, std::io::Error>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the trait `FromResidual>` is implemented for `Result` [INFO] [stdout] = note: required for `Result` to implement `FromResidual>` [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] [stderr] error: could not compile `section15_exception` (bin "main01") due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ff3e973e02768ba52b48fdb98d49cc9d331a9f5386c40d5a2b2a6b3bb3e28d7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff3e973e02768ba52b48fdb98d49cc9d331a9f5386c40d5a2b2a6b3bb3e28d7e", kill_on_drop: false }` [INFO] [stdout] ff3e973e02768ba52b48fdb98d49cc9d331a9f5386c40d5a2b2a6b3bb3e28d7e