[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 try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandkoan%2Fwretch" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sandkoan/wretch on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-3/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: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46ce694cfeb8c843d2beb4a58d9afedc35e8c38b9ac99607d94681df5f4d61c4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "46ce694cfeb8c843d2beb4a58d9afedc35e8c38b9ac99607d94681df5f4d61c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46ce694cfeb8c843d2beb4a58d9afedc35e8c38b9ac99607d94681df5f4d61c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46ce694cfeb8c843d2beb4a58d9afedc35e8c38b9ac99607d94681df5f4d61c4", kill_on_drop: false }` [INFO] [stdout] 46ce694cfeb8c843d2beb4a58d9afedc35e8c38b9ac99607d94681df5f4d61c4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19744dc2602cec214c761a5a8f6d71f8f5d93502ce0dc593087dfb1c7e895216 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "19744dc2602cec214c761a5a8f6d71f8f5d93502ce0dc593087dfb1c7e895216", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [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] Compiling ring v0.16.19 [INFO] [stderr] Checking wretch v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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] | [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] [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] | [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] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_fmt` found for struct `std::fs::File` in the current scope [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | write!(output, "Hello World")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `std::fs::File` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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] [stderr] error: could not compile `wretch` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `write_fmt` found for struct `std::fs::File` in the current scope [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | write!(output, "Hello World")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `std::fs::File` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for 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] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "19744dc2602cec214c761a5a8f6d71f8f5d93502ce0dc593087dfb1c7e895216", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19744dc2602cec214c761a5a8f6d71f8f5d93502ce0dc593087dfb1c7e895216", kill_on_drop: false }` [INFO] [stdout] 19744dc2602cec214c761a5a8f6d71f8f5d93502ce0dc593087dfb1c7e895216