[INFO] fetching crate titlefmt 0.4.0... [INFO] testing titlefmt-0.4.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate titlefmt 0.4.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate titlefmt 0.4.0 [INFO] finished tweaking crates.io crate titlefmt 0.4.0 [INFO] tweaked toml for crates.io crate titlefmt 0.4.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate titlefmt 0.4.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 50 packages to latest compatible versions [INFO] [stderr] Adding id3 v0.3.0 (available: v1.16.3) [INFO] [stderr] Adding metaflac v0.1.10 (available: v0.2.8) [INFO] [stderr] Adding nom v4.2.3 (available: v8.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num v0.2.1 [INFO] [stderr] Downloaded num-rational v0.2.4 [INFO] [stderr] Downloaded version_check v0.1.5 [INFO] [stderr] Downloaded metaflac v0.1.10 [INFO] [stderr] Downloaded encoding v0.2.33 [INFO] [stderr] Downloaded encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Downloaded encoding_index_tests v0.1.4 [INFO] [stderr] Downloaded encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Downloaded id3 v0.3.0 [INFO] [stderr] Downloaded nom v4.2.3 [INFO] [stderr] Downloaded encoding-index-korean v1.20141219.5 [INFO] [stderr] Downloaded encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Downloaded num-complex v0.2.4 [INFO] [stderr] Downloaded encoding-index-japanese v1.20141219.5 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 981c0a0047479914ff232f843a55518fa29522160e54e19ec75451cbcb0ac50e [INFO] running `Command { std: "docker" "start" "-a" "981c0a0047479914ff232f843a55518fa29522160e54e19ec75451cbcb0ac50e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "981c0a0047479914ff232f843a55518fa29522160e54e19ec75451cbcb0ac50e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "981c0a0047479914ff232f843a55518fa29522160e54e19ec75451cbcb0ac50e", kill_on_drop: false }` [INFO] [stdout] 981c0a0047479914ff232f843a55518fa29522160e54e19ec75451cbcb0ac50e [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2cabf4eef662bda0eecf5a44b3ac4e35b6085ca6ba8bd65662c7d805b18615f5 [INFO] running `Command { std: "docker" "start" "-a" "2cabf4eef662bda0eecf5a44b3ac4e35b6085ca6ba8bd65662c7d805b18615f5", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling titlefmt v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/metadata/mod.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | fn tag_value(&self, &str) -> Option; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function/mod.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | pub type FunctionClosure = Fn(&[Box>], &T) -> Result; [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] 32 | pub type FunctionClosure = dyn Fn(&[Box>], &T) -> Result; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function/mod.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | fn cause(&self) -> Option<&std::error::Error> { [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] 26 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/formatter.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn parser(&self) -> FormatParser { [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 parser(&self) -> FormatParser<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.52s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "2cabf4eef662bda0eecf5a44b3ac4e35b6085ca6ba8bd65662c7d805b18615f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cabf4eef662bda0eecf5a44b3ac4e35b6085ca6ba8bd65662c7d805b18615f5", kill_on_drop: false }` [INFO] [stdout] 2cabf4eef662bda0eecf5a44b3ac4e35b6085ca6ba8bd65662c7d805b18615f5 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cafa99ae90afe6c48f3c26a5a1d6332cc81429816cec17d7ccb67d1b23087a3a [INFO] running `Command { std: "docker" "start" "-a" "cafa99ae90afe6c48f3c26a5a1d6332cc81429816cec17d7ccb67d1b23087a3a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling titlefmt v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/metadata/mod.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | fn tag_value(&self, &str) -> Option; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function/mod.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | pub type FunctionClosure = Fn(&[Box>], &T) -> Result; [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] 32 | pub type FunctionClosure = dyn Fn(&[Box>], &T) -> Result; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function/mod.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | fn cause(&self) -> Option<&std::error::Error> { [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] 26 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/formatter.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn parser(&self) -> FormatParser { [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 parser(&self) -> FormatParser<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/metadata/mod.rs:8:25 [INFO] [stdout] | [INFO] [stdout] 8 | fn tag_value(&self, &str) -> Option; [INFO] [stdout] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function/mod.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | pub type FunctionClosure = Fn(&[Box>], &T) -> Result; [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] 32 | pub type FunctionClosure = dyn Fn(&[Box>], &T) -> Result; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/function/mod.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | fn cause(&self) -> Option<&std::error::Error> { [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] 26 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expression/test.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | fn make_item_text(text: &str) -> Item { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 7 | fn make_item_text(text: &str) -> Item<'_, MetadataProvider<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expression/test.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | fn make_item_tag(tag: &str) -> Item { [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is hidden here [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] 11 | fn make_item_tag(tag: &str) -> Item<'_, MetadataProvider<'_>> { [INFO] [stdout] | +++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/formatter.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn parser(&self) -> FormatParser { [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] 30 | pub fn parser(&self) -> FormatParser<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.99s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "cafa99ae90afe6c48f3c26a5a1d6332cc81429816cec17d7ccb67d1b23087a3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cafa99ae90afe6c48f3c26a5a1d6332cc81429816cec17d7ccb67d1b23087a3a", kill_on_drop: false }` [INFO] [stdout] cafa99ae90afe6c48f3c26a5a1d6332cc81429816cec17d7ccb67d1b23087a3a [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1f2bae6ba7e866c048466055f602a4cf169ea878b527298fa1b333cf6317cb7f [INFO] running `Command { std: "docker" "start" "-a" "1f2bae6ba7e866c048466055f602a4cf169ea878b527298fa1b333cf6317cb7f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/metadata/mod.rs:8:25 [INFO] [stderr] | [INFO] [stderr] 8 | fn tag_value(&self, &str) -> Option; [INFO] [stderr] | ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/function/mod.rs:32:31 [INFO] [stderr] | [INFO] [stderr] 32 | pub type FunctionClosure = Fn(&[Box>], &T) -> Result; [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] 32 | pub type FunctionClosure = dyn Fn(&[Box>], &T) -> Result; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/function/mod.rs:26:32 [INFO] [stderr] | [INFO] [stderr] 26 | fn cause(&self) -> Option<&std::error::Error> { [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] 26 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/formatter.rs:30:19 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn parser(&self) -> FormatParser { [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] 30 | pub fn parser(&self) -> FormatParser<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/expression/test.rs:7:25 [INFO] [stderr] | [INFO] [stderr] 7 | fn make_item_text(text: &str) -> Item { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is hidden here [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] 7 | fn make_item_text(text: &str) -> Item<'_, MetadataProvider<'_>> { [INFO] [stderr] | +++ ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/expression/test.rs:11:23 [INFO] [stderr] | [INFO] [stderr] 11 | fn make_item_tag(tag: &str) -> Item { [INFO] [stderr] | ^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is hidden here [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] 11 | fn make_item_tag(tag: &str) -> Item<'_, MetadataProvider<'_>> { [INFO] [stderr] | +++ ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/formatter.rs:30:19 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn parser(&self) -> FormatParser { [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] 30 | pub fn parser(&self) -> FormatParser<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `titlefmt` (lib) generated 4 warnings (run `cargo fix --lib -p titlefmt` to apply 4 suggestions) [INFO] [stderr] warning: `titlefmt` (lib test) generated 6 warnings (3 duplicates) (run `cargo fix --lib -p titlefmt --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/titlefmt-fa5674a9a0f87b5e) [INFO] [stdout] [INFO] [stdout] running 28 tests [INFO] [stdout] test expression::test::test_apply_simple_text ... ok [INFO] [stdout] test expression::test::test_apply_tags ... ok [INFO] [stdout] test expression::test::test_apply_optional ... ok [INFO] [stdout] test function::arithmetic::div::test::test_function_div ... ok [INFO] [stdout] test expression::test::test_parsed ... ok [INFO] [stdout] test function::arithmetic::add::test::test_function_add ... ok [INFO] [stdout] test function::arithmetic::greater::test::test_function_greater ... ok [INFO] [stdout] test function::arithmetic::max::test::test_function_max ... ok [INFO] [stdout] test function::arithmetic::min::test::test_function_min ... ok [INFO] [stdout] test function::arithmetic::mod_::test::test_function_mod ... ok [INFO] [stdout] test function::control_flow::if2::test::test_function_if2 ... ok [INFO] [stdout] test function::control_flow::if3::test::test_function_if3 ... ok [INFO] [stdout] test function::control_flow::if_::test::test_function_if ... ok [INFO] [stdout] test function::logical::xor::test::test_function_xor ... ok [INFO] [stdout] test function::control_flow::select::test::test_function_select ... ok [INFO] [stdout] test function::string::caps2::test::test_function_caps2 ... ok [INFO] [stdout] test function::string::ascii::test::test_function_ascii ... ok [INFO] [stdout] test function::string::directory_path::test::test_function_directory_path ... ok [INFO] [stdout] test function::string::directory::test::test_function_directory ... ok [INFO] [stdout] test function::string::filename::test::test_function_ext ... ok [INFO] [stdout] test function::string::ext::test::test_function_ext ... ok [INFO] [stdout] test function::string::abbr::test::test_function_abbr ... ok [INFO] [stdout] test function::string::caps::test::test_function_caps ... ok [INFO] [stdout] test function::string::right::test::test_function_right ... ok [INFO] [stdout] test function::string::insert::test::test_function_insert ... ok [INFO] [stdout] test function::string::left::test::test_function_left_cut ... ok [INFO] [stdout] test function::string::hex::test::test_function_hex ... ok [INFO] [stdout] test function::string::substr::test::test_function_substr ... ok [INFO] [stdout] [INFO] [stderr] Doc-tests titlefmt [INFO] [stdout] test result: ok. 28 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 4) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.84s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1f2bae6ba7e866c048466055f602a4cf169ea878b527298fa1b333cf6317cb7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f2bae6ba7e866c048466055f602a4cf169ea878b527298fa1b333cf6317cb7f", kill_on_drop: false }` [INFO] [stdout] 1f2bae6ba7e866c048466055f602a4cf169ea878b527298fa1b333cf6317cb7f