[INFO] fetching crate fungui 0.1.1... [INFO] testing fungui-0.1.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate fungui 0.1.1 into /workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fungui 0.1.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fungui_syntax v0.1.1 [INFO] [stderr] Downloaded ref_filter_map v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7e5a26bbc973d383355393b052aea8a4e6dffd363c82bf8241d1da43faa3a9a [INFO] running `Command { std: "docker" "start" "-a" "f7e5a26bbc973d383355393b052aea8a4e6dffd363c82bf8241d1da43faa3a9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7e5a26bbc973d383355393b052aea8a4e6dffd363c82bf8241d1da43faa3a9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7e5a26bbc973d383355393b052aea8a4e6dffd363c82bf8241d1da43faa3a9a", kill_on_drop: false }` [INFO] [stdout] f7e5a26bbc973d383355393b052aea8a4e6dffd363c82bf8241d1da43faa3a9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9b45b5b76aab3fce08057ab528c7c7239cfb85b89a4ccbd59145af1d8fc004d [INFO] running `Command { std: "docker" "start" "-a" "e9b45b5b76aab3fce08057ab528c7c7239cfb85b89a4ccbd59145af1d8fc004d", 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 memchr v2.7.5 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bitflags v1.3.2 [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)]` (part of `#[warn(rust_2021_compatibility)]`) 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 16.75s [INFO] running `Command { std: "docker" "inspect" "e9b45b5b76aab3fce08057ab528c7c7239cfb85b89a4ccbd59145af1d8fc004d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9b45b5b76aab3fce08057ab528c7c7239cfb85b89a4ccbd59145af1d8fc004d", kill_on_drop: false }` [INFO] [stdout] e9b45b5b76aab3fce08057ab528c7c7239cfb85b89a4ccbd59145af1d8fc004d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83601ddb36f1d93dcecf3a4086aa676a992f817692053727e919833ab0bbffec [INFO] running `Command { std: "docker" "start" "-a" "83601ddb36f1d93dcecf3a4086aa676a992f817692053727e919833ab0bbffec", 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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] 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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)]` (part of `#[warn(unused)]`) 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 1.62s [INFO] running `Command { std: "docker" "inspect" "83601ddb36f1d93dcecf3a4086aa676a992f817692053727e919833ab0bbffec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83601ddb36f1d93dcecf3a4086aa676a992f817692053727e919833ab0bbffec", kill_on_drop: false }` [INFO] [stdout] 83601ddb36f1d93dcecf3a4086aa676a992f817692053727e919833ab0bbffec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 63975a16c33eb21b1372a59b5afe2413991001d43a368ea132117bb7ba96e73f [INFO] running `Command { std: "docker" "start" "-a" "63975a16c33eb21b1372a59b5afe2413991001d43a368ea132117bb7ba96e73f", 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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)]` (part of `#[warn(unused)]`) 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.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/fungui-bd9704830b86ce7f) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test macros::test_query_macro ... ok [INFO] [stdout] test tests::test ... ok [INFO] [stdout] test query::test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [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 14) ... FAILED [INFO] [stdout] test src/macros.rs - macros::query (line 158) ... FAILED [INFO] [stdout] test src/macros.rs - macros::node (line 29) ... FAILED [INFO] [stdout] test src/lib.rs - (line 29) ... ok [INFO] [stdout] test src/lib.rs - (line 90) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] ---- 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] [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.64s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "63975a16c33eb21b1372a59b5afe2413991001d43a368ea132117bb7ba96e73f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63975a16c33eb21b1372a59b5afe2413991001d43a368ea132117bb7ba96e73f", kill_on_drop: false }` [INFO] [stdout] 63975a16c33eb21b1372a59b5afe2413991001d43a368ea132117bb7ba96e73f