[INFO] fetching crate tfc 0.6.0... [INFO] checking tfc-0.6.0 against try#3d9fdbff4f377de96b3a51174e7a64086bee9a5c for pr-81477 [INFO] extracting crate tfc 0.6.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate tfc 0.6.0 on toolchain 3d9fdbff4f377de96b3a51174e7a64086bee9a5c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "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-4/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" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fd9ec8aea82315b043ee7fec5f42dc7c802a7df3dce23c075e55f2b75f6def71 [INFO] running `Command { std: "docker" "start" "-a" "fd9ec8aea82315b043ee7fec5f42dc7c802a7df3dce23c075e55f2b75f6def71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fd9ec8aea82315b043ee7fec5f42dc7c802a7df3dce23c075e55f2b75f6def71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd9ec8aea82315b043ee7fec5f42dc7c802a7df3dce23c075e55f2b75f6def71", kill_on_drop: false }` [INFO] [stdout] fd9ec8aea82315b043ee7fec5f42dc7c802a7df3dce23c075e55f2b75f6def71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:ea7d7bff36b2ba8ce4de8bba1d2dea90376bc481f1a945a913994a8c492e40c1" "/opt/rustwide/cargo-home/bin/cargo" "+3d9fdbff4f377de96b3a51174e7a64086bee9a5c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2982a734fa745ddd4ad22267134fe22eb4200fa30baff00d57e4b38e34fa33b1 [INFO] running `Command { std: "docker" "start" "-a" "2982a734fa745ddd4ad22267134fe22eb4200fa30baff00d57e4b38e34fa33b1", kill_on_drop: false }` [INFO] [stderr] Compiling tfc v0.6.0 (/opt/rustwide/workdir) [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: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:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | 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[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` [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] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] running `Command { std: "docker" "inspect" "2982a734fa745ddd4ad22267134fe22eb4200fa30baff00d57e4b38e34fa33b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2982a734fa745ddd4ad22267134fe22eb4200fa30baff00d57e4b38e34fa33b1", kill_on_drop: false }` [INFO] [stdout] 2982a734fa745ddd4ad22267134fe22eb4200fa30baff00d57e4b38e34fa33b1