[INFO] fetching crate kick 0.1.2... [INFO] testing kick-0.1.2 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate kick 0.1.2 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate kick 0.1.2 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate kick 0.1.2 [INFO] finished tweaking crates.io crate kick 0.1.2 [INFO] tweaked toml for crates.io crate kick 0.1.2 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ad2ebe50685cebe6f2a299ade05911bbff2158c203335dfc91c1f4296fe0ae1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7ad2ebe50685cebe6f2a299ade05911bbff2158c203335dfc91c1f4296fe0ae1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ad2ebe50685cebe6f2a299ade05911bbff2158c203335dfc91c1f4296fe0ae1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ad2ebe50685cebe6f2a299ade05911bbff2158c203335dfc91c1f4296fe0ae1", kill_on_drop: false }` [INFO] [stdout] 7ad2ebe50685cebe6f2a299ade05911bbff2158c203335dfc91c1f4296fe0ae1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ba3bc28ca48757c7bc819348b0d8fcdaa14a696fa783c8f4e350398c2a4ba82e [INFO] running `Command { std: "docker" "start" "-a" "ba3bc28ca48757c7bc819348b0d8fcdaa14a696fa783c8f4e350398c2a4ba82e", kill_on_drop: false }` [INFO] [stderr] Compiling kick v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moment.rs:17:56 [INFO] [stdout] | [INFO] [stdout] 17 | pub type MomentOnce<'a, T, Tr: Transaction<'a> + 'a> = StateOnce + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateOnce + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moment.rs:20:55 [INFO] [stdout] | [INFO] [stdout] 20 | pub type MomentBox<'a, T, Tr: Transaction<'a> + 'a> = StateBox + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateBox + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moment.rs:23:55 [INFO] [stdout] | [INFO] [stdout] 23 | pub type MomentMut<'a, T, Tr: Transaction<'a> + 'a> = StateMut + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateMut + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moment.rs:26:52 [INFO] [stdout] | [INFO] [stdout] 26 | pub type Moment<'a, T, Tr: Transaction<'a> + 'a> = State + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn State + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream/slot.rs:13:64 [INFO] [stdout] | [INFO] [stdout] 13 | pub type SlotFn<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(T) -> Option>> + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream/slot.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | FnMut(T) -> Option>> + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(T) -> Option>> + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/stream/slot.rs:54:44 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn push(&mut self, t: T) -> Option<(Box>)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/state/refs.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | fn run_once(mut self, state: &mut S) -> Self::Output { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stream/slot.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | Slot::Mut(mut f) => f(t).map(move |r| (Some(Slot::Mut(f)), r)), [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/moment.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | pub type MomentOnce<'a, T, Tr: Transaction<'a> + 'a> = StateOnce + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 17 | pub type MomentOnce<'a, T, Tr> = StateOnce + 'a; [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/moment.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | pub type MomentBox<'a, T, Tr: Transaction<'a> + 'a> = StateBox + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 20 | pub type MomentBox<'a, T, Tr> = StateBox + 'a; [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/moment.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | pub type MomentMut<'a, T, Tr: Transaction<'a> + 'a> = StateMut + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 23 | pub type MomentMut<'a, T, Tr> = StateMut + 'a; [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/moment.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | pub type Moment<'a, T, Tr: Transaction<'a> + 'a> = State + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 26 | pub type Moment<'a, T, Tr> = State + 'a; [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/cell/mod.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | ::std::mem::replace(&mut *self.0.borrow_mut(), value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/stream/slot.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | pub type SlotFn<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 13 | pub type SlotFn<'a, 'b, T: 'a, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/stream/slot.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | pub type SlotFn<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 13 | pub type SlotFn<'a, 'b: 'a, T, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/stream/slot.rs:13:40 [INFO] [stdout] | [INFO] [stdout] 13 | pub type SlotFn<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 13 | pub type SlotFn<'a, 'b: 'a, T: 'a, Tr> = Fn(T) -> Option>> + 'a; [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/stream/slot.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | pub type SlotFnMut<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 14 | pub type SlotFnMut<'a, 'b, T: 'a, Tr: Transaction<'b> + 'b> = [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/stream/slot.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | pub type SlotFnMut<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 14 | pub type SlotFnMut<'a, 'b: 'a, T, Tr: Transaction<'b> + 'b> = [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/stream/slot.rs:14:43 [INFO] [stdout] | [INFO] [stdout] 14 | pub type SlotFnMut<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 14 | pub type SlotFnMut<'a, 'b: 'a, T: 'a, Tr> = [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/stream/slot.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | ::std::mem::replace(self, slot); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.68s [INFO] running `Command { std: "docker" "inspect" "ba3bc28ca48757c7bc819348b0d8fcdaa14a696fa783c8f4e350398c2a4ba82e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba3bc28ca48757c7bc819348b0d8fcdaa14a696fa783c8f4e350398c2a4ba82e", kill_on_drop: false }` [INFO] [stdout] ba3bc28ca48757c7bc819348b0d8fcdaa14a696fa783c8f4e350398c2a4ba82e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e0a3080365b6b2ed129eb2c6a40dca1f001129e92b3008575ebbd997e12f9dc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0e0a3080365b6b2ed129eb2c6a40dca1f001129e92b3008575ebbd997e12f9dc", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moment.rs:17:56 [INFO] [stdout] | [INFO] [stdout] 17 | pub type MomentOnce<'a, T, Tr: Transaction<'a> + 'a> = StateOnce + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateOnce + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling kick v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moment.rs:20:55 [INFO] [stdout] | [INFO] [stdout] 20 | pub type MomentBox<'a, T, Tr: Transaction<'a> + 'a> = StateBox + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateBox + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moment.rs:23:55 [INFO] [stdout] | [INFO] [stdout] 23 | pub type MomentMut<'a, T, Tr: Transaction<'a> + 'a> = StateMut + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateMut + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moment.rs:26:52 [INFO] [stdout] | [INFO] [stdout] 26 | pub type Moment<'a, T, Tr: Transaction<'a> + 'a> = State + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn State + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream/slot.rs:13:64 [INFO] [stdout] | [INFO] [stdout] 13 | pub type SlotFn<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(T) -> Option>> + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream/slot.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | FnMut(T) -> Option>> + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(T) -> Option>> + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/stream/slot.rs:54:44 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn push(&mut self, t: T) -> Option<(Box>)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/state/refs.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | fn run_once(mut self, state: &mut S) -> Self::Output { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stream/slot.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | Slot::Mut(mut f) => f(t).map(move |r| (Some(Slot::Mut(f)), r)), [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/moment.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | pub type MomentOnce<'a, T, Tr: Transaction<'a> + 'a> = StateOnce + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 17 | pub type MomentOnce<'a, T, Tr> = StateOnce + 'a; [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/moment.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | pub type MomentBox<'a, T, Tr: Transaction<'a> + 'a> = StateBox + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 20 | pub type MomentBox<'a, T, Tr> = StateBox + 'a; [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/moment.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | pub type MomentMut<'a, T, Tr: Transaction<'a> + 'a> = StateMut + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 23 | pub type MomentMut<'a, T, Tr> = StateMut + 'a; [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/moment.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | pub type Moment<'a, T, Tr: Transaction<'a> + 'a> = State + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 26 | pub type Moment<'a, T, Tr> = State + 'a; [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/cell/mod.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | ::std::mem::replace(&mut *self.0.borrow_mut(), value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/stream/slot.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | pub type SlotFn<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 13 | pub type SlotFn<'a, 'b, T: 'a, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/stream/slot.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | pub type SlotFn<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 13 | pub type SlotFn<'a, 'b: 'a, T, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/stream/slot.rs:13:40 [INFO] [stdout] | [INFO] [stdout] 13 | pub type SlotFn<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 13 | pub type SlotFn<'a, 'b: 'a, T: 'a, Tr> = Fn(T) -> Option>> + 'a; [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/stream/slot.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | pub type SlotFnMut<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 14 | pub type SlotFnMut<'a, 'b, T: 'a, Tr: Transaction<'b> + 'b> = [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/stream/slot.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | pub type SlotFnMut<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 14 | pub type SlotFnMut<'a, 'b: 'a, T, Tr: Transaction<'b> + 'b> = [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/stream/slot.rs:14:43 [INFO] [stdout] | [INFO] [stdout] 14 | pub type SlotFnMut<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 14 | pub type SlotFnMut<'a, 'b: 'a, T: 'a, Tr> = [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/stream/slot.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | ::std::mem::replace(self, slot); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/tests/mod.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | fn test_cell_1() {; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moment.rs:17:56 [INFO] [stdout] | [INFO] [stdout] 17 | pub type MomentOnce<'a, T, Tr: Transaction<'a> + 'a> = StateOnce + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateOnce + 'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moment.rs:20:55 [INFO] [stdout] | [INFO] [stdout] 20 | pub type MomentBox<'a, T, Tr: Transaction<'a> + 'a> = StateBox + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateBox + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moment.rs:23:55 [INFO] [stdout] | [INFO] [stdout] 23 | pub type MomentMut<'a, T, Tr: Transaction<'a> + 'a> = StateMut + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateMut + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/moment.rs:26:52 [INFO] [stdout] | [INFO] [stdout] 26 | pub type Moment<'a, T, Tr: Transaction<'a> + 'a> = State + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn State + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream/slot.rs:13:64 [INFO] [stdout] | [INFO] [stdout] 13 | pub type SlotFn<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(T) -> Option>> + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/stream/slot.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | FnMut(T) -> Option>> + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(T) -> Option>> + 'a` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/stream/slot.rs:54:44 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn push(&mut self, t: T) -> Option<(Box>)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/tests/mod.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | st(move |s: &mut _| x * 2) => x; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/tests/mod.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | st(move |s: &mut _| x + 6).map(|x| x * 3).map(|x| st(move |s: &mut _| x / 2)).join() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/tests/mod.rs:57:68 [INFO] [stdout] | [INFO] [stdout] 57 | st(move |s: &mut _| x + 6).map(|x| x * 3).map(|x| st(move |s: &mut _| x / 2)).join() [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/tests/mod.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | st(|s: &mut _| 1) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/tests/mod.rs:184:33 [INFO] [stdout] | [INFO] [stdout] 184 | let m = m.bind(|x| st(move |s: &mut _| x + 6)); // (10) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/tests/mod.rs:186:32 [INFO] [stdout] | [INFO] [stdout] 186 | let m = m.map(|x| st(move |s: &mut _| x / 2)); // ((15)) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/state/refs.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | fn run_once(mut self, state: &mut S) -> Self::Output { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stream/slot.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 61 | Slot::Mut(mut f) => f(t).map(move |r| (Some(Slot::Mut(f)), r)), [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_macro_1` [INFO] [stdout] --> src/tests/mod.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn test_macro_1() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/moment.rs:17:32 [INFO] [stdout] | [INFO] [stdout] 17 | pub type MomentOnce<'a, T, Tr: Transaction<'a> + 'a> = StateOnce + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 17 | pub type MomentOnce<'a, T, Tr> = StateOnce + 'a; [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/moment.rs:20:31 [INFO] [stdout] | [INFO] [stdout] 20 | pub type MomentBox<'a, T, Tr: Transaction<'a> + 'a> = StateBox + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 20 | pub type MomentBox<'a, T, Tr> = StateBox + 'a; [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/moment.rs:23:31 [INFO] [stdout] | [INFO] [stdout] 23 | pub type MomentMut<'a, T, Tr: Transaction<'a> + 'a> = StateMut + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 23 | pub type MomentMut<'a, T, Tr> = StateMut + 'a; [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/moment.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | pub type Moment<'a, T, Tr: Transaction<'a> + 'a> = State + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 26 | pub type Moment<'a, T, Tr> = State + 'a; [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/cell/mod.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | ::std::mem::replace(&mut *self.0.borrow_mut(), value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/stream/slot.rs:13:25 [INFO] [stdout] | [INFO] [stdout] 13 | pub type SlotFn<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 13 | pub type SlotFn<'a, 'b, T: 'a, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/stream/slot.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | pub type SlotFn<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 13 | pub type SlotFn<'a, 'b: 'a, T, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/stream/slot.rs:13:40 [INFO] [stdout] | [INFO] [stdout] 13 | pub type SlotFn<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 13 | pub type SlotFn<'a, 'b: 'a, T: 'a, Tr> = Fn(T) -> Option>> + 'a; [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/stream/slot.rs:14:28 [INFO] [stdout] | [INFO] [stdout] 14 | pub type SlotFnMut<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 14 | pub type SlotFnMut<'a, 'b, T: 'a, Tr: Transaction<'b> + 'b> = [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/stream/slot.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | pub type SlotFnMut<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 14 | pub type SlotFnMut<'a, 'b: 'a, T, Tr: Transaction<'b> + 'b> = [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stdout] --> src/stream/slot.rs:14:43 [INFO] [stdout] | [INFO] [stdout] 14 | pub type SlotFnMut<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stdout] | [INFO] [stdout] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stdout] | [INFO] [stdout] 14 | pub type SlotFnMut<'a, 'b: 'a, T: 'a, Tr> = [INFO] [stdout] | -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/stream/slot.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | ::std::mem::replace(self, slot); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.14s [INFO] running `Command { std: "docker" "inspect" "0e0a3080365b6b2ed129eb2c6a40dca1f001129e92b3008575ebbd997e12f9dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e0a3080365b6b2ed129eb2c6a40dca1f001129e92b3008575ebbd997e12f9dc", kill_on_drop: false }` [INFO] [stdout] 0e0a3080365b6b2ed129eb2c6a40dca1f001129e92b3008575ebbd997e12f9dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 986a95167396f889e0d16d314e4e3b0b17e64037f11ea9eef26ad362b893733a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "986a95167396f889e0d16d314e4e3b0b17e64037f11ea9eef26ad362b893733a", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/moment.rs:17:56 [INFO] [stderr] | [INFO] [stderr] 17 | pub type MomentOnce<'a, T, Tr: Transaction<'a> + 'a> = StateOnce + 'a; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateOnce + 'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/moment.rs:20:55 [INFO] [stderr] | [INFO] [stderr] 20 | pub type MomentBox<'a, T, Tr: Transaction<'a> + 'a> = StateBox + 'a; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateBox + 'a` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/moment.rs:23:55 [INFO] [stderr] | [INFO] [stderr] 23 | pub type MomentMut<'a, T, Tr: Transaction<'a> + 'a> = StateMut + 'a; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateMut + 'a` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/moment.rs:26:52 [INFO] [stderr] | [INFO] [stderr] 26 | pub type Moment<'a, T, Tr: Transaction<'a> + 'a> = State + 'a; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn State + 'a` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/stream/slot.rs:13:64 [INFO] [stderr] | [INFO] [stderr] 13 | pub type SlotFn<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(T) -> Option>> + 'a` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/stream/slot.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | FnMut(T) -> Option>> + 'a; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(T) -> Option>> + 'a` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/stream/slot.rs:54:44 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn push(&mut self, t: T) -> Option<(Box>)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/state/refs.rs:18:17 [INFO] [stderr] | [INFO] [stderr] 18 | fn run_once(mut self, state: &mut S) -> Self::Output { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/stream/slot.rs:61:23 [INFO] [stderr] | [INFO] [stderr] 61 | Slot::Mut(mut f) => f(t).map(move |r| (Some(Slot::Mut(f)), r)), [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stderr] --> src/moment.rs:17:32 [INFO] [stderr] | [INFO] [stderr] 17 | pub type MomentOnce<'a, T, Tr: Transaction<'a> + 'a> = StateOnce + 'a; [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stderr] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stderr] | [INFO] [stderr] 17 | pub type MomentOnce<'a, T, Tr> = StateOnce + 'a; [INFO] [stderr] | -- [INFO] [stderr] [INFO] [stderr] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stderr] --> src/moment.rs:20:31 [INFO] [stderr] | [INFO] [stderr] 20 | pub type MomentBox<'a, T, Tr: Transaction<'a> + 'a> = StateBox + 'a; [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stderr] | [INFO] [stderr] 20 | pub type MomentBox<'a, T, Tr> = StateBox + 'a; [INFO] [stderr] | -- [INFO] [stderr] [INFO] [stderr] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stderr] --> src/moment.rs:23:31 [INFO] [stderr] | [INFO] [stderr] 23 | pub type MomentMut<'a, T, Tr: Transaction<'a> + 'a> = StateMut + 'a; [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stderr] | [INFO] [stderr] 23 | pub type MomentMut<'a, T, Tr> = StateMut + 'a; [INFO] [stderr] | -- [INFO] [stderr] [INFO] [stderr] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stderr] --> src/moment.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | pub type Moment<'a, T, Tr: Transaction<'a> + 'a> = State + 'a; [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stderr] | [INFO] [stderr] 26 | pub type Moment<'a, T, Tr> = State + 'a; [INFO] [stderr] | -- [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/cell/mod.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | ::std::mem::replace(&mut *self.0.borrow_mut(), value); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stderr] --> src/stream/slot.rs:13:25 [INFO] [stderr] | [INFO] [stderr] 13 | pub type SlotFn<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stderr] | [INFO] [stderr] 13 | pub type SlotFn<'a, 'b, T: 'a, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stderr] | -- [INFO] [stderr] [INFO] [stderr] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stderr] --> src/stream/slot.rs:13:32 [INFO] [stderr] | [INFO] [stderr] 13 | pub type SlotFn<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stderr] | [INFO] [stderr] 13 | pub type SlotFn<'a, 'b: 'a, T, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stderr] | -- [INFO] [stderr] [INFO] [stderr] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stderr] --> src/stream/slot.rs:13:40 [INFO] [stderr] | [INFO] [stderr] 13 | pub type SlotFn<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stderr] | [INFO] [stderr] 13 | pub type SlotFn<'a, 'b: 'a, T: 'a, Tr> = Fn(T) -> Option>> + 'a; [INFO] [stderr] | -- [INFO] [stderr] [INFO] [stderr] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stderr] --> src/stream/slot.rs:14:28 [INFO] [stderr] | [INFO] [stderr] 14 | pub type SlotFnMut<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stderr] | [INFO] [stderr] 14 | pub type SlotFnMut<'a, 'b, T: 'a, Tr: Transaction<'b> + 'b> = [INFO] [stderr] | -- [INFO] [stderr] [INFO] [stderr] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stderr] --> src/stream/slot.rs:14:35 [INFO] [stderr] | [INFO] [stderr] 14 | pub type SlotFnMut<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stderr] | [INFO] [stderr] 14 | pub type SlotFnMut<'a, 'b: 'a, T, Tr: Transaction<'b> + 'b> = [INFO] [stderr] | -- [INFO] [stderr] [INFO] [stderr] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stderr] --> src/stream/slot.rs:14:43 [INFO] [stderr] | [INFO] [stderr] 14 | pub type SlotFnMut<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stderr] | [INFO] [stderr] 14 | pub type SlotFnMut<'a, 'b: 'a, T: 'a, Tr> = [INFO] [stderr] | -- [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/stream/slot.rs:69:17 [INFO] [stderr] | [INFO] [stderr] 69 | ::std::mem::replace(self, slot); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: 21 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/tests/mod.rs:108:19 [INFO] [stderr] | [INFO] [stderr] 108 | fn test_cell_1() {; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/moment.rs:17:56 [INFO] [stderr] | [INFO] [stderr] 17 | pub type MomentOnce<'a, T, Tr: Transaction<'a> + 'a> = StateOnce + 'a; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateOnce + 'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/moment.rs:20:55 [INFO] [stderr] | [INFO] [stderr] 20 | pub type MomentBox<'a, T, Tr: Transaction<'a> + 'a> = StateBox + 'a; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateBox + 'a` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/moment.rs:23:55 [INFO] [stderr] | [INFO] [stderr] 23 | pub type MomentMut<'a, T, Tr: Transaction<'a> + 'a> = StateMut + 'a; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StateMut + 'a` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/moment.rs:26:52 [INFO] [stderr] | [INFO] [stderr] 26 | pub type Moment<'a, T, Tr: Transaction<'a> + 'a> = State + 'a; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn State + 'a` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/stream/slot.rs:13:64 [INFO] [stderr] | [INFO] [stderr] 13 | pub type SlotFn<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(T) -> Option>> + 'a` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/stream/slot.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | FnMut(T) -> Option>> + 'a; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(T) -> Option>> + 'a` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/stream/slot.rs:54:44 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn push(&mut self, t: T) -> Option<(Box>)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/tests/mod.rs:56:18 [INFO] [stderr] | [INFO] [stderr] 56 | st(move |s: &mut _| x * 2) => x; [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/tests/mod.rs:57:18 [INFO] [stderr] | [INFO] [stderr] 57 | st(move |s: &mut _| x + 6).map(|x| x * 3).map(|x| st(move |s: &mut _| x / 2)).join() [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/tests/mod.rs:57:68 [INFO] [stderr] | [INFO] [stderr] 57 | st(move |s: &mut _| x + 6).map(|x| x * 3).map(|x| st(move |s: &mut _| x / 2)).join() [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/tests/mod.rs:64:13 [INFO] [stderr] | [INFO] [stderr] 64 | st(|s: &mut _| 1) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/tests/mod.rs:184:33 [INFO] [stderr] | [INFO] [stderr] 184 | let m = m.bind(|x| st(move |s: &mut _| x + 6)); // (10) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `s` [INFO] [stderr] --> src/tests/mod.rs:186:32 [INFO] [stderr] | [INFO] [stderr] 186 | let m = m.map(|x| st(move |s: &mut _| x / 2)); // ((15)) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/state/refs.rs:18:17 [INFO] [stderr] | [INFO] [stderr] 18 | fn run_once(mut self, state: &mut S) -> Self::Output { [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/stream/slot.rs:61:23 [INFO] [stderr] | [INFO] [stderr] 61 | Slot::Mut(mut f) => f(t).map(move |r| (Some(Slot::Mut(f)), r)), [INFO] [stderr] | ----^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `test_macro_1` [INFO] [stderr] --> src/tests/mod.rs:24:4 [INFO] [stderr] | [INFO] [stderr] 24 | fn test_macro_1() { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stderr] --> src/moment.rs:17:32 [INFO] [stderr] | [INFO] [stderr] 17 | pub type MomentOnce<'a, T, Tr: Transaction<'a> + 'a> = StateOnce + 'a; [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(type_alias_bounds)]` on by default [INFO] [stderr] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stderr] | [INFO] [stderr] 17 | pub type MomentOnce<'a, T, Tr> = StateOnce + 'a; [INFO] [stderr] | -- [INFO] [stderr] [INFO] [stderr] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stderr] --> src/moment.rs:20:31 [INFO] [stderr] | [INFO] [stderr] 20 | pub type MomentBox<'a, T, Tr: Transaction<'a> + 'a> = StateBox + 'a; [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stderr] | [INFO] [stderr] 20 | pub type MomentBox<'a, T, Tr> = StateBox + 'a; [INFO] [stderr] | -- [INFO] [stderr] [INFO] [stderr] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stderr] --> src/moment.rs:23:31 [INFO] [stderr] | [INFO] [stderr] 23 | pub type MomentMut<'a, T, Tr: Transaction<'a> + 'a> = StateMut + 'a; [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stderr] | [INFO] [stderr] 23 | pub type MomentMut<'a, T, Tr> = StateMut + 'a; [INFO] [stderr] | -- [INFO] [stderr] [INFO] [stderr] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stderr] --> src/moment.rs:26:28 [INFO] [stderr] | [INFO] [stderr] 26 | pub type Moment<'a, T, Tr: Transaction<'a> + 'a> = State + 'a; [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stderr] | [INFO] [stderr] 26 | pub type Moment<'a, T, Tr> = State + 'a; [INFO] [stderr] | -- [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/cell/mod.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | ::std::mem::replace(&mut *self.0.borrow_mut(), value); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stderr] --> src/stream/slot.rs:13:25 [INFO] [stderr] | [INFO] [stderr] 13 | pub type SlotFn<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stderr] | [INFO] [stderr] 13 | pub type SlotFn<'a, 'b, T: 'a, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stderr] | -- [INFO] [stderr] [INFO] [stderr] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stderr] --> src/stream/slot.rs:13:32 [INFO] [stderr] | [INFO] [stderr] 13 | pub type SlotFn<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stderr] | [INFO] [stderr] 13 | pub type SlotFn<'a, 'b: 'a, T, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stderr] | -- [INFO] [stderr] [INFO] [stderr] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stderr] --> src/stream/slot.rs:13:40 [INFO] [stderr] | [INFO] [stderr] 13 | pub type SlotFn<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = Fn(T) -> Option>> + 'a; [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stderr] | [INFO] [stderr] 13 | pub type SlotFn<'a, 'b: 'a, T: 'a, Tr> = Fn(T) -> Option>> + 'a; [INFO] [stderr] | -- [INFO] [stderr] [INFO] [stderr] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stderr] --> src/stream/slot.rs:14:28 [INFO] [stderr] | [INFO] [stderr] 14 | pub type SlotFnMut<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stderr] | [INFO] [stderr] 14 | pub type SlotFnMut<'a, 'b, T: 'a, Tr: Transaction<'b> + 'b> = [INFO] [stderr] | -- [INFO] [stderr] [INFO] [stderr] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stderr] --> src/stream/slot.rs:14:35 [INFO] [stderr] | [INFO] [stderr] 14 | pub type SlotFnMut<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stderr] | [INFO] [stderr] 14 | pub type SlotFnMut<'a, 'b: 'a, T, Tr: Transaction<'b> + 'b> = [INFO] [stderr] | -- [INFO] [stderr] [INFO] [stderr] warning: bounds on generic parameters are not enforced in type aliases [INFO] [stderr] --> src/stream/slot.rs:14:43 [INFO] [stderr] | [INFO] [stderr] 14 | pub type SlotFnMut<'a, 'b: 'a, T: 'a, Tr: Transaction<'b> + 'b> = [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^ [INFO] [stderr] | [INFO] [stderr] help: the bound will not be checked when the type alias is used, and should be removed [INFO] [stderr] | [INFO] [stderr] 14 | pub type SlotFnMut<'a, 'b: 'a, T: 'a, Tr> = [INFO] [stderr] | -- [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/stream/slot.rs:69:17 [INFO] [stderr] | [INFO] [stderr] 69 | ::std::mem::replace(self, slot); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: 29 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/kick-694d5c07954ec4e4) [INFO] [stdout] running 11 tests [INFO] [stdout] test tests::test_cell_2 ... ok [INFO] [stdout] test tests::test_context ... ok [INFO] [stdout] test tests::test_macro_2 ... ok [INFO] [stdout] test tests::test_var ... ok [INFO] [stdout] test tests::test_lazy ... ok [INFO] [stdout] test tests::test_state ... ok [INFO] [stdout] test tests::test_hold ... ok [INFO] [stdout] test tests::test_event ... ok [INFO] [stdout] test tests::test_cell_1 ... ok [INFO] [stdout] test tests::test_once_and_shared ... ok [INFO] [stdout] test tests::test_unit ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests kick [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> /opt/rustwide/workdir/src/stream/slot.rs:54:44 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn push(&mut self, t: T) -> Option<(Box>)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - kick_once (line 7) ... ok [INFO] [stdout] test src/cell/mod.rs - cell::Cell (line 13) ... ok [INFO] [stdout] test src/signal/variable.rs - signal::variable::Variable (line 20) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.92s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "986a95167396f889e0d16d314e4e3b0b17e64037f11ea9eef26ad362b893733a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "986a95167396f889e0d16d314e4e3b0b17e64037f11ea9eef26ad362b893733a", kill_on_drop: false }` [INFO] [stdout] 986a95167396f889e0d16d314e4e3b0b17e64037f11ea9eef26ad362b893733a