[INFO] fetching crate tfc 0.6.0... [INFO] checking tfc-0.6.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate tfc 0.6.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate tfc 0.6.0 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 crates.io crate tfc 0.6.0 [INFO] finished tweaking crates.io crate tfc 0.6.0 [INFO] tweaked toml for crates.io crate tfc 0.6.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate tfc 0.6.0 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio v1.6.2 [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] a4e4f212c8f9f9f92a8944a58a442b9f3785b77b5210da707c7a80c25b6532a4 [INFO] running `Command { std: "docker" "start" "-a" "a4e4f212c8f9f9f92a8944a58a442b9f3785b77b5210da707c7a80c25b6532a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4e4f212c8f9f9f92a8944a58a442b9f3785b77b5210da707c7a80c25b6532a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4e4f212c8f9f9f92a8944a58a442b9f3785b77b5210da707c7a80c25b6532a4", kill_on_drop: false }` [INFO] [stdout] a4e4f212c8f9f9f92a8944a58a442b9f3785b77b5210da707c7a80c25b6532a4 [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] f83ce6014324e2b47eebd7d790c443700df96a0dbf2eedee8585e64d5c64f6e0 [INFO] running `Command { std: "docker" "start" "-a" "f83ce6014324e2b47eebd7d790c443700df96a0dbf2eedee8585e64d5c64f6e0", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling tfc v0.6.0 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/command/execute.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | return Ok(true); [INFO] [stdout] | ^^^^ expected `()`, found `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/command/execute.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 71 | _ => return Ok(false) [INFO] [stdout] | ^^^^^ expected `()`, found `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/command/execute.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | match self { [INFO] [stdout] | _________^ [INFO] [stdout] | |_________| [INFO] [stdout] | || [INFO] [stdout] 67 | || UnicodeCharDown(_) => panic!("UnicodeKeyboardContext is not implemented"), [INFO] [stdout] 68 | || UnicodeCharUp(_) => panic!("UnicodeKeyboardContext is not implemented"), [INFO] [stdout] 69 | || UnicodeChar(_) => panic!("UnicodeKeyboardContext is not implemented"), [INFO] [stdout] 70 | || UnicodeString(_) => panic!("UnicodeKeyboardContext is not implemented"), [INFO] [stdout] 71 | || _ => return Ok(false) [INFO] [stdout] 72 | || }?; [INFO] [stdout] | ||_________-^ unreachable call [INFO] [stdout] | |__________| [INFO] [stdout] | any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/command/execute.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | Ok(true) [INFO] [stdout] | ^^^^ expected `()`, found `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: try expression alternatives have incompatible types [INFO] [stdout] --> src/command/execute.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | if self.execute_unicode(ctx)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `COUNT` found for enum `key::Key` in the current scope [INFO] [stdout] --> src/linux_wayland/mod.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | for k in 0..crate::Key::COUNT { [INFO] [stdout] | ^^^^^ variant or associated item not found in `key::Key` [INFO] [stdout] | [INFO] [stdout] ::: src/enum.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | pub enum $name { [INFO] [stdout] | -------------- variant or associated item `COUNT` not found here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::r#enum::Enum;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tfc` due to 6 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/command/execute.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | return Ok(true); [INFO] [stdout] | ^^^^ expected `()`, found `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/command/execute.rs:71:28 [INFO] [stdout] | [INFO] [stdout] 71 | _ => return Ok(false) [INFO] [stdout] | ^^^^^ expected `()`, found `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/command/execute.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | match self { [INFO] [stdout] | _________^ [INFO] [stdout] | |_________| [INFO] [stdout] | || [INFO] [stdout] 67 | || UnicodeCharDown(_) => panic!("UnicodeKeyboardContext is not implemented"), [INFO] [stdout] 68 | || UnicodeCharUp(_) => panic!("UnicodeKeyboardContext is not implemented"), [INFO] [stdout] 69 | || UnicodeChar(_) => panic!("UnicodeKeyboardContext is not implemented"), [INFO] [stdout] 70 | || UnicodeString(_) => panic!("UnicodeKeyboardContext is not implemented"), [INFO] [stdout] 71 | || _ => return Ok(false) [INFO] [stdout] 72 | || }?; [INFO] [stdout] | ||_________-^ unreachable call [INFO] [stdout] | |__________| [INFO] [stdout] | any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/command/execute.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | Ok(true) [INFO] [stdout] | ^^^^ expected `()`, found `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: try expression alternatives have incompatible types [INFO] [stdout] --> src/command/execute.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | if self.execute_unicode(ctx)? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `bool`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `COUNT` found for enum `key::Key` in the current scope [INFO] [stdout] --> src/linux_wayland/mod.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | for k in 0..crate::Key::COUNT { [INFO] [stdout] | ^^^^^ variant or associated item not found in `key::Key` [INFO] [stdout] | [INFO] [stdout] ::: src/enum.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | pub enum $name { [INFO] [stdout] | -------------- variant or associated item `COUNT` not found here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::r#enum::Enum;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [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" "f83ce6014324e2b47eebd7d790c443700df96a0dbf2eedee8585e64d5c64f6e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f83ce6014324e2b47eebd7d790c443700df96a0dbf2eedee8585e64d5c64f6e0", kill_on_drop: false }` [INFO] [stdout] f83ce6014324e2b47eebd7d790c443700df96a0dbf2eedee8585e64d5c64f6e0