[INFO] fetching crate refmove 0.1.3...
[INFO] checking refmove-0.1.3 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2
[INFO] extracting crate refmove 0.1.3 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate refmove 0.1.3 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain
[INFO] started tweaking crates.io crate refmove 0.1.3
[INFO] finished tweaking crates.io crate refmove 0.1.3
[INFO] tweaked toml for crates.io crate refmove 0.1.3 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b4821cfbb73f4cec407f15cd83499a65a31c016ff0cccc9bc5749ffb073e42e5
[INFO] running `Command { std: "docker" "start" "-a" "b4821cfbb73f4cec407f15cd83499a65a31c016ff0cccc9bc5749ffb073e42e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b4821cfbb73f4cec407f15cd83499a65a31c016ff0cccc9bc5749ffb073e42e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b4821cfbb73f4cec407f15cd83499a65a31c016ff0cccc9bc5749ffb073e42e5", kill_on_drop: false }`
[INFO] [stdout] b4821cfbb73f4cec407f15cd83499a65a31c016ff0cccc9bc5749ffb073e42e5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e4c4ee345cdc8d406a06bacd0a961841cf1537b52ce8db48171983b463a32266
[INFO] running `Command { std: "docker" "start" "-a" "e4c4ee345cdc8d406a06bacd0a961841cf1537b52ce8db48171983b463a32266", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr] Checking refmove v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0407]: method `initializer` is not a member of trait `Read`
[INFO] [stdout] --> src/impls.rs:221:5
[INFO] [stdout] |
[INFO] [stdout] 221 | / unsafe fn initializer(&self) -> io::Initializer {
[INFO] [stdout] 222 | | R::initializer(self)
[INFO] [stdout] 223 | | }
[INFO] [stdout] | |_____^ not a member of trait `Read`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `Initializer` in module `io`
[INFO] [stdout] --> src/impls.rs:221:41
[INFO] [stdout] |
[INFO] [stdout] 221 | unsafe fn initializer(&self) -> io::Initializer {
[INFO] [stdout] | ^^^^^^^^^^^ not found in `io`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0407]: method `initializer` is not a member of trait `Read`
[INFO] [stdout] --> src/impls.rs:221:5
[INFO] [stdout] |
[INFO] [stdout] 221 | / unsafe fn initializer(&self) -> io::Initializer {
[INFO] [stdout] 222 | | R::initializer(self)
[INFO] [stdout] 223 | | }
[INFO] [stdout] | |_____^ not a member of trait `Read`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the feature `nll` has been stable since 1.63.0 and no longer requires an attribute to enable
[INFO] [stdout] --> src/lib.rs:48:12
[INFO] [stdout] |
[INFO] [stdout] 48 | #![feature(nll)]
[INFO] [stdout] | ^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(stable_features)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the feature `pin` has been stable since 1.33.0 and no longer requires an attribute to enable
[INFO] [stdout] --> src/lib.rs:50:12
[INFO] [stdout] |
[INFO] [stdout] 50 | #![feature(pin)]
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0635]: unknown feature `read_initializer`
[INFO] [stdout] --> src/lib.rs:64:38
[INFO] [stdout] |
[INFO] [stdout] 64 | #![cfg_attr(feature = "std", feature(read_initializer))]
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0412]: cannot find type `Initializer` in module `io`
[INFO] [stdout] --> src/impls.rs:221:41
[INFO] [stdout] |
[INFO] [stdout] 221 | unsafe fn initializer(&self) -> io::Initializer {
[INFO] [stdout] | ^^^^^^^^^^^ not found in `io`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the feature `nll` has been stable since 1.63.0 and no longer requires an attribute to enable
[INFO] [stdout] --> src/lib.rs:48:12
[INFO] [stdout] |
[INFO] [stdout] 48 | #![feature(nll)]
[INFO] [stdout] | ^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(stable_features)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: the feature `pin` has been stable since 1.33.0 and no longer requires an attribute to enable
[INFO] [stdout] --> src/lib.rs:50:12
[INFO] [stdout] |
[INFO] [stdout] 50 | #![feature(pin)]
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0635]: unknown feature `read_initializer`
[INFO] [stdout] --> src/lib.rs:64:38
[INFO] [stdout] |
[INFO] [stdout] 64 | #![cfg_attr(feature = "std", feature(read_initializer))]
[INFO] [stdout] | ^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0059]: type parameter to bare `FnOnce` trait must be a tuple
[INFO] [stdout] --> src/impls.rs:132:16
[INFO] [stdout] |
[INFO] [stdout] 132 | impl<'a, A, F> FnOnce for RefMove<'a, F>
[INFO] [stdout] | ^^^^^^^^^ the trait `Tuple` is not implemented for `A`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `FnOnce`
[INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/ops/function.rs:242:1
[INFO] [stdout] help: consider further restricting type parameter `A`
[INFO] [stdout] |
[INFO] [stdout] 134 | F: FnMut + ?Sized, A: std::marker::Tuple // TODO
[INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0059]: type parameter to bare `FnMut` trait must be a tuple
[INFO] [stdout] --> src/impls.rs:142:16
[INFO] [stdout] |
[INFO] [stdout] 142 | impl<'a, A, F> FnMut for RefMove<'a, F>
[INFO] [stdout] | ^^^^^^^^ the trait `Tuple` is not implemented for `A`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `FnMut`
[INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/ops/function.rs:163:1
[INFO] [stdout] help: consider further restricting type parameter `A`
[INFO] [stdout] |
[INFO] [stdout] 144 | F: FnMut + ?Sized, A: std::marker::Tuple
[INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0059]: type parameter to bare `Fn` trait must be a tuple
[INFO] [stdout] --> src/impls.rs:151:16
[INFO] [stdout] |
[INFO] [stdout] 151 | impl<'a, A, F> Fn for RefMove<'a, F>
[INFO] [stdout] | ^^^^^ the trait `Tuple` is not implemented for `A`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `Fn`
[INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/ops/function.rs:76:1
[INFO] [stdout] help: consider further restricting type parameter `A`
[INFO] [stdout] |
[INFO] [stdout] 153 | F: Fn + ?Sized, A: std::marker::Tuple
[INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0059]: type parameter to bare `FnOnce` trait must be a tuple
[INFO] [stdout] --> src/impls.rs:136:19
[INFO] [stdout] |
[INFO] [stdout] 136 | type Output = F::Output;
[INFO] [stdout] | ^^^^^^^^^ the trait `Tuple` is not implemented for `A`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `FnOnce`
[INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/ops/function.rs:242:1
[INFO] [stdout] help: consider further restricting type parameter `A`
[INFO] [stdout] |
[INFO] [stdout] 134 | F: FnMut + ?Sized, A: std::marker::Tuple // TODO
[INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0059]: type parameter to bare `FnMut` trait must be a tuple
[INFO] [stdout] --> src/impls.rs:134:8
[INFO] [stdout] |
[INFO] [stdout] 134 | F: FnMut + ?Sized, // TODO
[INFO] [stdout] | ^^^^^^^^ the trait `Tuple` is not implemented for `A`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `FnMut`
[INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/ops/function.rs:163:1
[INFO] [stdout] help: consider further restricting type parameter `A`
[INFO] [stdout] |
[INFO] [stdout] 134 | F: FnMut + ?Sized, A: std::marker::Tuple // TODO
[INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0059]: type parameter to bare `FnMut` trait must be a tuple
[INFO] [stdout] --> src/impls.rs:144:8
[INFO] [stdout] |
[INFO] [stdout] 144 | F: FnMut + ?Sized,
[INFO] [stdout] | ^^^^^^^^ the trait `Tuple` is not implemented for `A`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `FnMut`
[INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/ops/function.rs:163:1
[INFO] [stdout] help: consider further restricting type parameter `A`
[INFO] [stdout] |
[INFO] [stdout] 144 | F: FnMut + ?Sized, A: std::marker::Tuple
[INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0059]: type parameter to bare `Fn` trait must be a tuple
[INFO] [stdout] --> src/impls.rs:153:8
[INFO] [stdout] |
[INFO] [stdout] 153 | F: Fn + ?Sized,
[INFO] [stdout] | ^^^^^ the trait `Tuple` is not implemented for `A`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `Fn`
[INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/ops/function.rs:76:1
[INFO] [stdout] help: consider further restricting type parameter `A`
[INFO] [stdout] |
[INFO] [stdout] 153 | F: Fn + ?Sized, A: std::marker::Tuple
[INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout] --> src/downcast.rs:10:31
[INFO] [stdout] |
[INFO] [stdout] 10 | let ptr: *mut Any = RefMove::into_ptr(self);
[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] 10 | let ptr: *mut dyn Any = RefMove::into_ptr(self);
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout] --> src/downcast.rs:24:31
[INFO] [stdout] |
[INFO] [stdout] 24 | let ptr: *mut Any = RefMove::into_ptr(self);
[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] 24 | let ptr: *mut dyn Any = RefMove::into_ptr(self);
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: `A` is not a tuple
[INFO] [stdout] --> src/impls.rs:138:21
[INFO] [stdout] |
[INFO] [stdout] 138 | >::call_mut(&mut self, args)
[INFO] [stdout] | ^ the trait `Tuple` is not implemented for `A`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `call_mut`
[INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/ops/function.rs:166:5
[INFO] [stdout] help: consider further restricting type parameter `A`
[INFO] [stdout] |
[INFO] [stdout] 134 | F: FnMut + ?Sized, A: std::marker::Tuple // TODO
[INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0059]: type parameter to bare `FnOnce` trait must be a tuple
[INFO] [stdout] --> src/impls.rs:132:16
[INFO] [stdout] |
[INFO] [stdout] 132 | impl<'a, A, F> FnOnce for RefMove<'a, F>
[INFO] [stdout] | ^^^^^^^^^ the trait `Tuple` is not implemented for `A`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `FnOnce`
[INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/ops/function.rs:242:1
[INFO] [stdout] help: consider further restricting type parameter `A`
[INFO] [stdout] |
[INFO] [stdout] 134 | F: FnMut + ?Sized, A: std::marker::Tuple // TODO
[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/impls.rs:138:46
[INFO] [stdout] |
[INFO] [stdout] 138 | >::call_mut(&mut self, args)
[INFO] [stdout] | ^^^^ the trait `Tuple` is not implemented for `A`
[INFO] [stdout] |
[INFO] [stdout] help: consider further restricting type parameter `A`
[INFO] [stdout] |
[INFO] [stdout] 134 | F: FnMut + ?Sized, A: std::marker::Tuple // TODO
[INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0059]: type parameter to bare `FnMut` trait must be a tuple
[INFO] [stdout] --> src/impls.rs:142:16
[INFO] [stdout] |
[INFO] [stdout] 142 | impl<'a, A, F> FnMut for RefMove<'a, F>
[INFO] [stdout] | ^^^^^^^^ the trait `Tuple` is not implemented for `A`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `FnMut`
[INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/ops/function.rs:163:1
[INFO] [stdout] help: consider further restricting type parameter `A`
[INFO] [stdout] |
[INFO] [stdout] 144 | F: FnMut + ?Sized, A: std::marker::Tuple
[INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: `A` is not a tuple
[INFO] [stdout] --> src/impls.rs:147:21
[INFO] [stdout] |
[INFO] [stdout] 147 | >::call_mut(self, args)
[INFO] [stdout] | ^ the trait `Tuple` is not implemented for `A`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `call_mut`
[INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/ops/function.rs:166:5
[INFO] [stdout] help: consider further restricting type parameter `A`
[INFO] [stdout] |
[INFO] [stdout] 144 | F: FnMut + ?Sized, A: std::marker::Tuple
[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/impls.rs:147:41
[INFO] [stdout] |
[INFO] [stdout] 147 | >::call_mut(self, args)
[INFO] [stdout] | ^^^^ the trait `Tuple` is not implemented for `A`
[INFO] [stdout] |
[INFO] [stdout] help: consider further restricting type parameter `A`
[INFO] [stdout] |
[INFO] [stdout] 144 | F: FnMut + ?Sized, A: std::marker::Tuple
[INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0059]: type parameter to bare `Fn` trait must be a tuple
[INFO] [stdout] --> src/impls.rs:151:16
[INFO] [stdout] |
[INFO] [stdout] 151 | impl<'a, A, F> Fn for RefMove<'a, F>
[INFO] [stdout] | ^^^^^ the trait `Tuple` is not implemented for `A`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `Fn`
[INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/ops/function.rs:76:1
[INFO] [stdout] help: consider further restricting type parameter `A`
[INFO] [stdout] |
[INFO] [stdout] 153 | F: Fn + ?Sized, A: std::marker::Tuple
[INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: `A` is not a tuple
[INFO] [stdout] --> src/impls.rs:156:18
[INFO] [stdout] |
[INFO] [stdout] 156 | >::call(self, args)
[INFO] [stdout] | ^ the trait `Tuple` is not implemented for `A`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `call`
[INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/ops/function.rs:79:5
[INFO] [stdout] help: consider further restricting type parameter `A`
[INFO] [stdout] |
[INFO] [stdout] 153 | F: Fn + ?Sized, A: std::marker::Tuple
[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/impls.rs:156:34
[INFO] [stdout] |
[INFO] [stdout] 156 | >::call(self, args)
[INFO] [stdout] | ^^^^ the trait `Tuple` is not implemented for `A`
[INFO] [stdout] |
[INFO] [stdout] help: consider further restricting type parameter `A`
[INFO] [stdout] |
[INFO] [stdout] 153 | F: Fn + ?Sized, A: std::marker::Tuple
[INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0059]: type parameter to bare `FnOnce` trait must be a tuple
[INFO] [stdout] --> src/impls.rs:136:19
[INFO] [stdout] |
[INFO] [stdout] 136 | type Output = F::Output;
[INFO] [stdout] | ^^^^^^^^^ the trait `Tuple` is not implemented for `A`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `FnOnce`
[INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/ops/function.rs:242:1
[INFO] [stdout] help: consider further restricting type parameter `A`
[INFO] [stdout] |
[INFO] [stdout] 134 | F: FnMut + ?Sized, A: std::marker::Tuple // TODO
[INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0059]: type parameter to bare `FnMut` trait must be a tuple
[INFO] [stdout] --> src/impls.rs:134:8
[INFO] [stdout] |
[INFO] [stdout] 134 | F: FnMut + ?Sized, // TODO
[INFO] [stdout] | ^^^^^^^^ the trait `Tuple` is not implemented for `A`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `FnMut`
[INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/ops/function.rs:163:1
[INFO] [stdout] help: consider further restricting type parameter `A`
[INFO] [stdout] |
[INFO] [stdout] 134 | F: FnMut + ?Sized, A: std::marker::Tuple // TODO
[INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0059]: type parameter to bare `FnMut` trait must be a tuple
[INFO] [stdout] --> src/impls.rs:144:8
[INFO] [stdout] |
[INFO] [stdout] 144 | F: FnMut + ?Sized,
[INFO] [stdout] | ^^^^^^^^ the trait `Tuple` is not implemented for `A`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `FnMut`
[INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/ops/function.rs:163:1
[INFO] [stdout] help: consider further restricting type parameter `A`
[INFO] [stdout] |
[INFO] [stdout] 144 | F: FnMut + ?Sized, A: std::marker::Tuple
[INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0059]: type parameter to bare `Fn` trait must be a tuple
[INFO] [stdout] --> src/impls.rs:153:8
[INFO] [stdout] |
[INFO] [stdout] 153 | F: Fn + ?Sized,
[INFO] [stdout] | ^^^^^ the trait `Tuple` is not implemented for `A`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `Fn`
[INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/ops/function.rs:76:1
[INFO] [stdout] help: consider further restricting type parameter `A`
[INFO] [stdout] |
[INFO] [stdout] 153 | F: Fn + ?Sized, A: std::marker::Tuple
[INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no function or associated item named `initializer` found for type parameter `R` in the current scope
[INFO] [stdout] --> src/impls.rs:222:12
[INFO] [stdout] |
[INFO] [stdout] 215 | impl<'a, R: Read + ?Sized> Read for RefMove<'a, R> {
[INFO] [stdout] | - function or associated item `initializer` not found for this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 222 | R::initializer(self)
[INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `R`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout] --> src/downcast.rs:10:31
[INFO] [stdout] |
[INFO] [stdout] 10 | let ptr: *mut Any = RefMove::into_ptr(self);
[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] 10 | let ptr: *mut dyn Any = RefMove::into_ptr(self);
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout] --> src/downcast.rs:24:31
[INFO] [stdout] |
[INFO] [stdout] 24 | let ptr: *mut Any = RefMove::into_ptr(self);
[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] 24 | let ptr: *mut dyn Any = RefMove::into_ptr(self);
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: `A` is not a tuple
[INFO] [stdout] --> src/impls.rs:138:21
[INFO] [stdout] |
[INFO] [stdout] 138 | >::call_mut(&mut self, args)
[INFO] [stdout] | ^ the trait `Tuple` is not implemented for `A`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `call_mut`
[INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/ops/function.rs:166:5
[INFO] [stdout] help: consider further restricting type parameter `A`
[INFO] [stdout] |
[INFO] [stdout] 134 | F: FnMut + ?Sized, A: std::marker::Tuple // TODO
[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/impls.rs:138:46
[INFO] [stdout] |
[INFO] [stdout] 138 | >::call_mut(&mut self, args)
[INFO] [stdout] | ^^^^ the trait `Tuple` is not implemented for `A`
[INFO] [stdout] |
[INFO] [stdout] help: consider further restricting type parameter `A`
[INFO] [stdout] |
[INFO] [stdout] 134 | F: FnMut + ?Sized, A: std::marker::Tuple // TODO
[INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: `A` is not a tuple
[INFO] [stdout] --> src/impls.rs:147:21
[INFO] [stdout] |
[INFO] [stdout] 147 | >::call_mut(self, args)
[INFO] [stdout] | ^ the trait `Tuple` is not implemented for `A`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `call_mut`
[INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/ops/function.rs:166:5
[INFO] [stdout] help: consider further restricting type parameter `A`
[INFO] [stdout] |
[INFO] [stdout] 144 | F: FnMut + ?Sized, A: std::marker::Tuple
[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/impls.rs:147:41
[INFO] [stdout] |
[INFO] [stdout] 147 | >::call_mut(self, args)
[INFO] [stdout] | ^^^^ the trait `Tuple` is not implemented for `A`
[INFO] [stdout] |
[INFO] [stdout] help: consider further restricting type parameter `A`
[INFO] [stdout] |
[INFO] [stdout] 144 | F: FnMut + ?Sized, A: std::marker::Tuple
[INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: `A` is not a tuple
[INFO] [stdout] --> src/impls.rs:156:18
[INFO] [stdout] |
[INFO] [stdout] 156 | >::call(self, args)
[INFO] [stdout] | ^ the trait `Tuple` is not implemented for `A`
[INFO] [stdout] |
[INFO] [stdout] note: required by a bound in `call`
[INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/ops/function.rs:79:5
[INFO] [stdout] help: consider further restricting type parameter `A`
[INFO] [stdout] |
[INFO] [stdout] 153 | F: Fn + ?Sized, A: std::marker::Tuple
[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/impls.rs:156:34
[INFO] [stdout] |
[INFO] [stdout] 156 | >::call(self, args)
[INFO] [stdout] | ^^^^ the trait `Tuple` is not implemented for `A`
[INFO] [stdout] |
[INFO] [stdout] help: consider further restricting type parameter `A`
[INFO] [stdout] |
[INFO] [stdout] 153 | F: Fn + ?Sized, A: std::marker::Tuple
[INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: no function or associated item named `initializer` found for type parameter `R` in the current scope
[INFO] [stdout] --> src/impls.rs:222:12
[INFO] [stdout] |
[INFO] [stdout] 215 | impl<'a, R: Read + ?Sized> Read for RefMove<'a, R> {
[INFO] [stdout] | - function or associated item `initializer` not found for this type parameter
[INFO] [stdout] ...
[INFO] [stdout] 222 | R::initializer(self)
[INFO] [stdout] | ^^^^^^^^^^^ function or associated item not found in `R`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 17 previous errors; 4 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0059, E0277, E0407, E0412, E0599, E0635.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0059`.
[INFO] [stdout]
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout] --> src/lib.rs:219:20
[INFO] [stdout] |
[INFO] [stdout] 219 | let x: Box = Box::new("hoge".to_string());
[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] 219 | let x: Box = Box::new("hoge".to_string());
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout] --> src/lib.rs:226:46
[INFO] [stdout] |
[INFO] [stdout] 226 | (x.anchor().borrow_move() as RefMove).foo();
[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] 226 | (x.anchor().borrow_move() as RefMove).foo();
[INFO] [stdout] | +++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `refmove` (lib) due to 18 previous errors; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 17 previous errors; 6 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] Some errors have detailed explanations: E0059, E0277, E0407, E0412, E0599, E0635.
[INFO] [stdout]
[INFO] [stdout] For more information about an error, try `rustc --explain E0059`.
[INFO] [stdout]
[INFO] [stderr] error: could not compile `refmove` (lib test) due to 18 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "e4c4ee345cdc8d406a06bacd0a961841cf1537b52ce8db48171983b463a32266", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e4c4ee345cdc8d406a06bacd0a961841cf1537b52ce8db48171983b463a32266", kill_on_drop: false }`
[INFO] [stdout] e4c4ee345cdc8d406a06bacd0a961841cf1537b52ce8db48171983b463a32266