[INFO] cloning repository https://github.com/retep007/rustybox [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/retep007/rustybox" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fretep007%2Frustybox", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fretep007%2Frustybox'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 66aa7400ecaf7abbdc9136253c3f8a63217bd69b [INFO] checking retep007/rustybox against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fretep007%2Frustybox" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/retep007/rustybox 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/retep007/rustybox [INFO] finished tweaking git repo https://github.com/retep007/rustybox [INFO] tweaked toml for git repo https://github.com/retep007/rustybox written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/retep007/rustybox 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] Downloading crates ... [INFO] [stderr] Downloaded ctrlc v3.1.3 [INFO] [stderr] Downloaded rustyline v5.0.4 [INFO] [stderr] Downloaded unicode-segmentation v1.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 204239bb28b944228b7a35b71215d52500140f921a4e616657306a43f6b3fadb [INFO] running `Command { std: "docker" "start" "-a" "204239bb28b944228b7a35b71215d52500140f921a4e616657306a43f6b3fadb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "204239bb28b944228b7a35b71215d52500140f921a4e616657306a43f6b3fadb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "204239bb28b944228b7a35b71215d52500140f921a4e616657306a43f6b3fadb", kill_on_drop: false }` [INFO] [stdout] 204239bb28b944228b7a35b71215d52500140f921a4e616657306a43f6b3fadb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] dad7e80b6c797446a2e3a032ffb020228f4c23781d11fb3ae61ba5822ad57769 [INFO] running `Command { std: "docker" "start" "-a" "dad7e80b6c797446a2e3a032ffb020228f4c23781d11fb3ae61ba5822ad57769", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] byteorder v1.3.2 (as host dependency): default, std [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling syn v1.0.7 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling ucd-trie v0.1.2 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking unicode-segmentation v1.5.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling pest v2.1.2 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Compiling pest_meta v2.1.2 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking chrono v0.4.9 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Compiling synstructure v0.12.1 [INFO] [stderr] Compiling pest_generator v2.1.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking ctrlc v3.1.3 [INFO] [stderr] Checking rustyline v5.0.4 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking crabbox v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] error[E0425]: cannot find value `buf` in this scope [INFO] [stdout] --> src/rcrab.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | stdin.read(buf: &mut [u8]) [INFO] [stdout] | ^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rcrab.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 42 | / match fork()? { [INFO] [stdout] 43 | | ForkResult::Parent { .. } => { [INFO] [stdout] 44 | | let mut flags = PollFlags::empty(); [INFO] [stdout] 45 | | flags.insert(PollFlags::POLLIN); [INFO] [stdout] ... | [INFO] [stdout] 87 | | stdin.read(buf: &mut [u8]) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `Result` [INFO] [stdout] ... | [INFO] [stdout] 91 | | ForkResult::Child => run_child(child_write, child_read)?, [INFO] [stdout] 92 | | } [INFO] [stdout] | |_____- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 87 | stdin.read(buf: &mut [u8]); [INFO] [stdout] | + [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 92 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `crabbox` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find value `buf` in this scope [INFO] [stdout] --> src/rcrab.rs:87:28 [INFO] [stdout] | [INFO] [stdout] 87 | stdin.read(buf: &mut [u8]) [INFO] [stdout] | ^^^ expecting a type here because of type ascription [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/rcrab.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 42 | / match fork()? { [INFO] [stdout] 43 | | ForkResult::Parent { .. } => { [INFO] [stdout] 44 | | let mut flags = PollFlags::empty(); [INFO] [stdout] 45 | | flags.insert(PollFlags::POLLIN); [INFO] [stdout] ... | [INFO] [stdout] 87 | | stdin.read(buf: &mut [u8]) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found enum `Result` [INFO] [stdout] ... | [INFO] [stdout] 91 | | ForkResult::Child => run_child(child_write, child_read)?, [INFO] [stdout] 92 | | } [INFO] [stdout] | |_____- expected this to be `()` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 87 | stdin.read(buf: &mut [u8]); [INFO] [stdout] | + [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 92 | }; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [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" "dad7e80b6c797446a2e3a032ffb020228f4c23781d11fb3ae61ba5822ad57769", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dad7e80b6c797446a2e3a032ffb020228f4c23781d11fb3ae61ba5822ad57769", kill_on_drop: false }` [INFO] [stdout] dad7e80b6c797446a2e3a032ffb020228f4c23781d11fb3ae61ba5822ad57769