[INFO] fetching crate doubter-impl 0.1.0... [INFO] testing doubter-impl-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate doubter-impl 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate doubter-impl 0.1.0 [INFO] finished tweaking crates.io crate doubter-impl 0.1.0 [INFO] tweaked toml for crates.io crate doubter-impl 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate doubter-impl 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] [stderr] Adding bytecount v0.3.2 (available: v0.6.9) [INFO] [stderr] Adding glob v0.2.11 (available: v0.3.2) [INFO] [stderr] Adding proc-macro2 v0.4.30 (available: v1.0.95) [INFO] [stderr] Adding pulldown-cmark v0.1.2 (available: v0.13.0) [INFO] [stderr] Adding quote v0.6.13 (available: v1.0.40) [INFO] [stderr] Adding syn v0.15.44 (available: v2.0.104) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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 bytecount v0.3.2 [INFO] [stderr] Downloaded pulldown-cmark v0.1.2 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 835f455abb267a700897a823587c3d35cf858cfb6c39dd8e29e5201f21c4fbbb [INFO] running `Command { std: "docker" "start" "-a" "835f455abb267a700897a823587c3d35cf858cfb6c39dd8e29e5201f21c4fbbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "835f455abb267a700897a823587c3d35cf858cfb6c39dd8e29e5201f21c4fbbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "835f455abb267a700897a823587c3d35cf858cfb6c39dd8e29e5201f21c4fbbb", kill_on_drop: false }` [INFO] [stdout] 835f455abb267a700897a823587c3d35cf858cfb6c39dd8e29e5201f21c4fbbb [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6502418dd26a761e5fd1c32c4296b7c0ea72d378fccd5f8ac960050358bd5b14 [INFO] running `Command { std: "docker" "start" "-a" "6502418dd26a761e5fd1c32c4296b7c0ea72d378fccd5f8ac960050358bd5b14", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling pulldown-cmark v0.1.2 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling bytecount v0.3.2 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling doubter-impl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/tree.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg_attr(feature = "cargo-clippy", allow(match_ref_pats))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/util.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | String::with_capacity({ file.metadata().map(|m| m.len() as usize + 1).unwrap_or(0) }); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 21 - String::with_capacity({ file.metadata().map(|m| m.len() as usize + 1).unwrap_or(0) }); [INFO] [stdout] 21 + String::with_capacity(file.metadata().map(|m| m.len() as usize + 1).unwrap_or(0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | E: Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | E: Into>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `eq` is never read [INFO] [stdout] --> src/config.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 92 | struct Field { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 93 | ident: Ident, [INFO] [stdout] 94 | eq: Token![=], [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root_dir` is never read [INFO] [stdout] --> src/render.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct RenderContext { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 18 | config: Config, [INFO] [stdout] 19 | root_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RenderContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/extract.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn extract_code_blocks(input: &str) -> Vec { [INFO] [stdout] | ^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 12 | pub fn extract_code_blocks(input: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tree.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn iter(&self) -> hash_map::Iter { [INFO] [stdout] | ^^^^^ ------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 82 | pub fn iter(&self) -> hash_map::Iter<'_, OsString, Node> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.72s [INFO] running `Command { std: "docker" "inspect" "6502418dd26a761e5fd1c32c4296b7c0ea72d378fccd5f8ac960050358bd5b14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6502418dd26a761e5fd1c32c4296b7c0ea72d378fccd5f8ac960050358bd5b14", kill_on_drop: false }` [INFO] [stdout] 6502418dd26a761e5fd1c32c4296b7c0ea72d378fccd5f8ac960050358bd5b14 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f14795db15385a4515ec28157149efd4044cd2278f16c9e058f135b1ab1b2504 [INFO] running `Command { std: "docker" "start" "-a" "f14795db15385a4515ec28157149efd4044cd2278f16c9e058f135b1ab1b2504", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling doubter-impl v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/tree.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg_attr(feature = "cargo-clippy", allow(match_ref_pats))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/util.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | String::with_capacity({ file.metadata().map(|m| m.len() as usize + 1).unwrap_or(0) }); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 21 - String::with_capacity({ file.metadata().map(|m| m.len() as usize + 1).unwrap_or(0) }); [INFO] [stdout] 21 + String::with_capacity(file.metadata().map(|m| m.len() as usize + 1).unwrap_or(0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | E: Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | E: Into>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `eq` is never read [INFO] [stdout] --> src/config.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 92 | struct Field { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 93 | ident: Ident, [INFO] [stdout] 94 | eq: Token![=], [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root_dir` is never read [INFO] [stdout] --> src/render.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct RenderContext { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 18 | config: Config, [INFO] [stdout] 19 | root_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RenderContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/extract.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn extract_code_blocks(input: &str) -> Vec { [INFO] [stdout] | ^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 12 | pub fn extract_code_blocks(input: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tree.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn iter(&self) -> hash_map::Iter { [INFO] [stdout] | ^^^^^ ------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 82 | pub fn iter(&self) -> hash_map::Iter<'_, OsString, Node> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/tree.rs:66:16 [INFO] [stdout] | [INFO] [stdout] 66 | #[cfg_attr(feature = "cargo-clippy", allow(match_ref_pats))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/util.rs:21:31 [INFO] [stdout] | [INFO] [stdout] 21 | String::with_capacity({ file.metadata().map(|m| m.len() as usize + 1).unwrap_or(0) }); [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 21 - String::with_capacity({ file.metadata().map(|m| m.len() as usize + 1).unwrap_or(0) }); [INFO] [stdout] 21 + String::with_capacity(file.metadata().map(|m| m.len() as usize + 1).unwrap_or(0)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/util.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | E: Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | E: Into>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `eq` is never read [INFO] [stdout] --> src/config.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 92 | struct Field { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 93 | ident: Ident, [INFO] [stdout] 94 | eq: Token![=], [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Field` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `root_dir` is never read [INFO] [stdout] --> src/render.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct RenderContext { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 18 | config: Config, [INFO] [stdout] 19 | root_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RenderContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/extract.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn extract_code_blocks(input: &str) -> Vec { [INFO] [stdout] | ^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 12 | pub fn extract_code_blocks(input: &str) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/tree.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn iter(&self) -> hash_map::Iter { [INFO] [stdout] | ^^^^^ ------------------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 82 | pub fn iter(&self) -> hash_map::Iter<'_, OsString, Node> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "f14795db15385a4515ec28157149efd4044cd2278f16c9e058f135b1ab1b2504", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f14795db15385a4515ec28157149efd4044cd2278f16c9e058f135b1ab1b2504", kill_on_drop: false }` [INFO] [stdout] f14795db15385a4515ec28157149efd4044cd2278f16c9e058f135b1ab1b2504 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 6a02cb342fb0e82d78426d780a72a770963bb150f71164275ea3113969784f2e [INFO] running `Command { std: "docker" "start" "-a" "6a02cb342fb0e82d78426d780a72a770963bb150f71164275ea3113969784f2e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/tree.rs:66:16 [INFO] [stderr] | [INFO] [stderr] 66 | #[cfg_attr(feature = "cargo-clippy", allow(match_ref_pats))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around function argument [INFO] [stderr] --> src/util.rs:21:31 [INFO] [stderr] | [INFO] [stderr] 21 | String::with_capacity({ file.metadata().map(|m| m.len() as usize + 1).unwrap_or(0) }); [INFO] [stderr] | ^^ ^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 21 - String::with_capacity({ file.metadata().map(|m| m.len() as usize + 1).unwrap_or(0) }); [INFO] [stderr] 21 + String::with_capacity(file.metadata().map(|m| m.len() as usize + 1).unwrap_or(0)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/util.rs:9:17 [INFO] [stderr] | [INFO] [stderr] 9 | E: Into>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 9 | E: Into>, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: field `eq` is never read [INFO] [stderr] --> src/config.rs:94:5 [INFO] [stderr] | [INFO] [stderr] 92 | struct Field { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 93 | ident: Ident, [INFO] [stderr] 94 | eq: Token![=], [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `Field` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `root_dir` is never read [INFO] [stderr] --> src/render.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 17 | pub struct RenderContext { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] 18 | config: Config, [INFO] [stderr] 19 | root_dir: PathBuf, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RenderContext` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/extract.rs:12:35 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn extract_code_blocks(input: &str) -> Vec { [INFO] [stderr] | ^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 12 | pub fn extract_code_blocks(input: &str) -> Vec> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/tree.rs:82:17 [INFO] [stderr] | [INFO] [stderr] 82 | pub fn iter(&self) -> hash_map::Iter { [INFO] [stderr] | ^^^^^ ------------------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 82 | pub fn iter(&self) -> hash_map::Iter<'_, OsString, Node> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `doubter-impl` (lib) generated 7 warnings (run `cargo fix --lib -p doubter-impl` to apply 4 suggestions) [INFO] [stderr] warning: `doubter-impl` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/doubter_impl-293c2977f4bed481) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test render::sanitize::test_sanitize ... ok [INFO] [stdout] test tree::normalize_path::test_normalize_path ... ok [INFO] [stdout] test extract::tests::test_no_blocks ... ok [INFO] [stdout] test extract::tests::test_single_block ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6a02cb342fb0e82d78426d780a72a770963bb150f71164275ea3113969784f2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a02cb342fb0e82d78426d780a72a770963bb150f71164275ea3113969784f2e", kill_on_drop: false }` [INFO] [stdout] 6a02cb342fb0e82d78426d780a72a770963bb150f71164275ea3113969784f2e