[INFO] fetching crate fake_headers 0.0.5... [INFO] checking fake_headers-0.0.5 against try#87f2ecc56b5f6032b075c8934ebc77f28d57183c for pr-148190 [INFO] extracting crate fake_headers 0.0.5 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate fake_headers 0.0.5 [INFO] finished tweaking crates.io crate fake_headers 0.0.5 [INFO] tweaked toml for crates.io crate fake_headers 0.0.5 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fake_headers 0.0.5 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [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-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b2b759f67c2302a3b811b8165779956b2b3982d3d758b5d58587308d5810b5e [INFO] running `Command { std: "docker" "start" "-a" "3b2b759f67c2302a3b811b8165779956b2b3982d3d758b5d58587308d5810b5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b2b759f67c2302a3b811b8165779956b2b3982d3d758b5d58587308d5810b5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b2b759f67c2302a3b811b8165779956b2b3982d3d758b5d58587308d5810b5e", kill_on_drop: false }` [INFO] [stdout] 3b2b759f67c2302a3b811b8165779956b2b3982d3d758b5d58587308d5810b5e [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+87f2ecc56b5f6032b075c8934ebc77f28d57183c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 001ae46fc917da4f751c71d93f2520244c144dd51fa56d0ab584797a6cd2f5e7 [INFO] running `Command { std: "docker" "start" "-a" "001ae46fc917da4f751c71d93f2520244c144dd51fa56d0ab584797a6cd2f5e7", kill_on_drop: false }` [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fake_headers v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | let browsers = vec![chrome, opera, firefox]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `[fn() -> String {chrome}; _]`, found `[fn() -> String; 3]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[fn() -> String {chrome}; _]` [INFO] [stdout] found array `[fn() -> String; 3]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `chrome as fn() -> String` [INFO] [stdout] help: the return type of this call is `[fn() -> String; 3]` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | let browsers = vec![chrome, opera, firefox]; [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:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | let browsers = vec![chrome, opera, firefox]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `[fn() -> String {chrome}; _]`, found `[fn() -> String; 3]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[fn() -> String {chrome}; _]` [INFO] [stdout] found array `[fn() -> String; 3]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `chrome as fn() -> String` [INFO] [stdout] help: the return type of this call is `[fn() -> String; 3]` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:63:20 [INFO] [stdout] | [INFO] [stdout] 63 | let browsers = vec![chrome, opera, firefox]; [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:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | let os = vec![windows, macos, linux]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `[fn() -> String {windows}; _]`, found `[fn() -> String; 3]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[fn() -> String {windows}; _]` [INFO] [stdout] found array `[fn() -> String; 3]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `windows as fn() -> String` [INFO] [stdout] help: the return type of this call is `[fn() -> String; 3]` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | let os = vec![windows, macos, linux]; [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:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | let os = vec![windows, macos, linux]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `[fn() -> String {windows}; _]`, found `[fn() -> String; 3]` [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected array `[fn() -> String {windows}; _]` [INFO] [stdout] found array `[fn() -> String; 3]` [INFO] [stdout] = help: consider casting the fn item to a fn pointer: `windows as fn() -> String` [INFO] [stdout] help: the return type of this call is `[fn() -> String; 3]` due to the type of the argument passed [INFO] [stdout] --> src/lib.rs:143:14 [INFO] [stdout] | [INFO] [stdout] 143 | let os = vec![windows, macos, linux]; [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] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fake_headers` (lib test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `fake_headers` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "001ae46fc917da4f751c71d93f2520244c144dd51fa56d0ab584797a6cd2f5e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "001ae46fc917da4f751c71d93f2520244c144dd51fa56d0ab584797a6cd2f5e7", kill_on_drop: false }` [INFO] [stdout] 001ae46fc917da4f751c71d93f2520244c144dd51fa56d0ab584797a6cd2f5e7