[INFO] fetching crate fungui 0.1.1... [INFO] testing fungui-0.1.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate fungui 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate fungui 0.1.1 [INFO] finished tweaking crates.io crate fungui 0.1.1 [INFO] tweaked toml for crates.io crate fungui 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fungui 0.1.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cefe6ba8ab8e841653dbc2d53ff27ff3451521db3e845815fe7e7fed2b973b7 [INFO] running `Command { std: "docker" "start" "-a" "3cefe6ba8ab8e841653dbc2d53ff27ff3451521db3e845815fe7e7fed2b973b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cefe6ba8ab8e841653dbc2d53ff27ff3451521db3e845815fe7e7fed2b973b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cefe6ba8ab8e841653dbc2d53ff27ff3451521db3e845815fe7e7fed2b973b7", kill_on_drop: false }` [INFO] [stdout] 3cefe6ba8ab8e841653dbc2d53ff27ff3451521db3e845815fe7e7fed2b973b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f400fdfe81c8049e1d3c431ad0ff48320895ce9c8af5baff45de0c59340d09a4 [INFO] running `Command { std: "docker" "start" "-a" "f400fdfe81c8049e1d3c431ad0ff48320895ce9c8af5baff45de0c59340d09a4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling ref_filter_map v1.0.1 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling fungui_syntax v0.1.1 [INFO] [stderr] Compiling fungui v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/style.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) type SFunc = Box Fn(&mut (Iterator, Error<'a>>> + 'a)) -> Result, Error<'a>> + 'static>; [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) type SFunc = Box Fn(&mut (Iterator, Error<'a>>> + 'a)) -> Result, Error<'a>> + 'static>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/style.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) type SFunc = Box Fn(&mut (Iterator, Error<'a>>> + 'a)) -> Result, Error<'a>> + 'static>; [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) type SFunc = Box Fn(&mut (dyn Iterator, Error<'a>>> + 'a)) -> Result, Error<'a>> + 'static>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/style.rs:13:54 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) layouts: FnvHashMap<&'static str, Box Box>>>, [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) layouts: FnvHashMap<&'static str, Box Box>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/style.rs:13:66 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) layouts: FnvHashMap<&'static str, Box Box>>>, [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) layouts: FnvHashMap<&'static str, Box Box>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:232:107 [INFO] [stdout] | [INFO] [stdout] 232 | fn update_child_data(&mut self, styles: &Styles, nc: &NodeChain, rule: &Rule, data: &mut Box) -> DirtyFlags; [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 232 | fn update_child_data(&mut self, styles: &Styles, nc: &NodeChain, rule: &Rule, data: &mut Box) -> DirtyFlags; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:234:92 [INFO] [stdout] | [INFO] [stdout] 234 | fn reset_unset_child_data(&mut self, used_keys: &FnvHashSet, data: &mut Box) -> DirtyFlags; [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 234 | fn reset_unset_child_data(&mut self, used_keys: &FnvHashSet, data: &mut Box) -> DirtyFlags; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:239:90 [INFO] [stdout] | [INFO] [stdout] 239 | fn do_layout(&mut self, value: &NodeValue, _ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> Rect; [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 239 | fn do_layout(&mut self, value: &NodeValue, _ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> Rect; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:240:94 [INFO] [stdout] | [INFO] [stdout] 240 | fn do_layout_end(&mut self, value: &NodeValue, _ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> R... [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 240 | fn do_layout_end(&mut self, value: &NodeValue, _ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> Rect; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:255:107 [INFO] [stdout] | [INFO] [stdout] 255 | fn update_child_data(&mut self, styles: &Styles, nc: &NodeChain, rule: &Rule, data: &mut Box) -> DirtyFlags { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 255 | fn update_child_data(&mut self, styles: &Styles, nc: &NodeChain, rule: &Rule, data: &mut Box) -> DirtyFlags { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:266:92 [INFO] [stdout] | [INFO] [stdout] 266 | fn reset_unset_child_data(&mut self, used_keys: &FnvHashSet, data: &mut Box) -> DirtyFlags { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 266 | fn reset_unset_child_data(&mut self, used_keys: &FnvHashSet, data: &mut Box) -> DirtyFlags { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:284:89 [INFO] [stdout] | [INFO] [stdout] 284 | fn do_layout(&mut self, value: &NodeValue, ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> Rect { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 284 | fn do_layout(&mut self, value: &NodeValue, ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> Rect { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:288:93 [INFO] [stdout] | [INFO] [stdout] 288 | fn do_layout_end(&mut self, value: &NodeValue, ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> Re... [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 288 | fn do_layout_end(&mut self, value: &NodeValue, ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> Rect { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:413:29 [INFO] [stdout] | [INFO] [stdout] 413 | F: for<'a> Fn(&mut (Iterator>> + 'a)) -> FResult<'a, Value> + 'static, [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 413 | F: for<'a> Fn(&mut (dyn Iterator>> + 'a)) -> FResult<'a, Value> + 'static, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:439:18 [INFO] [stdout] | [INFO] [stdout] 439 | pub fn query(&self) -> query::Query { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 439 | pub fn query(&self) -> query::Query<'_, E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:802:19 [INFO] [stdout] | [INFO] [stdout] 802 | pub fn borrow(&self) -> Ref> { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 802 | pub fn borrow(&self) -> Ref<'_, NodeInner> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:809:23 [INFO] [stdout] | [INFO] [stdout] 809 | pub fn borrow_mut(&self) -> RefMut> { [INFO] [stdout] | ^^^^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 809 | pub fn borrow_mut(&self) -> RefMut<'_, NodeInner> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:920:17 [INFO] [stdout] | [INFO] [stdout] 920 | pub fn text(&self) -> Option> { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 920 | pub fn text(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1018:32 [INFO] [stdout] | [INFO] [stdout] 1018 | pub fn get_property_ref(&self, key: &str) -> Option> [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1018 | pub fn get_property_ref(&self, key: &str) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1063:18 [INFO] [stdout] | [INFO] [stdout] 1063 | pub fn query(&self) -> query::Query { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1063 | pub fn query(&self) -> query::Query<'_, E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1068:24 [INFO] [stdout] | [INFO] [stdout] 1068 | pub fn from_str(s: &str) -> Result, syntax::PError> { [INFO] [stdout] | ^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1068 | pub fn from_str(s: &str) -> Result, syntax::PError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1347:17 [INFO] [stdout] | [INFO] [stdout] 1347 | fn as_chain(&self) -> NCValue { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1347 | fn as_chain(&self) -> NCValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layout.rs:213:16 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn get(&self, idx: usize) -> Option<(Rect, DirtyFlags, NodeAccess)> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ---------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 213 | pub fn get(&self, idx: usize) -> Option<(Rect, DirtyFlags, NodeAccess<'_, L, E>)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.63s [INFO] running `Command { std: "docker" "inspect" "f400fdfe81c8049e1d3c431ad0ff48320895ce9c8af5baff45de0c59340d09a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f400fdfe81c8049e1d3c431ad0ff48320895ce9c8af5baff45de0c59340d09a4", kill_on_drop: false }` [INFO] [stdout] f400fdfe81c8049e1d3c431ad0ff48320895ce9c8af5baff45de0c59340d09a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2980b9a903aa22586beaf6e81033b514d8383c45bf28a42b8a77685da7711f97 [INFO] running `Command { std: "docker" "start" "-a" "2980b9a903aa22586beaf6e81033b514d8383c45bf28a42b8a77685da7711f97", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/style.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) type SFunc = Box Fn(&mut (Iterator, Error<'a>>> + 'a)) -> Result, Error<'a>> + 'static>; [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) type SFunc = Box Fn(&mut (Iterator, Error<'a>>> + 'a)) -> Result, Error<'a>> + 'static>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/style.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) type SFunc = Box Fn(&mut (Iterator, Error<'a>>> + 'a)) -> Result, Error<'a>> + 'static>; [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) type SFunc = Box Fn(&mut (dyn Iterator, Error<'a>>> + 'a)) -> Result, Error<'a>> + 'static>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/style.rs:13:54 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) layouts: FnvHashMap<&'static str, Box Box>>>, [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) layouts: FnvHashMap<&'static str, Box Box>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/style.rs:13:66 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) layouts: FnvHashMap<&'static str, Box Box>>>, [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) layouts: FnvHashMap<&'static str, Box Box>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:232:107 [INFO] [stdout] | [INFO] [stdout] 232 | fn update_child_data(&mut self, styles: &Styles, nc: &NodeChain, rule: &Rule, data: &mut Box) -> DirtyFlags; [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 232 | fn update_child_data(&mut self, styles: &Styles, nc: &NodeChain, rule: &Rule, data: &mut Box) -> DirtyFlags; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:234:92 [INFO] [stdout] | [INFO] [stdout] 234 | fn reset_unset_child_data(&mut self, used_keys: &FnvHashSet, data: &mut Box) -> DirtyFlags; [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 234 | fn reset_unset_child_data(&mut self, used_keys: &FnvHashSet, data: &mut Box) -> DirtyFlags; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:239:90 [INFO] [stdout] | [INFO] [stdout] 239 | fn do_layout(&mut self, value: &NodeValue, _ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> Rect; [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 239 | fn do_layout(&mut self, value: &NodeValue, _ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> Rect; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:240:94 [INFO] [stdout] | [INFO] [stdout] 240 | fn do_layout_end(&mut self, value: &NodeValue, _ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> R... [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 240 | fn do_layout_end(&mut self, value: &NodeValue, _ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> Rect; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:255:107 [INFO] [stdout] | [INFO] [stdout] 255 | fn update_child_data(&mut self, styles: &Styles, nc: &NodeChain, rule: &Rule, data: &mut Box) -> DirtyFlags { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 255 | fn update_child_data(&mut self, styles: &Styles, nc: &NodeChain, rule: &Rule, data: &mut Box) -> DirtyFlags { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:266:92 [INFO] [stdout] | [INFO] [stdout] 266 | fn reset_unset_child_data(&mut self, used_keys: &FnvHashSet, data: &mut Box) -> DirtyFlags { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 266 | fn reset_unset_child_data(&mut self, used_keys: &FnvHashSet, data: &mut Box) -> DirtyFlags { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:284:89 [INFO] [stdout] | [INFO] [stdout] 284 | fn do_layout(&mut self, value: &NodeValue, ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> Rect { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 284 | fn do_layout(&mut self, value: &NodeValue, ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> Rect { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:288:93 [INFO] [stdout] | [INFO] [stdout] 288 | fn do_layout_end(&mut self, value: &NodeValue, ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> Re... [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 288 | fn do_layout_end(&mut self, value: &NodeValue, ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> Rect { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:413:29 [INFO] [stdout] | [INFO] [stdout] 413 | F: for<'a> Fn(&mut (Iterator>> + 'a)) -> FResult<'a, Value> + 'static, [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 413 | F: for<'a> Fn(&mut (dyn Iterator>> + 'a)) -> FResult<'a, Value> + 'static, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:439:18 [INFO] [stdout] | [INFO] [stdout] 439 | pub fn query(&self) -> query::Query { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 439 | pub fn query(&self) -> query::Query<'_, E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:802:19 [INFO] [stdout] | [INFO] [stdout] 802 | pub fn borrow(&self) -> Ref> { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 802 | pub fn borrow(&self) -> Ref<'_, NodeInner> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:809:23 [INFO] [stdout] | [INFO] [stdout] 809 | pub fn borrow_mut(&self) -> RefMut> { [INFO] [stdout] | ^^^^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 809 | pub fn borrow_mut(&self) -> RefMut<'_, NodeInner> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:920:17 [INFO] [stdout] | [INFO] [stdout] 920 | pub fn text(&self) -> Option> { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 920 | pub fn text(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1018:32 [INFO] [stdout] | [INFO] [stdout] 1018 | pub fn get_property_ref(&self, key: &str) -> Option> [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1018 | pub fn get_property_ref(&self, key: &str) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1063:18 [INFO] [stdout] | [INFO] [stdout] 1063 | pub fn query(&self) -> query::Query { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1063 | pub fn query(&self) -> query::Query<'_, E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1068:24 [INFO] [stdout] | [INFO] [stdout] 1068 | pub fn from_str(s: &str) -> Result, syntax::PError> { [INFO] [stdout] | ^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1068 | pub fn from_str(s: &str) -> Result, syntax::PError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1347:17 [INFO] [stdout] | [INFO] [stdout] 1347 | fn as_chain(&self) -> NCValue { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1347 | fn as_chain(&self) -> NCValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling fungui v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layout.rs:213:16 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn get(&self, idx: usize) -> Option<(Rect, DirtyFlags, NodeAccess)> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ---------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 213 | pub fn get(&self, idx: usize) -> Option<(Rect, DirtyFlags, NodeAccess<'_, L, E>)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/style.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) type SFunc = Box Fn(&mut (Iterator, Error<'a>>> + 'a)) -> Result, Error<'a>> + 'static>; [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) type SFunc = Box Fn(&mut (Iterator, Error<'a>>> + 'a)) -> Result, Error<'a>> + 'static>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/style.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) type SFunc = Box Fn(&mut (Iterator, Error<'a>>> + 'a)) -> Result, Error<'a>> + 'static>; [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) type SFunc = Box Fn(&mut (dyn Iterator, Error<'a>>> + 'a)) -> Result, Error<'a>> + 'static>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/style.rs:13:54 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) layouts: FnvHashMap<&'static str, Box Box>>>, [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) layouts: FnvHashMap<&'static str, Box Box>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/style.rs:13:66 [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) layouts: FnvHashMap<&'static str, Box Box>>>, [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | pub(crate) layouts: FnvHashMap<&'static str, Box Box>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:232:107 [INFO] [stdout] | [INFO] [stdout] 232 | fn update_child_data(&mut self, styles: &Styles, nc: &NodeChain, rule: &Rule, data: &mut Box) -> DirtyFlags; [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 232 | fn update_child_data(&mut self, styles: &Styles, nc: &NodeChain, rule: &Rule, data: &mut Box) -> DirtyFlags; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:234:92 [INFO] [stdout] | [INFO] [stdout] 234 | fn reset_unset_child_data(&mut self, used_keys: &FnvHashSet, data: &mut Box) -> DirtyFlags; [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 234 | fn reset_unset_child_data(&mut self, used_keys: &FnvHashSet, data: &mut Box) -> DirtyFlags; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:239:90 [INFO] [stdout] | [INFO] [stdout] 239 | fn do_layout(&mut self, value: &NodeValue, _ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> Rect; [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 239 | fn do_layout(&mut self, value: &NodeValue, _ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> Rect; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:240:94 [INFO] [stdout] | [INFO] [stdout] 240 | fn do_layout_end(&mut self, value: &NodeValue, _ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> R... [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 240 | fn do_layout_end(&mut self, value: &NodeValue, _ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> Rect; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:255:107 [INFO] [stdout] | [INFO] [stdout] 255 | fn update_child_data(&mut self, styles: &Styles, nc: &NodeChain, rule: &Rule, data: &mut Box) -> DirtyFlags { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 255 | fn update_child_data(&mut self, styles: &Styles, nc: &NodeChain, rule: &Rule, data: &mut Box) -> DirtyFlags { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:266:92 [INFO] [stdout] | [INFO] [stdout] 266 | fn reset_unset_child_data(&mut self, used_keys: &FnvHashSet, data: &mut Box) -> DirtyFlags { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 266 | fn reset_unset_child_data(&mut self, used_keys: &FnvHashSet, data: &mut Box) -> DirtyFlags { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:284:89 [INFO] [stdout] | [INFO] [stdout] 284 | fn do_layout(&mut self, value: &NodeValue, ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> Rect { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 284 | fn do_layout(&mut self, value: &NodeValue, ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> Rect { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/layout.rs:288:93 [INFO] [stdout] | [INFO] [stdout] 288 | fn do_layout_end(&mut self, value: &NodeValue, ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> Re... [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 288 | fn do_layout_end(&mut self, value: &NodeValue, ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> Rect { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:413:29 [INFO] [stdout] | [INFO] [stdout] 413 | F: for<'a> Fn(&mut (Iterator>> + 'a)) -> FResult<'a, Value> + 'static, [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 413 | F: for<'a> Fn(&mut (dyn Iterator>> + 'a)) -> FResult<'a, Value> + 'static, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | let mut stdout = std::io::stdout(); [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:439:18 [INFO] [stdout] | [INFO] [stdout] 439 | pub fn query(&self) -> query::Query { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 439 | pub fn query(&self) -> query::Query<'_, E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:802:19 [INFO] [stdout] | [INFO] [stdout] 802 | pub fn borrow(&self) -> Ref> { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 802 | pub fn borrow(&self) -> Ref<'_, NodeInner> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:809:23 [INFO] [stdout] | [INFO] [stdout] 809 | pub fn borrow_mut(&self) -> RefMut> { [INFO] [stdout] | ^^^^^ -------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 809 | pub fn borrow_mut(&self) -> RefMut<'_, NodeInner> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:920:17 [INFO] [stdout] | [INFO] [stdout] 920 | pub fn text(&self) -> Option> { [INFO] [stdout] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 920 | pub fn text(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1018:32 [INFO] [stdout] | [INFO] [stdout] 1018 | pub fn get_property_ref(&self, key: &str) -> Option> [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1018 | pub fn get_property_ref(&self, key: &str) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1063:18 [INFO] [stdout] | [INFO] [stdout] 1063 | pub fn query(&self) -> query::Query { [INFO] [stdout] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1063 | pub fn query(&self) -> query::Query<'_, E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1068:24 [INFO] [stdout] | [INFO] [stdout] 1068 | pub fn from_str(s: &str) -> Result, syntax::PError> { [INFO] [stdout] | ^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1068 | pub fn from_str(s: &str) -> Result, syntax::PError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:1347:17 [INFO] [stdout] | [INFO] [stdout] 1347 | fn as_chain(&self) -> NCValue { [INFO] [stdout] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1347 | fn as_chain(&self) -> NCValue<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/layout.rs:213:16 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn get(&self, idx: usize) -> Option<(Rect, DirtyFlags, NodeAccess)> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ---------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 213 | pub fn get(&self, idx: usize) -> Option<(Rect, DirtyFlags, NodeAccess<'_, L, E>)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.13s [INFO] running `Command { std: "docker" "inspect" "2980b9a903aa22586beaf6e81033b514d8383c45bf28a42b8a77685da7711f97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2980b9a903aa22586beaf6e81033b514d8383c45bf28a42b8a77685da7711f97", kill_on_drop: false }` [INFO] [stdout] 2980b9a903aa22586beaf6e81033b514d8383c45bf28a42b8a77685da7711f97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7a55ac0480d3bba0b6e587ebd45623f16e647fb591052fa8e8a5324259056b27 [INFO] running `Command { std: "docker" "start" "-a" "7a55ac0480d3bba0b6e587ebd45623f16e647fb591052fa8e8a5324259056b27", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/style.rs:5:32 [INFO] [stderr] | [INFO] [stderr] 5 | pub(crate) type SFunc = Box Fn(&mut (Iterator, Error<'a>>> + 'a)) -> Result, Error<'a>> + 'static>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 5 | pub(crate) type SFunc = Box Fn(&mut (Iterator, Error<'a>>> + 'a)) -> Result, Error<'a>> + 'static>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/style.rs:5:49 [INFO] [stderr] | [INFO] [stderr] 5 | pub(crate) type SFunc = Box Fn(&mut (Iterator, Error<'a>>> + 'a)) -> Result, Error<'a>> + 'static>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 5 | pub(crate) type SFunc = Box Fn(&mut (dyn Iterator, Error<'a>>> + 'a)) -> Result, Error<'a>> + 'static>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/style.rs:13:54 [INFO] [stderr] | [INFO] [stderr] 13 | pub(crate) layouts: FnvHashMap<&'static str, Box Box>>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 13 | pub(crate) layouts: FnvHashMap<&'static str, Box Box>>>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/style.rs:13:66 [INFO] [stderr] | [INFO] [stderr] 13 | pub(crate) layouts: FnvHashMap<&'static str, Box Box>>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 13 | pub(crate) layouts: FnvHashMap<&'static str, Box Box>>>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/layout.rs:232:107 [INFO] [stderr] | [INFO] [stderr] 232 | fn update_child_data(&mut self, styles: &Styles, nc: &NodeChain, rule: &Rule, data: &mut Box) -> DirtyFlags; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 232 | fn update_child_data(&mut self, styles: &Styles, nc: &NodeChain, rule: &Rule, data: &mut Box) -> DirtyFlags; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/layout.rs:234:92 [INFO] [stderr] | [INFO] [stderr] 234 | fn reset_unset_child_data(&mut self, used_keys: &FnvHashSet, data: &mut Box) -> DirtyFlags; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 234 | fn reset_unset_child_data(&mut self, used_keys: &FnvHashSet, data: &mut Box) -> DirtyFlags; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/layout.rs:239:90 [INFO] [stderr] | [INFO] [stderr] 239 | fn do_layout(&mut self, value: &NodeValue, _ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> Rect; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 239 | fn do_layout(&mut self, value: &NodeValue, _ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> Rect; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/layout.rs:240:94 [INFO] [stderr] | [INFO] [stderr] 240 | fn do_layout_end(&mut self, value: &NodeValue, _ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> R... [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 240 | fn do_layout_end(&mut self, value: &NodeValue, _ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> Rect; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/layout.rs:255:107 [INFO] [stderr] | [INFO] [stderr] 255 | fn update_child_data(&mut self, styles: &Styles, nc: &NodeChain, rule: &Rule, data: &mut Box) -> DirtyFlags { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 255 | fn update_child_data(&mut self, styles: &Styles, nc: &NodeChain, rule: &Rule, data: &mut Box) -> DirtyFlags { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/layout.rs:266:92 [INFO] [stderr] | [INFO] [stderr] 266 | fn reset_unset_child_data(&mut self, used_keys: &FnvHashSet, data: &mut Box) -> DirtyFlags { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 266 | fn reset_unset_child_data(&mut self, used_keys: &FnvHashSet, data: &mut Box) -> DirtyFlags { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/layout.rs:284:89 [INFO] [stderr] | [INFO] [stderr] 284 | fn do_layout(&mut self, value: &NodeValue, ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> Rect { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 284 | fn do_layout(&mut self, value: &NodeValue, ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> Rect { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/layout.rs:288:93 [INFO] [stderr] | [INFO] [stderr] 288 | fn do_layout_end(&mut self, value: &NodeValue, ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> Re... [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 288 | fn do_layout_end(&mut self, value: &NodeValue, ext: &mut E::NodeData, data: &mut Box, current: Rect, flags: DirtyFlags) -> Rect { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:413:29 [INFO] [stderr] | [INFO] [stderr] 413 | F: for<'a> Fn(&mut (Iterator>> + 'a)) -> FResult<'a, Value> + 'static, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 413 | F: for<'a> Fn(&mut (dyn Iterator>> + 'a)) -> FResult<'a, Value> + 'static, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:439:18 [INFO] [stderr] | [INFO] [stderr] 439 | pub fn query(&self) -> query::Query { [INFO] [stderr] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 439 | pub fn query(&self) -> query::Query<'_, E> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:802:19 [INFO] [stderr] | [INFO] [stderr] 802 | pub fn borrow(&self) -> Ref> { [INFO] [stderr] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 802 | pub fn borrow(&self) -> Ref<'_, NodeInner> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:809:23 [INFO] [stderr] | [INFO] [stderr] 809 | pub fn borrow_mut(&self) -> RefMut> { [INFO] [stderr] | ^^^^^ -------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 809 | pub fn borrow_mut(&self) -> RefMut<'_, NodeInner> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:920:17 [INFO] [stderr] | [INFO] [stderr] 920 | pub fn text(&self) -> Option> { [INFO] [stderr] | ^^^^^ -------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 920 | pub fn text(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:1018:32 [INFO] [stderr] | [INFO] [stderr] 1018 | pub fn get_property_ref(&self, key: &str) -> Option> [INFO] [stderr] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1018 | pub fn get_property_ref(&self, key: &str) -> Option> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:1063:18 [INFO] [stderr] | [INFO] [stderr] 1063 | pub fn query(&self) -> query::Query { [INFO] [stderr] | ^^^^^ --------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1063 | pub fn query(&self) -> query::Query<'_, E> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:1068:24 [INFO] [stderr] | [INFO] [stderr] 1068 | pub fn from_str(s: &str) -> Result, syntax::PError> { [INFO] [stderr] | ^^^^ -------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1068 | pub fn from_str(s: &str) -> Result, syntax::PError<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:1347:17 [INFO] [stderr] | [INFO] [stderr] 1347 | fn as_chain(&self) -> NCValue { [INFO] [stderr] | ^^^^^ ------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1347 | fn as_chain(&self) -> NCValue<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/layout.rs:213:16 [INFO] [stderr] | [INFO] [stderr] 213 | pub fn get(&self, idx: usize) -> Option<(Rect, DirtyFlags, NodeAccess)> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ---------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 213 | pub fn get(&self, idx: usize) -> Option<(Rect, DirtyFlags, NodeAccess<'_, L, E>)> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `fungui` (lib) generated 22 warnings (run `cargo fix --lib -p fungui` to apply 22 suggestions) [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/tests.rs:135:13 [INFO] [stderr] | [INFO] [stderr] 135 | let mut stdout = std::io::stdout(); [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: `fungui` (lib test) generated 23 warnings (22 duplicates) (run `cargo fix --lib -p fungui --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fungui-aae0fc49bf4f7af7) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test macros::test_query_macro ... ok [INFO] [stdout] test query::test ... ok [INFO] [stdout] test tests::test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests fungui [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/layout.rs - layout::LayoutEngine (line 10) ... ignored [INFO] [stdout] test src/layout.rs - layout::LayoutEngine::style_properties (line 40) ... ignored [INFO] [stdout] test src/layout.rs - layout::LayoutEngine::update_child_data (line 88) ... ignored [INFO] [stdout] test src/layout.rs - layout::LayoutEngine::update_data (line 64) ... ignored [INFO] [stdout] test src/lib.rs - (line 142) ... ignored [INFO] [stdout] test src/lib.rs - Extension::style_properties (line 289) ... ignored [INFO] [stdout] test src/lib.rs - Extension::update_data (line 310) ... ignored [INFO] [stdout] test src/lib.rs - eval (line 575) ... ignored [INFO] [stdout] test src/macros.rs - macros::node (line 29) ... FAILED [INFO] [stdout] test src/macros.rs - macros::node (line 14) ... FAILED [INFO] [stdout] test src/macros.rs - macros::query (line 158) ... FAILED [INFO] [stdout] test src/lib.rs - (line 90) ... ok [INFO] [stdout] test src/lib.rs - (line 29) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/macros.rs - macros::node (line 29) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `tests` in `fungui` [INFO] [stdout] --> src/macros.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 4 | let _ : fungui::Node = [INFO] [stdout] | ^^^^^ could not find `tests` in `fungui` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 178 | #[cfg(any(test, feature="tests"))] [INFO] [stdout] | ----------------------- the item is gated here [INFO] [stdout] 179 | pub mod tests; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - macros::node (line 14) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `tests` in `fungui` [INFO] [stdout] --> src/macros.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 4 | let _ : fungui::Node = [INFO] [stdout] | ^^^^^ could not find `tests` in `fungui` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 178 | #[cfg(any(test, feature="tests"))] [INFO] [stdout] | ----------------------- the item is gated here [INFO] [stdout] 179 | pub mod tests; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/macros.rs - macros::query (line 158) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: could not find `tests` in `fungui` [INFO] [stdout] --> src/macros.rs:162:25 [INFO] [stdout] | [INFO] [stdout] 5 | let node : Node = [INFO] [stdout] | ^^^^^ could not find `tests` in `fungui` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 178 | #[cfg(any(test, feature="tests"))] [INFO] [stdout] | ----------------------- the item is gated here [INFO] [stdout] 179 | pub mod tests; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/macros.rs - macros::node (line 14) [INFO] [stdout] src/macros.rs - macros::node (line 29) [INFO] [stdout] src/macros.rs - macros::query (line 158) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 2 passed; 3 failed; 8 ignored; 0 measured; 0 filtered out; finished in 0.68s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "7a55ac0480d3bba0b6e587ebd45623f16e647fb591052fa8e8a5324259056b27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a55ac0480d3bba0b6e587ebd45623f16e647fb591052fa8e8a5324259056b27", kill_on_drop: false }` [INFO] [stdout] 7a55ac0480d3bba0b6e587ebd45623f16e647fb591052fa8e8a5324259056b27