[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#7c4ac0603e9ee5295bc802c90575391288a69a8a for pr-124728 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftikue%2Ffizzbuzz" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tikue/fizzbuzz on toolchain 7c4ac0603e9ee5295bc802c90575391288a69a8a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7c4ac0603e9ee5295bc802c90575391288a69a8a" "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-7-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" "+7c4ac0603e9ee5295bc802c90575391288a69a8a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking tikue/fizzbuzz against try#98ebbae35138252af77610c20ea5a5e8bf68d639 for pr-124728 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftikue%2Ffizzbuzz" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tikue/fizzbuzz on toolchain 98ebbae35138252af77610c20ea5a5e8bf68d639 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+98ebbae35138252af77610c20ea5a5e8bf68d639" "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-7-tc2/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" "+98ebbae35138252af77610c20ea5a5e8bf68d639" "fetch" "--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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+98ebbae35138252af77610c20ea5a5e8bf68d639" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4dde6ac494270c17af063f77324dc5e5a5715a77eccbcd18208db2122ac01445 [INFO] running `Command { std: "docker" "start" "-a" "4dde6ac494270c17af063f77324dc5e5a5715a77eccbcd18208db2122ac01445", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4dde6ac494270c17af063f77324dc5e5a5715a77eccbcd18208db2122ac01445", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4dde6ac494270c17af063f77324dc5e5a5715a77eccbcd18208db2122ac01445", kill_on_drop: false }` [INFO] [stdout] 4dde6ac494270c17af063f77324dc5e5a5715a77eccbcd18208db2122ac01445 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+98ebbae35138252af77610c20ea5a5e8bf68d639" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84b46a74ea66c687be54f62942f7d370902a88642982d6ef99369cdceec5bcc5 [INFO] running `Command { std: "docker" "start" "-a" "84b46a74ea66c687be54f62942f7d370902a88642982d6ef99369cdceec5bcc5", 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[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-05; 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-05; 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-05; 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-05; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn const_(a: A) -> Box + Send> where A: Send + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | fn const_(a: A) -> Box + Send> where A: Send + Clone { [INFO] [stdout] | +++ [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-05; 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[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-05; 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[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-05; 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[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/98ebbae35138252af77610c20ea5a5e8bf68d639/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[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-05; 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-05; 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-05; consider upgrading it if it is out of date [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/98ebbae35138252af77610c20ea5a5e8bf68d639/library/core/src/ops/function.rs:76:1 [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-05; consider upgrading it if it is out of date [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] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:15:30 [INFO] [stdout] | [INFO] [stdout] 15 | fn const_(a: A) -> Box + Send> where A: Send + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | fn const_(a: A) -> Box + Send> where A: Send + Clone { [INFO] [stdout] | +++ [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-05; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | let test = |d, s: &str, x: Box + Send>| [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | let test = |d, s: &str, x: Box + Send>| [INFO] [stdout] | +++ [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-05; 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[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-05; 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[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-05; 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[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-05; 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[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/98ebbae35138252af77610c20ea5a5e8bf68d639/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 `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/98ebbae35138252af77610c20ea5a5e8bf68d639/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[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-05; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | let test = |d, s: &str, x: Box + Send>| [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | let test = |d, s: &str, x: Box + Send>| [INFO] [stdout] | +++ [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-05; 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[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-05; 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[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-05; 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: aborting due to 31 previous errors; 2 warnings emitted [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") due to 32 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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; 2 warnings emitted [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; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "84b46a74ea66c687be54f62942f7d370902a88642982d6ef99369cdceec5bcc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84b46a74ea66c687be54f62942f7d370902a88642982d6ef99369cdceec5bcc5", kill_on_drop: false }` [INFO] [stdout] 84b46a74ea66c687be54f62942f7d370902a88642982d6ef99369cdceec5bcc5