[INFO] cloning repository https://github.com/PyPylia/maybe_special [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PyPylia/maybe_special" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPyPylia%2Fmaybe_special", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPyPylia%2Fmaybe_special'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c47a99405de56c04ae16e952993b5cfb38a75d27 [INFO] checking PyPylia/maybe_special against try#84addd32a13fa2d3f62fe5d99031611147b7fb13 for pr-147565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPyPylia%2Fmaybe_special" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/PyPylia/maybe_special [INFO] finished tweaking git repo https://github.com/PyPylia/maybe_special [INFO] tweaked toml for git repo https://github.com/PyPylia/maybe_special written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/PyPylia/maybe_special 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 git repo https://github.com/PyPylia/maybe_special 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 41a13decca52749f429515927c13292dd5ed06c25adfa837a14e69d7ec376d40 [INFO] running `Command { std: "docker" "start" "-a" "41a13decca52749f429515927c13292dd5ed06c25adfa837a14e69d7ec376d40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "41a13decca52749f429515927c13292dd5ed06c25adfa837a14e69d7ec376d40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41a13decca52749f429515927c13292dd5ed06c25adfa837a14e69d7ec376d40", kill_on_drop: false }` [INFO] [stdout] 41a13decca52749f429515927c13292dd5ed06c25adfa837a14e69d7ec376d40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1df19c80269416fcf12351ae9be50b35141a4b47631a785ad3edebb927e4b736 [INFO] running `Command { std: "docker" "start" "-a" "1df19c80269416fcf12351ae9be50b35141a4b47631a785ad3edebb927e4b736", kill_on_drop: false }` [INFO] [stderr] Checking proc-macro2 v1.0.101 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking litrs v0.5.1 [INFO] [stderr] Checking venial v0.6.1 [INFO] [stderr] Checking indexmap v2.11.0 [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[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[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] 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) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] running `Command { std: "docker" "inspect" "1df19c80269416fcf12351ae9be50b35141a4b47631a785ad3edebb927e4b736", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1df19c80269416fcf12351ae9be50b35141a4b47631a785ad3edebb927e4b736", kill_on_drop: false }` [INFO] [stdout] 1df19c80269416fcf12351ae9be50b35141a4b47631a785ad3edebb927e4b736