[INFO] fetching crate wearte_derive 0.0.2... [INFO] testing wearte_derive-0.0.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate wearte_derive 0.0.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate wearte_derive 0.0.2 [INFO] finished tweaking crates.io crate wearte_derive 0.0.2 [INFO] tweaked toml for crates.io crate wearte_derive 0.0.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wearte_derive 0.0.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 169 packages to latest compatible versions [INFO] [stderr] Adding nom v4.2.3 (available: v8.0.0) [INFO] [stderr] Adding prettyprint v0.4.1 (available: v0.8.1) [INFO] [stderr] Adding proc-macro2 v0.4.30 (available: v1.0.101) [INFO] [stderr] Adding quote v0.6.13 (available: v1.0.40) [INFO] [stderr] Adding syn v0.15.44 (available: v2.0.106) [INFO] [stderr] Adding toolchain_find v0.1.4 (available: v0.4.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad47b01758e6184a34f753e45ce2de85c4a07466de6154c5e8fa15200450971b [INFO] running `Command { std: "docker" "start" "-a" "ad47b01758e6184a34f753e45ce2de85c4a07466de6154c5e8fa15200450971b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad47b01758e6184a34f753e45ce2de85c4a07466de6154c5e8fa15200450971b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad47b01758e6184a34f753e45ce2de85c4a07466de6154c5e8fa15200450971b", kill_on_drop: false }` [INFO] [stdout] ad47b01758e6184a34f753e45ce2de85c4a07466de6154c5e8fa15200450971b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df43fa7466e797d861902d9ea070f0f0a443e6c1ae8555663704d2783d4b9f27 [INFO] running `Command { std: "docker" "start" "-a" "df43fa7466e797d861902d9ea070f0f0a443e6c1ae8555663704d2783d4b9f27", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling line-wrap v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling xml-rs v0.8.27 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling clicolors-control v0.2.0 [INFO] [stderr] Compiling plist v0.4.2 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling derive_builder_core v0.5.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling termios v0.3.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling console v0.6.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling ansi_colours v1.2.3 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling content_inspector v0.2.4 [INFO] [stderr] Compiling directories v1.0.2 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling toolchain_find v0.1.4 [INFO] [stderr] Compiling wearte_config v0.0.2 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Compiling onig v5.0.0 [INFO] [stderr] Compiling syntect v3.3.0 [INFO] [stderr] Compiling prettyprint v0.4.1 [INFO] [stderr] Compiling wearte_derive v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/parser/mod.rs:483:17 [INFO] [stdout] | [INFO] [stdout] 483 | ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `mime_guess::get_mime_type_str`: use `from_ext(search_ext).first_raw()` instead [INFO] [stdout] --> src/generator/mod.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use mime_guess::get_mime_type_str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `mime_guess::get_mime_type_str`: use `from_ext(search_ext).first_raw()` instead [INFO] [stdout] --> src/generator/mod.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | get_mime_type_str(ext).expect("valid mime ext") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/generator/visit_derive.rs:25:53 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn implement_head(&self, t: &str, buf: &mut EWrite) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 25 | pub fn implement_head(&self, t: &str, buf: &mut dyn EWrite) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) fn parse(src: &str) -> Vec { [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] 49 | pub(crate) fn parse(src: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | fn Input(input: &[u8]) -> Input { [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] 83 | fn Input(input: &[u8]) -> Input<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:569:18 [INFO] [stdout] | [INFO] [stdout] 569 | fn identifier(i: Input) -> Result<(Input, &str), nom::Err> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the 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] 569 | fn identifier(i: Input<'_>) -> Result<(Input<'_>, &str), nom::Err>> { [INFO] [stdout] | ++++ ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:583:13 [INFO] [stdout] | [INFO] [stdout] 583 | named!(path, map!(take_while1!(is_path), |x| safe_utf8(&x))); [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | 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] 583 | named!(path, &str>, map!(take_while1!(is_path), |x| safe_utf8(&x))); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/pre_partials.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn parse_partials(src: &str) -> Vec { [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] 8 | pub(crate) fn parse_partials(src: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 38s [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 2` [INFO] running `Command { std: "docker" "inspect" "df43fa7466e797d861902d9ea070f0f0a443e6c1ae8555663704d2783d4b9f27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df43fa7466e797d861902d9ea070f0f0a443e6c1ae8555663704d2783d4b9f27", kill_on_drop: false }` [INFO] [stdout] df43fa7466e797d861902d9ea070f0f0a443e6c1ae8555663704d2783d4b9f27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49d74e1fe68411a20863fa264d9c855e17ffcf747a21de7f48f357f5eb497ce5 [INFO] running `Command { std: "docker" "start" "-a" "49d74e1fe68411a20863fa264d9c855e17ffcf747a21de7f48f357f5eb497ce5", kill_on_drop: false }` [INFO] [stderr] Compiling wearte_derive v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/parser/mod.rs:483:17 [INFO] [stdout] | [INFO] [stdout] 483 | ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `mime_guess::get_mime_type_str`: use `from_ext(search_ext).first_raw()` instead [INFO] [stdout] --> src/generator/mod.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use mime_guess::get_mime_type_str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `mime_guess::get_mime_type_str`: use `from_ext(search_ext).first_raw()` instead [INFO] [stdout] --> src/generator/mod.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | get_mime_type_str(ext).expect("valid mime ext") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/generator/visit_derive.rs:25:53 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn implement_head(&self, t: &str, buf: &mut EWrite) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 25 | pub fn implement_head(&self, t: &str, buf: &mut dyn EWrite) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/parser/mod.rs:483:17 [INFO] [stdout] | [INFO] [stdout] 483 | ; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `mime_guess::get_mime_type_str`: use `from_ext(search_ext).first_raw()` instead [INFO] [stdout] --> src/generator/mod.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use mime_guess::get_mime_type_str; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `mime_guess::get_mime_type_str`: use `from_ext(search_ext).first_raw()` instead [INFO] [stdout] --> src/generator/mod.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | get_mime_type_str(ext).expect("valid mime ext") [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/generator/visit_derive.rs:25:53 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn implement_head(&self, t: &str, buf: &mut EWrite) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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] 25 | pub fn implement_head(&self, t: &str, buf: &mut dyn EWrite) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) fn parse(src: &str) -> Vec { [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] 49 | pub(crate) fn parse(src: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | fn Input(input: &[u8]) -> Input { [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] 83 | fn Input(input: &[u8]) -> Input<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:569:18 [INFO] [stdout] | [INFO] [stdout] 569 | fn identifier(i: Input) -> Result<(Input, &str), nom::Err> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the 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] 569 | fn identifier(i: Input<'_>) -> Result<(Input<'_>, &str), nom::Err>> { [INFO] [stdout] | ++++ ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:583:13 [INFO] [stdout] | [INFO] [stdout] 583 | named!(path, map!(take_while1!(is_path), |x| safe_utf8(&x))); [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | 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] 583 | named!(path, &str>, map!(take_while1!(is_path), |x| safe_utf8(&x))); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/pre_partials.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn parse_partials(src: &str) -> Vec { [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] 8 | pub(crate) fn parse_partials(src: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:49:26 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) fn parse(src: &str) -> Vec { [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] 49 | pub(crate) fn parse(src: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | fn Input(input: &[u8]) -> Input { [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] 83 | fn Input(input: &[u8]) -> Input<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:569:18 [INFO] [stdout] | [INFO] [stdout] 569 | fn identifier(i: Input) -> Result<(Input, &str), nom::Err> { [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the 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] 569 | fn identifier(i: Input<'_>) -> Result<(Input<'_>, &str), nom::Err>> { [INFO] [stdout] | ++++ ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/mod.rs:583:13 [INFO] [stdout] | [INFO] [stdout] 583 | named!(path, map!(take_while1!(is_path), |x| safe_utf8(&x))); [INFO] [stdout] | ^^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is hidden here [INFO] [stdout] | 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] 583 | named!(path, &str>, map!(take_while1!(is_path), |x| safe_utf8(&x))); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser/pre_partials.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn parse_partials(src: &str) -> Vec { [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] 8 | pub(crate) fn parse_partials(src: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.92s [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 2` [INFO] running `Command { std: "docker" "inspect" "49d74e1fe68411a20863fa264d9c855e17ffcf747a21de7f48f357f5eb497ce5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49d74e1fe68411a20863fa264d9c855e17ffcf747a21de7f48f357f5eb497ce5", kill_on_drop: false }` [INFO] [stdout] 49d74e1fe68411a20863fa264d9c855e17ffcf747a21de7f48f357f5eb497ce5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 82adcf0e0181b1a718581ddd64fec3b0ce454c6f36e5167782034e4f00f8f2d5 [INFO] running `Command { std: "docker" "start" "-a" "82adcf0e0181b1a718581ddd64fec3b0ce454c6f36e5167782034e4f00f8f2d5", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/parser/mod.rs:483:17 [INFO] [stderr] | [INFO] [stderr] 483 | ; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `mime_guess::get_mime_type_str`: use `from_ext(search_ext).first_raw()` instead [INFO] [stderr] --> src/generator/mod.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | use mime_guess::get_mime_type_str; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `mime_guess::get_mime_type_str`: use `from_ext(search_ext).first_raw()` instead [INFO] [stderr] --> src/generator/mod.rs:125:9 [INFO] [stderr] | [INFO] [stderr] 125 | get_mime_type_str(ext).expect("valid mime ext") [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/generator/visit_derive.rs:25:53 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn implement_head(&self, t: &str, buf: &mut EWrite) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) 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] 25 | pub fn implement_head(&self, t: &str, buf: &mut dyn EWrite) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/mod.rs:49:26 [INFO] [stderr] | [INFO] [stderr] 49 | pub(crate) fn parse(src: &str) -> Vec { [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] 49 | pub(crate) fn parse(src: &str) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/mod.rs:83:17 [INFO] [stderr] | [INFO] [stderr] 83 | fn Input(input: &[u8]) -> Input { [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] 83 | fn Input(input: &[u8]) -> Input<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/mod.rs:569:18 [INFO] [stderr] | [INFO] [stderr] 569 | fn identifier(i: Input) -> Result<(Input, &str), nom::Err> { [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^ ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | | [INFO] [stderr] | | | the same lifetime is elided here [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | the 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] 569 | fn identifier(i: Input<'_>) -> Result<(Input<'_>, &str), nom::Err>> { [INFO] [stderr] | ++++ ++++ ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/mod.rs:583:13 [INFO] [stderr] | [INFO] [stderr] 583 | named!(path, map!(take_while1!(is_path), |x| safe_utf8(&x))); [INFO] [stderr] | ^^^^^ ^^^^ the same lifetime is elided here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is hidden here [INFO] [stderr] | 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] 583 | named!(path, &str>, map!(take_while1!(is_path), |x| safe_utf8(&x))); [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser/pre_partials.rs:8:35 [INFO] [stderr] | [INFO] [stderr] 8 | pub(crate) fn parse_partials(src: &str) -> Vec { [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] 8 | pub(crate) fn parse_partials(src: &str) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `wearte_derive` (lib) generated 9 warnings (run `cargo fix --lib -p wearte_derive` to apply 6 suggestions) [INFO] [stderr] warning: `wearte_derive` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [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 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wearte_derive-bf15b829ad2ea9c7) [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test generator::visit_derive::test::test ... ok [INFO] [stdout] test parser::tests::test_eat_expr ... ok [INFO] [stdout] test parser::pre_partials::tests::test_empty ... ok [INFO] [stdout] test parser::tests::test_defined ... ok [INFO] [stdout] test parser::tests::test_eat_if ... ok [INFO] [stdout] test parser::tests::test_eat_safe ... ok [INFO] [stdout] test parser::tests::test_else_if ... ok [INFO] [stdout] test parser::tests::test_empty ... ok [INFO] [stdout] test parser::tests::test_expr_list ... ok [INFO] [stdout] test parser::tests::test_fallback ... ok [INFO] [stdout] test parser::tests::test_helpers ... ok [INFO] [stdout] test parser::tests::test_if_else ... ok [INFO] [stdout] test parser::tests::test_partial ... ok [INFO] [stdout] test parser::tests::test_partial_ws ... ok [INFO] [stdout] test parser::tests::test_raw ... ok [INFO] [stdout] test parser::tests::test_trim ... ok [INFO] [stdout] test parser::tests::test_ws_expr ... ok [INFO] [stdout] test parser::tests::test_ws_if ... ok [INFO] [stdout] test parser::tests::test_ws_if_else ... ok [INFO] [stdout] test parser::tests::test_ws_if_else_if ... ok [INFO] [stdout] test parser::tests::test_eat_comment ... ok [INFO] [stdout] test parser::tests::test_ws_raw ... ok [INFO] [stdout] test parser::tests::test_ws_each ... ok [INFO] [stdout] test parser::tests::test_eat_expr_panic_a - should panic ... ok [INFO] [stdout] test parser::tests::test_eat_expr_panic_b - should panic ... ok [INFO] [stdout] test parser::tests::test_eat_safe_panic - should panic ... ok [INFO] [stdout] test generator::visit_derive::test::test_panic - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests wearte_derive [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/parser/mod.rs:483:17 [INFO] [stderr] | [INFO] [stderr] 483 | ; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "82adcf0e0181b1a718581ddd64fec3b0ce454c6f36e5167782034e4f00f8f2d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82adcf0e0181b1a718581ddd64fec3b0ce454c6f36e5167782034e4f00f8f2d5", kill_on_drop: false }` [INFO] [stdout] 82adcf0e0181b1a718581ddd64fec3b0ce454c6f36e5167782034e4f00f8f2d5