[INFO] cloning repository https://github.com/linyinfeng/boxed-closure [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/linyinfeng/boxed-closure" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinyinfeng%2Fboxed-closure", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinyinfeng%2Fboxed-closure'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 303a57c83bd1a2208c19624edc8ed5383eb702a1 [INFO] checking linyinfeng/boxed-closure/303a57c83bd1a2208c19624edc8ed5383eb702a1 against master#cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 for pr-135841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinyinfeng%2Fboxed-closure" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/linyinfeng/boxed-closure on toolchain cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/linyinfeng/boxed-closure [INFO] finished tweaking git repo https://github.com/linyinfeng/boxed-closure [INFO] tweaked toml for git repo https://github.com/linyinfeng/boxed-closure written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/linyinfeng/boxed-closure 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" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccd5549311631d078e0e185150449b7bf825393c20cd575666c94b841c07cf42 [INFO] running `Command { std: "docker" "start" "-a" "ccd5549311631d078e0e185150449b7bf825393c20cd575666c94b841c07cf42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccd5549311631d078e0e185150449b7bf825393c20cd575666c94b841c07cf42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccd5549311631d078e0e185150449b7bf825393c20cd575666c94b841c07cf42", kill_on_drop: false }` [INFO] [stdout] ccd5549311631d078e0e185150449b7bf825393c20cd575666c94b841c07cf42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8560517015beb64f7296297de1060357536187d911a19735e05db2fc86693c0f [INFO] running `Command { std: "docker" "start" "-a" "8560517015beb64f7296297de1060357536187d911a19735e05db2fc86693c0f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking boxed-closure v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0059]: type parameter to bare `FnOnce` trait must be a tuple [INFO] [stdout] --> src/move_closure.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | impl FnOnce for MoveClosure { [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Tuple` is not implemented for `Args` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `FnOnce` [INFO] [stdout] --> /rustc/cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3/library/core/src/ops/function.rs:242:1 [INFO] [stdout] help: consider restricting type parameter `Args` with unstable trait `Tuple` [INFO] [stdout] | [INFO] [stdout] 13 | impl FnOnce for MoveClosure { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: functions with the "rust-call" ABI must take a single non-self tuple argument [INFO] [stdout] --> src/move_closure.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | extern "rust-call" fn call_once(self, args: Args) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `Args` [INFO] [stdout] | [INFO] [stdout] help: consider restricting type parameter `Args` with unstable trait `Tuple` [INFO] [stdout] | [INFO] [stdout] 13 | impl FnOnce for MoveClosure { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0059]: type parameter to bare `FnOnce` trait must be a tuple [INFO] [stdout] --> src/ref_mut_closure.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | impl FnOnce for RefMutClosure { [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Tuple` is not implemented for `Args` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `FnOnce` [INFO] [stdout] --> /rustc/cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3/library/core/src/ops/function.rs:242:1 [INFO] [stdout] help: consider restricting type parameter `Args` with unstable trait `Tuple` [INFO] [stdout] | [INFO] [stdout] 13 | impl FnOnce for RefMutClosure { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0059]: type parameter to bare `FnMut` trait must be a tuple [INFO] [stdout] --> src/ref_mut_closure.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | impl FnMut for RefMutClosure { [INFO] [stdout] | ^^^^^^^^^^^ the trait `Tuple` is not implemented for `Args` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `FnMut` [INFO] [stdout] --> /rustc/cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3/library/core/src/ops/function.rs:163:1 [INFO] [stdout] help: consider restricting type parameter `Args` with unstable trait `Tuple` [INFO] [stdout] | [INFO] [stdout] 20 | impl FnMut for RefMutClosure { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: functions with the "rust-call" ABI must take a single non-self tuple argument [INFO] [stdout] --> src/ref_mut_closure.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | extern "rust-call" fn call_once(mut self, args: Args) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `Args` [INFO] [stdout] | [INFO] [stdout] help: consider restricting type parameter `Args` with unstable trait `Tuple` [INFO] [stdout] | [INFO] [stdout] 13 | impl FnOnce for RefMutClosure { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: functions with the "rust-call" ABI must take a single non-self tuple argument [INFO] [stdout] --> src/ref_mut_closure.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | extern "rust-call" fn call_mut(&mut self, args: Args) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `Args` [INFO] [stdout] | [INFO] [stdout] help: consider restricting type parameter `Args` with unstable trait `Tuple` [INFO] [stdout] | [INFO] [stdout] 20 | impl FnMut for RefMutClosure { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0059]: type parameter to bare `FnOnce` trait must be a tuple [INFO] [stdout] --> src/ref_closure.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | impl FnOnce for RefClosure { [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Tuple` is not implemented for `Args` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `FnOnce` [INFO] [stdout] --> /rustc/cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3/library/core/src/ops/function.rs:242:1 [INFO] [stdout] help: consider restricting type parameter `Args` with unstable trait `Tuple` [INFO] [stdout] | [INFO] [stdout] 13 | impl FnOnce for RefClosure { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0059]: type parameter to bare `FnMut` trait must be a tuple [INFO] [stdout] --> src/ref_closure.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | impl FnMut for RefClosure { [INFO] [stdout] | ^^^^^^^^^^^ the trait `Tuple` is not implemented for `Args` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `FnMut` [INFO] [stdout] --> /rustc/cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3/library/core/src/ops/function.rs:163:1 [INFO] [stdout] help: consider restricting type parameter `Args` with unstable trait `Tuple` [INFO] [stdout] | [INFO] [stdout] 20 | impl FnMut for RefClosure { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0059]: type parameter to bare `Fn` trait must be a tuple [INFO] [stdout] --> src/ref_closure.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | impl Fn for RefClosure { [INFO] [stdout] | ^^^^^^^^ the trait `Tuple` is not implemented for `Args` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Fn` [INFO] [stdout] --> /rustc/cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3/library/core/src/ops/function.rs:76:1 [INFO] [stdout] help: consider restricting type parameter `Args` with unstable trait `Tuple` [INFO] [stdout] | [INFO] [stdout] 26 | impl Fn for RefClosure { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: functions with the "rust-call" ABI must take a single non-self tuple argument [INFO] [stdout] --> src/ref_closure.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | extern "rust-call" fn call_once(self, args: Args) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `Args` [INFO] [stdout] | [INFO] [stdout] help: consider restricting type parameter `Args` with unstable trait `Tuple` [INFO] [stdout] | [INFO] [stdout] 13 | impl FnOnce for RefClosure { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: functions with the "rust-call" ABI must take a single non-self tuple argument [INFO] [stdout] --> src/ref_closure.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | extern "rust-call" fn call_mut(&mut self, args: Args) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `Args` [INFO] [stdout] | [INFO] [stdout] help: consider restricting type parameter `Args` with unstable trait `Tuple` [INFO] [stdout] | [INFO] [stdout] 20 | impl FnMut for RefClosure { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: functions with the "rust-call" ABI must take a single non-self tuple argument [INFO] [stdout] --> src/ref_closure.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | extern "rust-call" fn call(&self, args: Args) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `Args` [INFO] [stdout] | [INFO] [stdout] help: consider restricting type parameter `Args` with unstable trait `Tuple` [INFO] [stdout] | [INFO] [stdout] 26 | impl Fn for RefClosure { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0059, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0059`. [INFO] [stdout] [INFO] [stderr] error: could not compile `boxed-closure` (lib) due to 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0059]: type parameter to bare `FnOnce` trait must be a tuple [INFO] [stdout] --> src/move_closure.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | impl FnOnce for MoveClosure { [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Tuple` is not implemented for `Args` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `FnOnce` [INFO] [stdout] --> /rustc/cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3/library/core/src/ops/function.rs:242:1 [INFO] [stdout] help: consider restricting type parameter `Args` with unstable trait `Tuple` [INFO] [stdout] | [INFO] [stdout] 13 | impl FnOnce for MoveClosure { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: functions with the "rust-call" ABI must take a single non-self tuple argument [INFO] [stdout] --> src/move_closure.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | extern "rust-call" fn call_once(self, args: Args) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `Args` [INFO] [stdout] | [INFO] [stdout] help: consider restricting type parameter `Args` with unstable trait `Tuple` [INFO] [stdout] | [INFO] [stdout] 13 | impl FnOnce for MoveClosure { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0059]: type parameter to bare `FnOnce` trait must be a tuple [INFO] [stdout] --> src/ref_mut_closure.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | impl FnOnce for RefMutClosure { [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Tuple` is not implemented for `Args` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `FnOnce` [INFO] [stdout] --> /rustc/cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3/library/core/src/ops/function.rs:242:1 [INFO] [stdout] help: consider restricting type parameter `Args` with unstable trait `Tuple` [INFO] [stdout] | [INFO] [stdout] 13 | impl FnOnce for RefMutClosure { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0059]: type parameter to bare `FnMut` trait must be a tuple [INFO] [stdout] --> src/ref_mut_closure.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | impl FnMut for RefMutClosure { [INFO] [stdout] | ^^^^^^^^^^^ the trait `Tuple` is not implemented for `Args` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `FnMut` [INFO] [stdout] --> /rustc/cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3/library/core/src/ops/function.rs:163:1 [INFO] [stdout] help: consider restricting type parameter `Args` with unstable trait `Tuple` [INFO] [stdout] | [INFO] [stdout] 20 | impl FnMut for RefMutClosure { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: functions with the "rust-call" ABI must take a single non-self tuple argument [INFO] [stdout] --> src/ref_mut_closure.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | extern "rust-call" fn call_once(mut self, args: Args) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `Args` [INFO] [stdout] | [INFO] [stdout] help: consider restricting type parameter `Args` with unstable trait `Tuple` [INFO] [stdout] | [INFO] [stdout] 13 | impl FnOnce for RefMutClosure { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: functions with the "rust-call" ABI must take a single non-self tuple argument [INFO] [stdout] --> src/ref_mut_closure.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | extern "rust-call" fn call_mut(&mut self, args: Args) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `Args` [INFO] [stdout] | [INFO] [stdout] help: consider restricting type parameter `Args` with unstable trait `Tuple` [INFO] [stdout] | [INFO] [stdout] 20 | impl FnMut for RefMutClosure { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0059]: type parameter to bare `FnOnce` trait must be a tuple [INFO] [stdout] --> src/ref_closure.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | impl FnOnce for RefClosure { [INFO] [stdout] | ^^^^^^^^^^^^ the trait `Tuple` is not implemented for `Args` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `FnOnce` [INFO] [stdout] --> /rustc/cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3/library/core/src/ops/function.rs:242:1 [INFO] [stdout] help: consider restricting type parameter `Args` with unstable trait `Tuple` [INFO] [stdout] | [INFO] [stdout] 13 | impl FnOnce for RefClosure { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0059]: type parameter to bare `FnMut` trait must be a tuple [INFO] [stdout] --> src/ref_closure.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | impl FnMut for RefClosure { [INFO] [stdout] | ^^^^^^^^^^^ the trait `Tuple` is not implemented for `Args` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `FnMut` [INFO] [stdout] --> /rustc/cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3/library/core/src/ops/function.rs:163:1 [INFO] [stdout] help: consider restricting type parameter `Args` with unstable trait `Tuple` [INFO] [stdout] | [INFO] [stdout] 20 | impl FnMut for RefClosure { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0059]: type parameter to bare `Fn` trait must be a tuple [INFO] [stdout] --> src/ref_closure.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | impl Fn for RefClosure { [INFO] [stdout] | ^^^^^^^^ the trait `Tuple` is not implemented for `Args` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Fn` [INFO] [stdout] --> /rustc/cd805f09ffbfa3896c8f50a619de9b67e1d9f3c3/library/core/src/ops/function.rs:76:1 [INFO] [stdout] help: consider restricting type parameter `Args` with unstable trait `Tuple` [INFO] [stdout] | [INFO] [stdout] 26 | impl Fn for RefClosure { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: functions with the "rust-call" ABI must take a single non-self tuple argument [INFO] [stdout] --> src/ref_closure.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | extern "rust-call" fn call_once(self, args: Args) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `Args` [INFO] [stdout] | [INFO] [stdout] help: consider restricting type parameter `Args` with unstable trait `Tuple` [INFO] [stdout] | [INFO] [stdout] 13 | impl FnOnce for RefClosure { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: functions with the "rust-call" ABI must take a single non-self tuple argument [INFO] [stdout] --> src/ref_closure.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | extern "rust-call" fn call_mut(&mut self, args: Args) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `Args` [INFO] [stdout] | [INFO] [stdout] help: consider restricting type parameter `Args` with unstable trait `Tuple` [INFO] [stdout] | [INFO] [stdout] 20 | impl FnMut for RefClosure { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: functions with the "rust-call" ABI must take a single non-self tuple argument [INFO] [stdout] --> src/ref_closure.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | extern "rust-call" fn call(&self, args: Args) -> Self::Output { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Tuple` is not implemented for `Args` [INFO] [stdout] | [INFO] [stdout] help: consider restricting type parameter `Args` with unstable trait `Tuple` [INFO] [stdout] | [INFO] [stdout] 26 | impl Fn for RefClosure { [INFO] [stdout] | ++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0059, E0277. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0059`. [INFO] [stdout] [INFO] [stderr] error: could not compile `boxed-closure` (lib test) due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "8560517015beb64f7296297de1060357536187d911a19735e05db2fc86693c0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8560517015beb64f7296297de1060357536187d911a19735e05db2fc86693c0f", kill_on_drop: false }` [INFO] [stdout] 8560517015beb64f7296297de1060357536187d911a19735e05db2fc86693c0f