[INFO] fetching crate fun 0.0.1... [INFO] checking fun-0.0.1 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate fun 0.0.1 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate fun 0.0.1 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate fun 0.0.1 [INFO] finished tweaking crates.io crate fun 0.0.1 [INFO] tweaked toml for crates.io crate fun 0.0.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d2c14110c47382894ae15ab484b92e286eaf1db1f5da26c47f27da78707c1ee2 [INFO] running `Command { std: "docker" "start" "-a" "d2c14110c47382894ae15ab484b92e286eaf1db1f5da26c47f27da78707c1ee2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d2c14110c47382894ae15ab484b92e286eaf1db1f5da26c47f27da78707c1ee2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2c14110c47382894ae15ab484b92e286eaf1db1f5da26c47f27da78707c1ee2", kill_on_drop: false }` [INFO] [stdout] d2c14110c47382894ae15ab484b92e286eaf1db1f5da26c47f27da78707c1ee2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f2a20f010d67a3db3e5505bac0097a3ce33ebf1d42ddbff70ed1c16a153c6b5a [INFO] running `Command { std: "docker" "start" "-a" "f2a20f010d67a3db3e5505bac0097a3ce33ebf1d42ddbff70ed1c16a153c6b5a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking fun v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> src/data/either.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | elim(|&: a| { Ok(a) }, [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> src/data/maybe.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | |&: a| { Option::Some(a) }, [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> src/data/either.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | elim(|&: a| { Ok(a) }, [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected parameter name, found `:` [INFO] [stdout] --> src/data/maybe.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | |&: a| { Option::Some(a) }, [INFO] [stdout] | ^ expected parameter name [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Rand` in this scope [INFO] [stdout] --> src/data/either.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Rand)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> src/data/either.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Rand` in this scope [INFO] [stdout] --> src/data/maybe.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Rand)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> src/data/maybe.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> src/data/void.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `A` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/data/either.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 27 | impl Either { [INFO] [stdout] | - first use of `A` [INFO] [stdout] 28 | #[inline] [INFO] [stdout] 29 | pub fn elim(inl: FL, inr: FR, m: Either) -> R where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `B` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/data/either.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 27 | impl Either { [INFO] [stdout] | - first use of `B` [INFO] [stdout] 28 | #[inline] [INFO] [stdout] 29 | pub fn elim(inl: FL, inr: FR, m: Either) -> R where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `A` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/data/maybe.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 24 | impl Maybe { [INFO] [stdout] | - first use of `A` [INFO] [stdout] 25 | #[inline] [INFO] [stdout] 26 | pub fn elim R>(none: R, some: F, m: Maybe) -> R { [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Rand` in this scope [INFO] [stdout] --> src/data/either.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Rand)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> src/data/either.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'core_intrinsics': intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library [INFO] [stdout] --> src/data/void.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { ::std::intrinsics::unreachable() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(core_intrinsics)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Rand` in this scope [INFO] [stdout] --> src/data/maybe.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Rand)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> src/data/maybe.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Show` in this scope [INFO] [stdout] --> src/data/void.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Show)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `A` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/data/either.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 27 | impl Either { [INFO] [stdout] | - first use of `A` [INFO] [stdout] 28 | #[inline] [INFO] [stdout] 29 | pub fn elim(inl: FL, inr: FR, m: Either) -> R where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `B` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/data/either.rs:29:20 [INFO] [stdout] | [INFO] [stdout] 27 | impl Either { [INFO] [stdout] | - first use of `B` [INFO] [stdout] 28 | #[inline] [INFO] [stdout] 29 | pub fn elim(inl: FL, inr: FR, m: Either) -> R where [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0403]: the name `A` is already used for a generic parameter in this item's generic parameters [INFO] [stdout] --> src/data/maybe.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 24 | impl Maybe { [INFO] [stdout] | - first use of `A` [INFO] [stdout] 25 | #[inline] [INFO] [stdout] 26 | pub fn elim R>(none: R, some: F, m: Maybe) -> R { [INFO] [stdout] | ^ already used [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'core_intrinsics': intrinsics are unlikely to ever be stabilized, instead they should be used through stabilized interfaces in the rest of the standard library [INFO] [stdout] --> src/data/void.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | unsafe { ::std::intrinsics::unreachable() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(core_intrinsics)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn(_)` closure, found `FL` [INFO] [stdout] --> src/data/either.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | elim(inl, inr, m) [INFO] [stdout] | ---- ^^^ expected an `Fn(_)` closure, found `FL` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn(_)` is implemented for `&_` [INFO] [stdout] = help: for that trait implementation, expected `&_`, found `FL` [INFO] [stdout] note: required by a bound in `either::elim` [INFO] [stdout] --> src/data/either.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn elim(inl: FL, inr: FR, m: Either) -> R where [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] 18 | FL: Fn(A) -> R, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `elim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn(_)` closure, found `FR` [INFO] [stdout] --> src/data/either.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | elim(inl, inr, m) [INFO] [stdout] | ---- ^^^ expected an `Fn(_)` closure, found `FR` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn(_)` is implemented for `&_` [INFO] [stdout] = help: for that trait implementation, expected `&_`, found `FR` [INFO] [stdout] note: required by a bound in `either::elim` [INFO] [stdout] --> src/data/either.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn elim(inl: FL, inr: FR, m: Either) -> R where [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] 18 | FL: Fn(A) -> R, [INFO] [stdout] 19 | FR: Fn(B) -> R, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `elim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn(_)` closure, found `F` [INFO] [stdout] --> src/data/maybe.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | elim(none, some, m) [INFO] [stdout] | ---- ^^^^ expected an `Fn(_)` closure, found `F` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn(_)` is implemented for `&_` [INFO] [stdout] = help: for that trait implementation, expected `&_`, found `F` [INFO] [stdout] note: required by a bound in `maybe::elim` [INFO] [stdout] --> src/data/maybe.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn elim R>(none: R, some: F, m: Maybe) -> R { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `elim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'fn_traits' [INFO] [stdout] --> src/data/pair.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pair.call(x) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(fn_traits)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn(_)` closure, found `FL` [INFO] [stdout] --> src/data/either.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 33 | elim(inl, inr, m) [INFO] [stdout] | ---- ^^^ expected an `Fn(_)` closure, found `FL` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn(_)` is implemented for `&_` [INFO] [stdout] = help: for that trait implementation, expected `&_`, found `FL` [INFO] [stdout] note: required by a bound in `either::elim` [INFO] [stdout] --> src/data/either.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn elim(inl: FL, inr: FR, m: Either) -> R where [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] 18 | FL: Fn(A) -> R, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `elim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn(_)` closure, found `FR` [INFO] [stdout] --> src/data/either.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 33 | elim(inl, inr, m) [INFO] [stdout] | ---- ^^^ expected an `Fn(_)` closure, found `FR` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn(_)` is implemented for `&_` [INFO] [stdout] = help: for that trait implementation, expected `&_`, found `FR` [INFO] [stdout] note: required by a bound in `either::elim` [INFO] [stdout] --> src/data/either.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn elim(inl: FL, inr: FR, m: Either) -> R where [INFO] [stdout] | ---- required by a bound in this function [INFO] [stdout] 18 | FL: Fn(A) -> R, [INFO] [stdout] 19 | FR: Fn(B) -> R, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `elim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `Fn(_)` closure, found `F` [INFO] [stdout] --> src/data/maybe.rs:27:20 [INFO] [stdout] | [INFO] [stdout] 27 | elim(none, some, m) [INFO] [stdout] | ---- ^^^^ expected an `Fn(_)` closure, found `F` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Fn(_)` is implemented for `&_` [INFO] [stdout] = help: for that trait implementation, expected `&_`, found `F` [INFO] [stdout] note: required by a bound in `maybe::elim` [INFO] [stdout] --> src/data/maybe.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn elim R>(none: R, some: F, m: Maybe) -> R { [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `elim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'fn_traits' [INFO] [stdout] --> src/data/pair.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pair.call(x) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(fn_traits)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0403, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0403, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fun` (lib test) due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `fun` (lib) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "f2a20f010d67a3db3e5505bac0097a3ce33ebf1d42ddbff70ed1c16a153c6b5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2a20f010d67a3db3e5505bac0097a3ce33ebf1d42ddbff70ed1c16a153c6b5a", kill_on_drop: false }` [INFO] [stdout] f2a20f010d67a3db3e5505bac0097a3ce33ebf1d42ddbff70ed1c16a153c6b5a