[INFO] cloning repository https://github.com/sandkoan/wretch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sandkoan/wretch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandkoan%2Fwretch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandkoan%2Fwretch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e1e7baebc917fea44d504e1fe2f01f49734bba1d [INFO] checking sandkoan/wretch against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandkoan%2Fwretch" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sandkoan/wretch on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sandkoan/wretch [INFO] finished tweaking git repo https://github.com/sandkoan/wretch [INFO] tweaked toml for git repo https://github.com/sandkoan/wretch written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sandkoan/wretch 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 329481f09c864319f3a3328361769135b20b473afc88bb3a3d2bdf4e38d53591 [INFO] running `Command { std: "docker" "start" "-a" "329481f09c864319f3a3328361769135b20b473afc88bb3a3d2bdf4e38d53591", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "329481f09c864319f3a3328361769135b20b473afc88bb3a3d2bdf4e38d53591", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "329481f09c864319f3a3328361769135b20b473afc88bb3a3d2bdf4e38d53591", kill_on_drop: false }` [INFO] [stdout] 329481f09c864319f3a3328361769135b20b473afc88bb3a3d2bdf4e38d53591 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d43e9cfa29e0382fce4d1c9553f34a4ff64361135f8898b124d41c04cd9e790b [INFO] running `Command { std: "docker" "start" "-a" "d43e9cfa29e0382fce4d1c9553f34a4ff64361135f8898b124d41c04cd9e790b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling cc v1.0.66 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Checking wretch v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `data_encoding` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use data_encoding::HEXUPPER; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `data_encoding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `data_encoding` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use data_encoding::HEXUPPER; [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `data_encoding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `E` in this scope [INFO] [stdout] --> src/main.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | fn sha256_digest(mut reader: R) -> Result { [INFO] [stdout] | ^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/cmp.rs:329:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Eq` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 | fn sha256_digest(mut reader: R) -> Result { [INFO] [stdout] | ~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | fn sha256_digest(mut reader: R) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `E` in this scope [INFO] [stdout] --> src/main.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | fn main() -> Result<(), E> { [INFO] [stdout] | ^ help: a trait with a similar name exists: `Eq` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/cmp.rs:329:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Eq` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `E` in this scope [INFO] [stdout] --> src/main.rs:7:60 [INFO] [stdout] | [INFO] [stdout] 7 | fn sha256_digest(mut reader: R) -> Result { [INFO] [stdout] | ^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/cmp.rs:329:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Eq` defined here [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 7 | fn sha256_digest(mut reader: R) -> Result { [INFO] [stdout] | ~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 7 | fn sha256_digest(mut reader: R) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `E` in this scope [INFO] [stdout] --> src/main.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | fn main() -> Result<(), E> { [INFO] [stdout] | ^ help: a trait with a similar name exists: `Eq` [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/cmp.rs:329:1 [INFO] [stdout] | [INFO] [stdout] = note: similarly named trait `Eq` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: cannot write into `std::fs::File` [INFO] [stdout] --> src/main.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | write!(output, "Hello World")?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/io/mod.rs:1822:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `std::fs::File` here [INFO] [stdout] | [INFO] [stdout] note: must implement `io::Write`, `fmt::Write`, or have a `write_fmt` method [INFO] [stdout] --> src/main.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | write!(output, "Hello World")?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `write_fmt` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: cannot write into `std::fs::File` [INFO] [stdout] --> src/main.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | write!(output, "Hello World")?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/io/mod.rs:1822:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `std::fs::File` here [INFO] [stdout] | [INFO] [stdout] note: must implement `io::Write`, `fmt::Write`, or have a `write_fmt` method [INFO] [stdout] --> src/main.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | write!(output, "Hello World")?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Write` which provides `write_fmt` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use std::io::Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wretch` (bin "wretch") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `wretch` (bin "wretch" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "d43e9cfa29e0382fce4d1c9553f34a4ff64361135f8898b124d41c04cd9e790b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d43e9cfa29e0382fce4d1c9553f34a4ff64361135f8898b124d41c04cd9e790b", kill_on_drop: false }` [INFO] [stdout] d43e9cfa29e0382fce4d1c9553f34a4ff64361135f8898b124d41c04cd9e790b [INFO] checking sandkoan/wretch against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandkoan%2Fwretch" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sandkoan/wretch on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sandkoan/wretch [INFO] finished tweaking git repo https://github.com/sandkoan/wretch [INFO] tweaked toml for git repo https://github.com/sandkoan/wretch written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sandkoan/wretch 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a30becd312797322e1a96b1dae9f839b15544328bea63d4f75184d6b8da0f09a [INFO] running `Command { std: "docker" "start" "-a" "a30becd312797322e1a96b1dae9f839b15544328bea63d4f75184d6b8da0f09a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a30becd312797322e1a96b1dae9f839b15544328bea63d4f75184d6b8da0f09a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a30becd312797322e1a96b1dae9f839b15544328bea63d4f75184d6b8da0f09a", kill_on_drop: false }` [INFO] [stdout] a30becd312797322e1a96b1dae9f839b15544328bea63d4f75184d6b8da0f09a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a6d3b87dd9a0695d845b2aa2b68de6cf2fd853b0f24e3f48742fcfb8a5bd1ba [INFO] running `Command { std: "docker" "start" "-a" "7a6d3b87dd9a0695d845b2aa2b68de6cf2fd853b0f24e3f48742fcfb8a5bd1ba", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "7a6d3b87dd9a0695d845b2aa2b68de6cf2fd853b0f24e3f48742fcfb8a5bd1ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a6d3b87dd9a0695d845b2aa2b68de6cf2fd853b0f24e3f48742fcfb8a5bd1ba", kill_on_drop: false }` [INFO] [stdout] 7a6d3b87dd9a0695d845b2aa2b68de6cf2fd853b0f24e3f48742fcfb8a5bd1ba