[INFO] cloning repository https://github.com/tikue/fizzbuzz [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tikue/fizzbuzz" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftikue%2Ffizzbuzz", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftikue%2Ffizzbuzz'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9ad97dd64d1f0f8135f44e116c4eb983d1de1000 [INFO] checking tikue/fizzbuzz against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftikue%2Ffizzbuzz" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tikue/fizzbuzz on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tikue/fizzbuzz [INFO] finished tweaking git repo https://github.com/tikue/fizzbuzz [INFO] tweaked toml for git repo https://github.com/tikue/fizzbuzz written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tikue/fizzbuzz 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" "+506512391b1a75ae450d36c9420978402a91abcc" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a40b1e0dea833ff6b627875c3baa14f8fa9cb3948448fd84a3ebba2c1e26eb2 [INFO] running `Command { std: "docker" "start" "-a" "8a40b1e0dea833ff6b627875c3baa14f8fa9cb3948448fd84a3ebba2c1e26eb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a40b1e0dea833ff6b627875c3baa14f8fa9cb3948448fd84a3ebba2c1e26eb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a40b1e0dea833ff6b627875c3baa14f8fa9cb3948448fd84a3ebba2c1e26eb2", kill_on_drop: false }` [INFO] [stdout] 8a40b1e0dea833ff6b627875c3baa14f8fa9cb3948448fd84a3ebba2c1e26eb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33263bdb99b66f4eb40140afa802274715b9fb84d810e08420f81abad4841d70 [INFO] running `Command { std: "docker" "start" "-a" "33263bdb99b66f4eb40140afa802274715b9fb84d810e08420f81abad4841d70", kill_on_drop: false }` [INFO] [stderr] Checking fizzbuzz v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | box Const { x: a } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 16 | Box::new(Const { x: a }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | let x = test(5, "buzz", box Id); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 42 | let x = test(5, "buzz", Box::new(Id)); [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | box Const { x: a } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 16 | Box::new(Const { x: a }) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `box_syntax` has been removed [INFO] [stdout] --> src/main.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | let x = test(5, "buzz", box Id); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `Box::new()` instead [INFO] [stdout] | [INFO] [stdout] 42 | let x = test(5, "buzz", Box::new(Id)); [INFO] [stdout] | ~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | fn fizzbuzz(n: int) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `int` in this scope [INFO] [stdout] --> src/main.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | fn fizzbuzz(n: int) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: rust-call ABI is subject to change [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | extern "rust-call" fn call(&self, (_,): (B,)) -> A { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: rust-call ABI is subject to change [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | extern "rust-call" fn call(&self, (_,): (B,)) -> A { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: rust-call ABI is subject to change [INFO] [stdout] --> src/main.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | extern "rust-call" fn call(&self, (a,): (A,)) -> A { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: rust-call ABI is subject to change [INFO] [stdout] --> src/main.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | extern "rust-call" fn call(&self, (a,): (A,)) -> A { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'fn_traits' [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / extern "rust-call" fn call(&self, (_,): (B,)) -> A { [INFO] [stdout] 8 | | self.x.clone() [INFO] [stdout] 9 | | } [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-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'fn_traits' [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / extern "rust-call" fn call(&self, (_,): (B,)) -> A { [INFO] [stdout] 8 | | self.x.clone() [INFO] [stdout] 9 | | } [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-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'fn_traits' [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / extern "rust-call" fn call(&self, (a,): (A,)) -> A { [INFO] [stdout] 24 | | a [INFO] [stdout] 25 | | } [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-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'fn_traits' [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / extern "rust-call" fn call(&self, (a,): (A,)) -> A { [INFO] [stdout] 24 | | a [INFO] [stdout] 25 | | } [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-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change [INFO] [stdout] --> src/main.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn const_(a: A) -> Box + Send> where A: Send + Clone { [INFO] [stdout] | ^^^^^^^^^^^ help: use parenthetical notation instead: `Fn(B) -> ()` [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change [INFO] [stdout] --> src/main.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn const_(a: A) -> Box + Send> where A: Send + Clone { [INFO] [stdout] | ^^^^^^^^^^^ help: use parenthetical notation instead: `Fn(B) -> ()` [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/main.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn const_(a: A) -> Box + Send> where A: Send + Clone { [INFO] [stdout] | ^^ - help: remove this generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/main.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn const_(a: A) -> Box + Send> where A: Send + Clone { [INFO] [stdout] | ^^ - help: remove this generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0191]: the value of the associated type `Output` in `FnOnce` must be specified [INFO] [stdout] --> src/main.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn const_(a: A) -> Box + Send> where A: Send + Clone { [INFO] [stdout] | ^^^^^^^^^^^ associated type `Output` must be specified [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0191]: the value of the associated type `Output` in `FnOnce` must be specified [INFO] [stdout] --> src/main.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn const_(a: A) -> Box + Send> where A: Send + Clone { [INFO] [stdout] | ^^^^^^^^^^^ associated type `Output` must be specified [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Fn<(B,), A> for Const where A: Send + Clone { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Fn<(B,), A> for Const where A: Send + Clone { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0183]: manual implementations of `Fn` are experimental [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Fn<(B,), A> for Const where A: Send + Clone { [INFO] [stdout] | ^^^^^^^^^^^ manual implementations of `Fn` are experimental [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0183]: manual implementations of `Fn` are experimental [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Fn<(B,), A> for Const where A: Send + Clone { [INFO] [stdout] | ^^^^^^^^^^^ manual implementations of `Fn` are experimental [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Fn<(B,), A> for Const where A: Send + Clone { [INFO] [stdout] | ^^ - help: remove this generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl Fn<(B,), A> for Const where A: Send + Clone { [INFO] [stdout] | ^^ - help: remove this generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | impl Fn<(A,), A> for Id { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | impl Fn<(A,), A> for Id { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0183]: manual implementations of `Fn` are experimental [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | impl Fn<(A,), A> for Id { [INFO] [stdout] | ^^^^^^^^^^^ manual implementations of `Fn` are experimental [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0183]: manual implementations of `Fn` are experimental [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | impl Fn<(A,), A> for Id { [INFO] [stdout] | ^^^^^^^^^^^ manual implementations of `Fn` are experimental [INFO] [stdout] | [INFO] [stdout] = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | impl Fn<(A,), A> for Id { [INFO] [stdout] | ^^ - help: remove this generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/main.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | impl Fn<(A,), A> for Id { [INFO] [stdout] | ^^ - help: remove this generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnMut(B)` closure, found `Const` [INFO] [stdout] --> src/main.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | impl Fn<(B,), A> for Const where A: Send + Clone { [INFO] [stdout] | ^^^^^^^^ expected an `FnMut(B)` closure, found `Const` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnMut<(B,)>` is not implemented for `Const` [INFO] [stdout] note: required by a bound in `Fn` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/ops/function.rs:76:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnMut(B)` closure, found `Const` [INFO] [stdout] --> src/main.rs:6:28 [INFO] [stdout] | [INFO] [stdout] 6 | impl Fn<(B,), A> for Const where A: Send + Clone { [INFO] [stdout] | ^^^^^^^^ expected an `FnMut(B)` closure, found `Const` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnMut<(B,)>` is not implemented for `Const` [INFO] [stdout] note: required by a bound in `Fn` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/ops/function.rs:76:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnOnce(B)` closure, found `Const` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | extern "rust-call" fn call(&self, (_,): (B,)) -> A { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `FnOnce(B)` closure, found `Const` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnOnce<(B,)>` is not implemented for `Const` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnOnce(B)` closure, found `Const` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | extern "rust-call" fn call(&self, (_,): (B,)) -> A { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `FnOnce(B)` closure, found `Const` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnOnce<(B,)>` is not implemented for `Const` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnMut(A)` closure, found `Id` [INFO] [stdout] --> src/main.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | impl Fn<(A,), A> for Id { [INFO] [stdout] | ^^ expected an `FnMut(A)` closure, found `Id` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnMut<(A,)>` is not implemented for `Id` [INFO] [stdout] note: required by a bound in `Fn` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/ops/function.rs:76:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnMut(A)` closure, found `Id` [INFO] [stdout] --> src/main.rs:22:25 [INFO] [stdout] | [INFO] [stdout] 22 | impl Fn<(A,), A> for Id { [INFO] [stdout] | ^^ expected an `FnMut(A)` closure, found `Id` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnMut<(A,)>` is not implemented for `Id` [INFO] [stdout] note: required by a bound in `Fn` [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/ops/function.rs:76:1 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnOnce(A)` closure, found `Id` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | extern "rust-call" fn call(&self, (a,): (A,)) -> A { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `FnOnce(A)` closure, found `Id` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnOnce<(A,)>` is not implemented for `Id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: expected a `FnOnce(A)` closure, found `Id` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | extern "rust-call" fn call(&self, (a,): (A,)) -> A { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected an `FnOnce(A)` closure, found `Id` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FnOnce<(A,)>` is not implemented for `Id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change [INFO] [stdout] --> src/main.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | let test = |d, s: &str, x: Box + Send>| [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use parenthetical notation instead: `Fn(String) -> ()` [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: the precise format of `Fn`-family traits' type parameters is subject to change [INFO] [stdout] --> src/main.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | let test = |d, s: &str, x: Box + Send>| [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use parenthetical notation instead: `Fn(String) -> ()` [INFO] [stdout] | [INFO] [stdout] = note: see issue #29625 for more information [INFO] [stdout] = help: add `#![feature(unboxed_closures)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/main.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | let test = |d, s: &str, x: Box + Send>| [INFO] [stdout] | ^^ ------ help: remove this generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: trait takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> src/main.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | let test = |d, s: &str, x: Box + Send>| [INFO] [stdout] | ^^ ------ help: remove this generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0191]: the value of the associated type `Output` in `FnOnce` must be specified [INFO] [stdout] --> src/main.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | let test = |d, s: &str, x: Box + Send>| [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ associated type `Output` must be specified [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0191]: the value of the associated type `Output` in `FnOnce` must be specified [INFO] [stdout] --> src/main.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | let test = |d, s: &str, x: Box + Send>| [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ associated type `Output` must be specified [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'fn_traits' [INFO] [stdout] --> src/main.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | const_(s.to_string() + x.call(("".to_string(),))) [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-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'fn_traits' [INFO] [stdout] --> src/main.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | const_(s.to_string() + x.call(("".to_string(),))) [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-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | const_(s.to_string() + x.call(("".to_string(),))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found associated type [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found associated type ` + Send as FnOnce<(String,)>>::Output` [INFO] [stdout] = help: consider constraining the associated type ` + Send as FnOnce<(String,)>>::Output` to `&str` [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | const_(s.to_string() + x.call(("".to_string(),))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found associated type [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found associated type ` + Send as FnOnce<(String,)>>::Output` [INFO] [stdout] = help: consider constraining the associated type ` + Send as FnOnce<(String,)>>::Output` to `&str` [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'fn_traits' [INFO] [stdout] --> src/main.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | x2.call((n.to_string(),)) [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-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 34 | fn fizzbuzz(n: int) -> String { [INFO] [stdout] | ------ expected `String` because of return type [INFO] [stdout] ... [INFO] [stdout] 44 | x2.call((n.to_string(),)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `String`, found associated type [INFO] [stdout] | [INFO] [stdout] = note: expected struct `String` [INFO] [stdout] found associated type ` + Send as FnOnce<(String,)>>::Output` [INFO] [stdout] = help: consider constraining the associated type ` + Send as FnOnce<(String,)>>::Output` to `String` [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'fn_traits' [INFO] [stdout] --> src/main.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | x2.call((n.to_string(),)) [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-05-21; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 34 | fn fizzbuzz(n: int) -> String { [INFO] [stdout] | ------ expected `String` because of return type [INFO] [stdout] ... [INFO] [stdout] 44 | x2.call((n.to_string(),)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `String`, found associated type [INFO] [stdout] | [INFO] [stdout] = note: expected struct `String` [INFO] [stdout] found associated type ` + Send as FnOnce<(String,)>>::Output` [INFO] [stdout] = help: consider constraining the associated type ` + Send as FnOnce<(String,)>>::Output` to `String` [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | assert!(fizzbuzz(3).as_slice() == "fizz"); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:48:25 [INFO] [stdout] | [INFO] [stdout] 48 | assert!(fizzbuzz(3).as_slice() == "fizz"); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | assert!(fizzbuzz(5).as_slice() == "buzz"); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:49:25 [INFO] [stdout] | [INFO] [stdout] 49 | assert!(fizzbuzz(5).as_slice() == "buzz"); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | assert!(fizzbuzz(15).as_slice() == "fizzbuzz"); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | assert!(fizzbuzz(15).as_slice() == "fizzbuzz"); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | assert!(fizzbuzz(7).as_slice() == "7"); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:51:25 [INFO] [stdout] | [INFO] [stdout] 51 | assert!(fizzbuzz(7).as_slice() == "7"); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0183, E0191, E0277, E0308, E0412, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 31 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0183, E0191, E0277, E0308, E0412, E0599, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fizzbuzz` (bin "fizzbuzz" test) due to 32 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `fizzbuzz` (bin "fizzbuzz") due to 32 previous errors [INFO] running `Command { std: "docker" "inspect" "33263bdb99b66f4eb40140afa802274715b9fb84d810e08420f81abad4841d70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33263bdb99b66f4eb40140afa802274715b9fb84d810e08420f81abad4841d70", kill_on_drop: false }` [INFO] [stdout] 33263bdb99b66f4eb40140afa802274715b9fb84d810e08420f81abad4841d70