[INFO] fetching crate rstgen 0.1.4... [INFO] building rstgen-0.1.4 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate rstgen 0.1.4 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate rstgen 0.1.4 [INFO] finished tweaking crates.io crate rstgen 0.1.4 [INFO] tweaked toml for crates.io crate rstgen 0.1.4 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rstgen 0.1.4 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82bbab275ea1d9a2930135203a0ccb4bb79b260e329101aea1b00ad13f409b5d [INFO] running `Command { std: "docker" "start" "-a" "82bbab275ea1d9a2930135203a0ccb4bb79b260e329101aea1b00ad13f409b5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82bbab275ea1d9a2930135203a0ccb4bb79b260e329101aea1b00ad13f409b5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82bbab275ea1d9a2930135203a0ccb4bb79b260e329101aea1b00ad13f409b5d", kill_on_drop: false }` [INFO] [stdout] 82bbab275ea1d9a2930135203a0ccb4bb79b260e329101aea1b00ad13f409b5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b360c5216d1be44b53f2510cb69f0a81bd4d0ed9823cbf030f16393dc83d913 [INFO] running `Command { std: "docker" "start" "-a" "2b360c5216d1be44b53f2510cb69f0a81bd4d0ed9823cbf030f16393dc83d913", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rstgen v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Display` and `Pointer` [INFO] [stdout] --> src/element.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::{Debug, Display, Pointer}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::modifier::Modifier` [INFO] [stdout] --> src/swift/argument.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::modifier::Modifier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Java` [INFO] [stdout] --> src/swift/argument.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use Java; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cons::Cons` [INFO] [stdout] --> src/swift/constructor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use cons::Cons; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Name` and `local` [INFO] [stdout] --> src/swift/extension.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use swift::{local, Name, Swift}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cons` [INFO] [stdout] --> src/swift/extension.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | use {Cons, IntoTokens}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatter.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | write: &'write mut fmt::Write, [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] 19 | write: &'write mut dyn fmt::Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatter.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(write: &mut fmt::Write) -> Formatter { [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] 30 | pub fn new(write: &mut dyn fmt::Write) -> Formatter { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `primitive` [INFO] [stdout] --> src/swift/mod.rs:118:25 [INFO] [stdout] | [INFO] [stdout] 118 | Primitive { primitive } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `primitive: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (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/formatter.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(write: &mut fmt::Write) -> Formatter { [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] 30 | pub fn new(write: &mut fmt::Write) -> Formatter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tokens.rs:178:24 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn walk_custom(&self) -> WalkCustom { [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] 178 | pub fn walk_custom(&self) -> WalkCustom<'_, C> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.85s [INFO] running `Command { std: "docker" "inspect" "2b360c5216d1be44b53f2510cb69f0a81bd4d0ed9823cbf030f16393dc83d913", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b360c5216d1be44b53f2510cb69f0a81bd4d0ed9823cbf030f16393dc83d913", kill_on_drop: false }` [INFO] [stdout] 2b360c5216d1be44b53f2510cb69f0a81bd4d0ed9823cbf030f16393dc83d913 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66fb495156140918ff90282bf0c571cc9e20a9f01cde31d5044da6fee43f3e20 [INFO] running `Command { std: "docker" "start" "-a" "66fb495156140918ff90282bf0c571cc9e20a9f01cde31d5044da6fee43f3e20", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unused imports: `Display` and `Pointer` [INFO] [stdout] --> src/element.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::{Debug, Display, Pointer}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::modifier::Modifier` [INFO] [stdout] --> src/swift/argument.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::modifier::Modifier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rstgen v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Java` [INFO] [stdout] --> src/swift/argument.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use Java; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cons::Cons` [INFO] [stdout] --> src/swift/constructor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use cons::Cons; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Name` and `local` [INFO] [stdout] --> src/swift/extension.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use swift::{local, Name, Swift}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cons` [INFO] [stdout] --> src/swift/extension.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | use {Cons, IntoTokens}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatter.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | write: &'write mut fmt::Write, [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] 19 | write: &'write mut dyn fmt::Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatter.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(write: &mut fmt::Write) -> Formatter { [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] 30 | pub fn new(write: &mut dyn fmt::Write) -> Formatter { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `primitive` [INFO] [stdout] --> src/swift/mod.rs:118:25 [INFO] [stdout] | [INFO] [stdout] 118 | Primitive { primitive } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `primitive: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (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/formatter.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(write: &mut fmt::Write) -> Formatter { [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] 30 | pub fn new(write: &mut fmt::Write) -> Formatter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tokens.rs:178:24 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn walk_custom(&self) -> WalkCustom { [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] 178 | pub fn walk_custom(&self) -> WalkCustom<'_, C> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display` and `Pointer` [INFO] [stdout] --> src/element.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::{Debug, Display, Pointer}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::modifier::Modifier` [INFO] [stdout] --> src/swift/argument.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::modifier::Modifier; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Java` [INFO] [stdout] --> src/swift/argument.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use Java; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cons::Cons` [INFO] [stdout] --> src/swift/argument.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | use cons::Cons; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `swift::Swift::Type` [INFO] [stdout] --> src/swift/argument.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | use swift::Swift::Type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Name` [INFO] [stdout] --> src/swift/argument.rs:74:24 [INFO] [stdout] | [INFO] [stdout] 74 | use swift::{local, Name, Swift}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cons::Cons` [INFO] [stdout] --> src/swift/constructor.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use cons::Cons; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cons::Cons` [INFO] [stdout] --> src/swift/constructor.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | use cons::Cons; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Name` and `local` [INFO] [stdout] --> src/swift/extension.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use swift::{local, Name, Swift}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Cons` [INFO] [stdout] --> src/swift/extension.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | use {Cons, IntoTokens}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatter.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | write: &'write mut fmt::Write, [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] 19 | write: &'write mut dyn fmt::Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/formatter.rs:30:28 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(write: &mut fmt::Write) -> Formatter { [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] 30 | pub fn new(write: &mut dyn fmt::Write) -> Formatter { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `primitive` [INFO] [stdout] --> src/swift/mod.rs:118:25 [INFO] [stdout] | [INFO] [stdout] 118 | Primitive { primitive } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `primitive: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (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/formatter.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(write: &mut fmt::Write) -> Formatter { [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] 30 | pub fn new(write: &mut fmt::Write) -> Formatter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/tokens.rs:178:24 [INFO] [stdout] | [INFO] [stdout] 178 | pub fn walk_custom(&self) -> WalkCustom { [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] 178 | pub fn walk_custom(&self) -> WalkCustom<'_, C> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.06s [INFO] running `Command { std: "docker" "inspect" "66fb495156140918ff90282bf0c571cc9e20a9f01cde31d5044da6fee43f3e20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66fb495156140918ff90282bf0c571cc9e20a9f01cde31d5044da6fee43f3e20", kill_on_drop: false }` [INFO] [stdout] 66fb495156140918ff90282bf0c571cc9e20a9f01cde31d5044da6fee43f3e20