[INFO] fetching crate kolorz 0.10.1... [INFO] checking kolorz-0.10.1 against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190 [INFO] extracting crate kolorz 0.10.1 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate kolorz 0.10.1 [INFO] finished tweaking crates.io crate kolorz 0.10.1 [INFO] tweaked toml for crates.io crate kolorz 0.10.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kolorz 0.10.1 on toolchain 87f2ecc56b5f6032b075c8934ebc77f28d57183c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kolorz 0.10.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" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eab39abe60edb4f91a30b7bb53fd33432ddab7239444432f103f4581c316bc3f [INFO] running `Command { std: "docker" "start" "-a" "eab39abe60edb4f91a30b7bb53fd33432ddab7239444432f103f4581c316bc3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eab39abe60edb4f91a30b7bb53fd33432ddab7239444432f103f4581c316bc3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eab39abe60edb4f91a30b7bb53fd33432ddab7239444432f103f4581c316bc3f", kill_on_drop: false }` [INFO] [stdout] eab39abe60edb4f91a30b7bb53fd33432ddab7239444432f103f4581c316bc3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5461aa0bb64995a0945b478dcd380fc6a4e74ac63f660948bf8e428b3899f0c8 [INFO] running `Command { std: "docker" "start" "-a" "5461aa0bb64995a0945b478dcd380fc6a4e74ac63f660948bf8e428b3899f0c8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking kolorz v0.10.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:302:25 [INFO] [stdout] | [INFO] [stdout] 302 | let functions = vec![ [INFO] [stdout] | _________________________^ [INFO] [stdout] 303 | | Self::red, [INFO] [stdout] 304 | | Self::purple, [INFO] [stdout] 305 | | Self::blue, [INFO] [stdout] ... | [INFO] [stdout] 309 | | Self::text, [INFO] [stdout] 310 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[fn(&..., _) -> ... {...::red::<_>}; _]`, found `[fn(&Kolor, _) -> KoloredText; 7]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[for<'a> fn(&'a Kolor, _) -> KoloredText {Kolor::red::<_>}; _]` [INFO] [stdout] found array `[for<'a> fn(&'a Kolor, _) -> KoloredText; 7]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `Kolor::red::<_> as for<'a> fn(&'a Kolor, _) -> KoloredText` [INFO] [stdout] help: the return type of this call is `[for<'a> fn(&'a Kolor, _) -> KoloredText; 7]` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:302:25 [INFO] [stdout] | [INFO] [stdout] 302 | let functions = vec![ [INFO] [stdout] | _________________________^ [INFO] [stdout] 303 | | Self::red, [INFO] [stdout] 304 | | Self::purple, [INFO] [stdout] 305 | | Self::blue, [INFO] [stdout] ... | [INFO] [stdout] 309 | | Self::text, [INFO] [stdout] 310 | | ]; [INFO] [stdout] | |_________^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:315:25 [INFO] [stdout] | [INFO] [stdout] 315 | let functions = vec![ [INFO] [stdout] | _________________________^ [INFO] [stdout] 316 | | Self::red, [INFO] [stdout] 317 | | Self::purple, [INFO] [stdout] 318 | | Self::blue, [INFO] [stdout] ... | [INFO] [stdout] 322 | | Self::text, [INFO] [stdout] 323 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[fn(&..., _) -> ... {...::red::<_>}; _]`, found `[fn(&Kolor, _) -> KoloredText; 7]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[for<'a> fn(&'a Kolor, _) -> KoloredText {Kolor::red::<_>}; _]` [INFO] [stdout] found array `[for<'a> fn(&'a Kolor, _) -> KoloredText; 7]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `Kolor::red::<_> as for<'a> fn(&'a Kolor, _) -> KoloredText` [INFO] [stdout] help: the return type of this call is `[for<'a> fn(&'a Kolor, _) -> KoloredText; 7]` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:315:25 [INFO] [stdout] | [INFO] [stdout] 315 | let functions = vec![ [INFO] [stdout] | _________________________^ [INFO] [stdout] 316 | | Self::red, [INFO] [stdout] 317 | | Self::purple, [INFO] [stdout] 318 | | Self::blue, [INFO] [stdout] ... | [INFO] [stdout] 322 | | Self::text, [INFO] [stdout] 323 | | ]; [INFO] [stdout] | |_________^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:302:25 [INFO] [stdout] | [INFO] [stdout] 302 | let functions = vec![ [INFO] [stdout] | _________________________^ [INFO] [stdout] 303 | | Self::red, [INFO] [stdout] 304 | | Self::purple, [INFO] [stdout] 305 | | Self::blue, [INFO] [stdout] ... | [INFO] [stdout] 309 | | Self::text, [INFO] [stdout] 310 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[fn(&..., _) -> ... {...::red::<_>}; _]`, found `[fn(&Kolor, _) -> KoloredText; 7]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[for<'a> fn(&'a Kolor, _) -> KoloredText {Kolor::red::<_>}; _]` [INFO] [stdout] found array `[for<'a> fn(&'a Kolor, _) -> KoloredText; 7]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `Kolor::red::<_> as for<'a> fn(&'a Kolor, _) -> KoloredText` [INFO] [stdout] help: the return type of this call is `[for<'a> fn(&'a Kolor, _) -> KoloredText; 7]` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:302:25 [INFO] [stdout] | [INFO] [stdout] 302 | let functions = vec![ [INFO] [stdout] | _________________________^ [INFO] [stdout] 303 | | Self::red, [INFO] [stdout] 304 | | Self::purple, [INFO] [stdout] 305 | | Self::blue, [INFO] [stdout] ... | [INFO] [stdout] 309 | | Self::text, [INFO] [stdout] 310 | | ]; [INFO] [stdout] | |_________^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:315:25 [INFO] [stdout] | [INFO] [stdout] 315 | let functions = vec![ [INFO] [stdout] | _________________________^ [INFO] [stdout] 316 | | Self::red, [INFO] [stdout] 317 | | Self::purple, [INFO] [stdout] 318 | | Self::blue, [INFO] [stdout] ... | [INFO] [stdout] 322 | | Self::text, [INFO] [stdout] 323 | | ]; [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________expected `[fn(&..., _) -> ... {...::red::<_>}; _]`, found `[fn(&Kolor, _) -> KoloredText; 7]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[for<'a> fn(&'a Kolor, _) -> KoloredText {Kolor::red::<_>}; _]` [INFO] [stdout] found array `[for<'a> fn(&'a Kolor, _) -> KoloredText; 7]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `Kolor::red::<_> as for<'a> fn(&'a Kolor, _) -> KoloredText` [INFO] [stdout] help: the return type of this call is `[for<'a> fn(&'a Kolor, _) -> KoloredText; 7]` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:315:25 [INFO] [stdout] | [INFO] [stdout] 315 | let functions = vec![ [INFO] [stdout] | _________________________^ [INFO] [stdout] 316 | | Self::red, [INFO] [stdout] 317 | | Self::purple, [INFO] [stdout] 318 | | Self::blue, [INFO] [stdout] ... | [INFO] [stdout] 322 | | Self::text, [INFO] [stdout] 323 | | ]; [INFO] [stdout] | |_________^ this argument influences the return type of `write_box_via_move` [INFO] [stdout] note: function defined here [INFO] [stdout] --> /rustc/87f2ecc56b5f6032b075c8934ebc77f28d57183c/library/alloc/src/intrinsics.rs:15:7 [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kolorz` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `kolorz` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "5461aa0bb64995a0945b478dcd380fc6a4e74ac63f660948bf8e428b3899f0c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5461aa0bb64995a0945b478dcd380fc6a4e74ac63f660948bf8e428b3899f0c8", kill_on_drop: false }` [INFO] [stdout] 5461aa0bb64995a0945b478dcd380fc6a4e74ac63f660948bf8e428b3899f0c8