[INFO] fetching crate maybe_special 1.1.1... [INFO] checking maybe_special-1.1.1 against try#84addd32a13fa2d3f62fe5d99031611147b7fb13 for pr-147565-1 [INFO] extracting crate maybe_special 1.1.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate maybe_special 1.1.1 [INFO] finished tweaking crates.io crate maybe_special 1.1.1 [INFO] tweaked toml for crates.io crate maybe_special 1.1.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate maybe_special 1.1.1 on toolchain 84addd32a13fa2d3f62fe5d99031611147b7fb13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate maybe_special 1.1.1 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" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd1e67a129e2ed8e699166ae85908656ef2ff6bbd04c748faf53ab1030448ff8 [INFO] running `Command { std: "docker" "start" "-a" "cd1e67a129e2ed8e699166ae85908656ef2ff6bbd04c748faf53ab1030448ff8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd1e67a129e2ed8e699166ae85908656ef2ff6bbd04c748faf53ab1030448ff8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd1e67a129e2ed8e699166ae85908656ef2ff6bbd04c748faf53ab1030448ff8", kill_on_drop: false }` [INFO] [stdout] cd1e67a129e2ed8e699166ae85908656ef2ff6bbd04c748faf53ab1030448ff8 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33a009b0ce1dc9c5d625d185cc32d7f9aad558a92088f905a6ff82f1938c3cae [INFO] running `Command { std: "docker" "start" "-a" "33a009b0ce1dc9c5d625d185cc32d7f9aad558a92088f905a6ff82f1938c3cae", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking indexmap v2.11.0 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking litrs v0.5.1 [INFO] [stderr] Checking venial v0.6.1 [INFO] [stderr] Checking maybe_special v1.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: `if` and `else` have incompatible types [INFO] [stdout] --> src/macro.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 80 | let spec_val = specs.iter().enumerate().map(if builder.use_jump_table { [INFO] [stdout] | ______________________________________________________- [INFO] [stdout] 81 | | |(i, _)| quote! { #i + 2 } [INFO] [stdout] | | -------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | the expected closure [INFO] [stdout] | | expected because of this [INFO] [stdout] 82 | | } else { [INFO] [stdout] 83 | |/ |(_, spec): (usize, &Specialisation)| { [INFO] [stdout] 84 | || let spec_ident = &spec.ident; [INFO] [stdout] 85 | || quote! { #spec_ident as *mut () } [INFO] [stdout] 86 | || } [INFO] [stdout] | ||_____________^ one type is more general than the other [INFO] [stdout] 87 | | }); [INFO] [stdout] | |__________- `if` and `else` have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected closure `{closure@src/macro.rs:81:13: 81:21}` [INFO] [stdout] found closure `{closure@src/macro.rs:83:13: 83:50}` [INFO] [stdout] = note: closure has signature: `for<'a, 'b> fn((usize, &'a Specialisation<'b>)) -> proc_macro2::TokenStream` [INFO] [stdout] = note: no two closures, even if identical, have the same type [INFO] [stdout] = help: consider boxing your closure and/or using it as a trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `if` and `else` have incompatible types [INFO] [stdout] --> src/macro.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 80 | let spec_val = specs.iter().enumerate().map(if builder.use_jump_table { [INFO] [stdout] | ______________________________________________________- [INFO] [stdout] 81 | | |(i, _)| quote! { #i + 2 } [INFO] [stdout] | | -------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | the expected closure [INFO] [stdout] | | expected because of this [INFO] [stdout] 82 | | } else { [INFO] [stdout] 83 | |/ |(_, spec): (usize, &Specialisation)| { [INFO] [stdout] 84 | || let spec_ident = &spec.ident; [INFO] [stdout] 85 | || quote! { #spec_ident as *mut () } [INFO] [stdout] 86 | || } [INFO] [stdout] | ||_____________^ one type is more general than the other [INFO] [stdout] 87 | | }); [INFO] [stdout] | |__________- `if` and `else` have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected closure `{closure@src/macro.rs:81:13: 81:21}` [INFO] [stdout] found closure `{closure@src/macro.rs:83:13: 83:50}` [INFO] [stdout] = note: closure has signature: `for<'a, 'b> fn((usize, &'a Specialisation<'b>)) -> proc_macro2::TokenStream` [INFO] [stdout] = note: no two closures, even if identical, have the same type [INFO] [stdout] = help: consider boxing your closure and/or using it as a trait object [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/macro.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | / quote! { [INFO] [stdout] 108 | | unsafe { [INFO] [stdout] 109 | | #jump_ref_ident.store( [INFO] [stdout] 110 | | match (#(#prefix #detect_macro !(#feature_literal)),*) { [INFO] [stdout] ... | [INFO] [stdout] 117 | | #dispatch_call [INFO] [stdout] 118 | | }, [INFO] [stdout] | |_____________^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::quote_bind_next_or_break` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/macro.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | / quote! { [INFO] [stdout] 108 | | unsafe { [INFO] [stdout] 109 | | #jump_ref_ident.store( [INFO] [stdout] 110 | | match (#(#prefix #detect_macro !(#feature_literal)),*) { [INFO] [stdout] ... | [INFO] [stdout] 117 | | #dispatch_call [INFO] [stdout] 118 | | }, [INFO] [stdout] | |_____________^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::quote_bind_next_or_break` which comes from the expansion of the macro `quote` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `maybe_special` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `maybe_special` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "33a009b0ce1dc9c5d625d185cc32d7f9aad558a92088f905a6ff82f1938c3cae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33a009b0ce1dc9c5d625d185cc32d7f9aad558a92088f905a6ff82f1938c3cae", kill_on_drop: false }` [INFO] [stdout] 33a009b0ce1dc9c5d625d185cc32d7f9aad558a92088f905a6ff82f1938c3cae