[INFO] fetching crate mice 0.11.1... [INFO] testing mice-0.11.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate mice 0.11.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate mice 0.11.1 [INFO] finished tweaking crates.io crate mice 0.11.1 [INFO] tweaked toml for crates.io crate mice 0.11.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mice 0.11.1 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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 111 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.6.0) [INFO] [stderr] Adding derive_more v0.99.20 (available: v2.0.1) [INFO] [stderr] Adding fixedbitset v0.4.2 (available: v0.5.7) [INFO] [stderr] Adding lasso v0.6.0 (available: v0.7.3) [INFO] [stderr] Adding logos v0.12.1 (available: v0.15.0) [INFO] [stderr] Adding petgraph v0.6.5 (available: v0.8.2) [INFO] [stderr] Adding quickscope v0.1.6 (available: v0.2.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quickscope v0.1.6 [INFO] [stderr] Downloaded derive-syn-parse v0.1.5 [INFO] [stderr] Downloaded mbot_proc_macro_helpers v0.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 99bad4b3a13e658042b4880f588cd990e6d24ab2a4615b5c8f8ac50700cfac5c [INFO] running `Command { std: "docker" "start" "-a" "99bad4b3a13e658042b4880f588cd990e6d24ab2a4615b5c8f8ac50700cfac5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99bad4b3a13e658042b4880f588cd990e6d24ab2a4615b5c8f8ac50700cfac5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99bad4b3a13e658042b4880f588cd990e6d24ab2a4615b5c8f8ac50700cfac5c", kill_on_drop: false }` [INFO] [stdout] 99bad4b3a13e658042b4880f588cd990e6d24ab2a4615b5c8f8ac50700cfac5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] c52a9b6ac1b19d80979725a072e29288038ef090cb269ccc8df4b466aaee8c50 [INFO] running `Command { std: "docker" "start" "-a" "c52a9b6ac1b19d80979725a072e29288038ef090cb269ccc8df4b466aaee8c50", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling core_extensions v1.5.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling quickscope v0.1.6 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling derive-syn-parse v0.1.5 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling mbot_proc_macro_helpers v0.0.2 [INFO] [stderr] Compiling mice v0.11.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MirEdge` and `MirNode` [INFO] [stdout] --> src/mir/check.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use super::{MirEdge, MirGraph, MirNode}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryFrom` [INFO] [stdout] --> src/mir/stack.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | use ::core::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph` [INFO] [stdout] --> src/mir/check.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | fn only_function_deps_for_functions(graph: &MirGraph) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph` [INFO] [stdout] --> src/mir/check.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | fn statically_resolvable_functions(graph: &MirGraph) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph` [INFO] [stdout] --> src/mir/check.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | fn arg_types(graph: &MirGraph) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PartialApply` is never constructed [INFO] [stdout] --> src/mir.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 211 | enum MirNode { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 240 | PartialApply, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MirNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `only_function_deps_for_functions` is never used [INFO] [stdout] --> src/mir/check.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn only_function_deps_for_functions(graph: &MirGraph) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `statically_resolvable_functions` is never used [INFO] [stdout] --> src/mir/check.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn statically_resolvable_functions(graph: &MirGraph) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `arg_types` is never used [INFO] [stdout] --> src/mir/check.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn arg_types(graph: &MirGraph) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all` is never used [INFO] [stdout] --> src/mir/check.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | pub(super) fn all(graph: &MirGraph) -> Result<(), Vec<&'static str>> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mir/fmt.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | RegionArgument(u8), [INFO] [stdout] | -------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FmtNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 - RegionArgument(u8), [INFO] [stdout] 33 + RegionArgument(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contained_by` is never used [INFO] [stdout] --> src/mir/stack.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub(crate) trait Bytecode: Sized { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 91 | fn contained_by(&self, _range: ::core::ops::RangeToInclusive) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node_index` is never read [INFO] [stdout] --> src/mir/stack.rs:621:17 [INFO] [stdout] | [INFO] [stdout] 618 | struct FmtArg<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 621 | node_index: ::NodeId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `val` is never used [INFO] [stdout] --> src/tree.rs:265:19 [INFO] [stdout] | [INFO] [stdout] 264 | impl TreeIndex { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 265 | pub(crate) fn val(&self) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&Box<[T]> as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to ` as IntoIterator>::into_iter` in Rust 2024 [INFO] [stdout] --> src/mir/fmt.rs:318:48 [INFO] [stdout] | [INFO] [stdout] 318 | ... for part in unkept.into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(boxed_slice_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 318 - for part in unkept.into_iter() { [INFO] [stdout] 318 + for part in unkept.iter() { [INFO] [stdout] | [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 318 - for part in unkept.into_iter() { [INFO] [stdout] 318 + for part in unkept { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mir/stack.rs:320:27 [INFO] [stdout] | [INFO] [stdout] 320 | fn decode_mut(cursor: &mut [u8]) -> Result<(&mut [u8], InstructionView), ()> { [INFO] [stdout] | ^^^^^^^^^ --------- --------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 320 | fn decode_mut(cursor: &mut [u8]) -> Result<(&mut [u8], InstructionView<'_>), ()> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.33s [INFO] running `Command { std: "docker" "inspect" "c52a9b6ac1b19d80979725a072e29288038ef090cb269ccc8df4b466aaee8c50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c52a9b6ac1b19d80979725a072e29288038ef090cb269ccc8df4b466aaee8c50", kill_on_drop: false }` [INFO] [stdout] c52a9b6ac1b19d80979725a072e29288038ef090cb269ccc8df4b466aaee8c50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] d4a2d70bbb40b5f2bc120aaa009d8b2bf3a82fbc2328531732d923b6533ddb96 [INFO] running `Command { std: "docker" "start" "-a" "d4a2d70bbb40b5f2bc120aaa009d8b2bf3a82fbc2328531732d923b6533ddb96", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MirEdge` and `MirNode` [INFO] [stdout] --> src/mir/check.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use super::{MirEdge, MirGraph, MirNode}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryFrom` [INFO] [stdout] --> src/mir/stack.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | use ::core::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph` [INFO] [stdout] --> src/mir/check.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | fn only_function_deps_for_functions(graph: &MirGraph) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph` [INFO] [stdout] --> src/mir/check.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | fn statically_resolvable_functions(graph: &MirGraph) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph` [INFO] [stdout] --> src/mir/check.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | fn arg_types(graph: &MirGraph) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PartialApply` is never constructed [INFO] [stdout] --> src/mir.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 211 | enum MirNode { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 240 | PartialApply, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MirNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `only_function_deps_for_functions` is never used [INFO] [stdout] --> src/mir/check.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn only_function_deps_for_functions(graph: &MirGraph) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `statically_resolvable_functions` is never used [INFO] [stdout] --> src/mir/check.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn statically_resolvable_functions(graph: &MirGraph) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `arg_types` is never used [INFO] [stdout] --> src/mir/check.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn arg_types(graph: &MirGraph) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all` is never used [INFO] [stdout] --> src/mir/check.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | pub(super) fn all(graph: &MirGraph) -> Result<(), Vec<&'static str>> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mir/fmt.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | RegionArgument(u8), [INFO] [stdout] | -------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FmtNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 - RegionArgument(u8), [INFO] [stdout] 33 + RegionArgument(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contained_by` is never used [INFO] [stdout] --> src/mir/stack.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub(crate) trait Bytecode: Sized { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 91 | fn contained_by(&self, _range: ::core::ops::RangeToInclusive) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node_index` is never read [INFO] [stdout] --> src/mir/stack.rs:621:17 [INFO] [stdout] | [INFO] [stdout] 618 | struct FmtArg<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 621 | node_index: ::NodeId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `val` is never used [INFO] [stdout] --> src/tree.rs:265:19 [INFO] [stdout] | [INFO] [stdout] 264 | impl TreeIndex { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 265 | pub(crate) fn val(&self) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&Box<[T]> as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to ` as IntoIterator>::into_iter` in Rust 2024 [INFO] [stdout] --> src/mir/fmt.rs:318:48 [INFO] [stdout] | [INFO] [stdout] 318 | ... for part in unkept.into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(boxed_slice_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 318 - for part in unkept.into_iter() { [INFO] [stdout] 318 + for part in unkept.iter() { [INFO] [stdout] | [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 318 - for part in unkept.into_iter() { [INFO] [stdout] 318 + for part in unkept { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mir/stack.rs:320:27 [INFO] [stdout] | [INFO] [stdout] 320 | fn decode_mut(cursor: &mut [u8]) -> Result<(&mut [u8], InstructionView), ()> { [INFO] [stdout] | ^^^^^^^^^ --------- --------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 320 | fn decode_mut(cursor: &mut [u8]) -> Result<(&mut [u8], InstructionView<'_>), ()> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling mice v0.11.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `MirEdge` and `MirNode` [INFO] [stdout] --> src/mir/check.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use super::{MirEdge, MirGraph, MirNode}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryFrom` [INFO] [stdout] --> src/mir/stack.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | use ::core::convert::{TryFrom, TryInto}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph` [INFO] [stdout] --> src/mir/check.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 12 | fn only_function_deps_for_functions(graph: &MirGraph) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph` [INFO] [stdout] --> src/mir/check.rs:25:36 [INFO] [stdout] | [INFO] [stdout] 25 | fn statically_resolvable_functions(graph: &MirGraph) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `graph` [INFO] [stdout] --> src/mir/check.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | fn arg_types(graph: &MirGraph) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PartialApply` is never constructed [INFO] [stdout] --> src/mir.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 211 | enum MirNode { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 240 | PartialApply, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MirNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `only_function_deps_for_functions` is never used [INFO] [stdout] --> src/mir/check.rs:12:4 [INFO] [stdout] | [INFO] [stdout] 12 | fn only_function_deps_for_functions(graph: &MirGraph) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `statically_resolvable_functions` is never used [INFO] [stdout] --> src/mir/check.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn statically_resolvable_functions(graph: &MirGraph) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `arg_types` is never used [INFO] [stdout] --> src/mir/check.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn arg_types(graph: &MirGraph) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `all` is never used [INFO] [stdout] --> src/mir/check.rs:34:15 [INFO] [stdout] | [INFO] [stdout] 34 | pub(super) fn all(graph: &MirGraph) -> Result<(), Vec<&'static str>> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mir/fmt.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | RegionArgument(u8), [INFO] [stdout] | -------------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FmtNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 - RegionArgument(u8), [INFO] [stdout] 33 + RegionArgument(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contained_by` is never used [INFO] [stdout] --> src/mir/stack.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 88 | pub(crate) trait Bytecode: Sized { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 91 | fn contained_by(&self, _range: ::core::ops::RangeToInclusive) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `node_index` is never read [INFO] [stdout] --> src/mir/stack.rs:621:17 [INFO] [stdout] | [INFO] [stdout] 618 | struct FmtArg<'a> { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 621 | node_index: ::NodeId, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `val` is never used [INFO] [stdout] --> src/tree.rs:265:19 [INFO] [stdout] | [INFO] [stdout] 264 | impl TreeIndex { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 265 | pub(crate) fn val(&self) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&Box<[T]> as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to ` as IntoIterator>::into_iter` in Rust 2024 [INFO] [stdout] --> src/mir/fmt.rs:318:48 [INFO] [stdout] | [INFO] [stdout] 318 | ... for part in unkept.into_iter() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(boxed_slice_into_iter)]` on by default [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 318 - for part in unkept.into_iter() { [INFO] [stdout] 318 + for part in unkept.iter() { [INFO] [stdout] | [INFO] [stdout] help: or remove `.into_iter()` to iterate by value [INFO] [stdout] | [INFO] [stdout] 318 - for part in unkept.into_iter() { [INFO] [stdout] 318 + for part in unkept { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mir/stack.rs:320:27 [INFO] [stdout] | [INFO] [stdout] 320 | fn decode_mut(cursor: &mut [u8]) -> Result<(&mut [u8], InstructionView), ()> { [INFO] [stdout] | ^^^^^^^^^ --------- --------------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | [INFO] [stdout] | | the lifetimes get resolved as `'_` [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] 320 | fn decode_mut(cursor: &mut [u8]) -> Result<(&mut [u8], InstructionView<'_>), ()> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 22.71s [INFO] running `Command { std: "docker" "inspect" "d4a2d70bbb40b5f2bc120aaa009d8b2bf3a82fbc2328531732d923b6533ddb96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4a2d70bbb40b5f2bc120aaa009d8b2bf3a82fbc2328531732d923b6533ddb96", kill_on_drop: false }` [INFO] [stdout] d4a2d70bbb40b5f2bc120aaa009d8b2bf3a82fbc2328531732d923b6533ddb96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 425c742b7e0a615c7c8d14734b71864c6a84a87a34f3638e7b0ed88456224ccb [INFO] running `Command { std: "docker" "start" "-a" "425c742b7e0a615c7c8d14734b71864c6a84a87a34f3638e7b0ed88456224ccb", kill_on_drop: false }` [INFO] [stderr] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stderr] [INFO] [stderr] warning: unused imports: `MirEdge` and `MirNode` [INFO] [stderr] --> src/mir/check.rs:7:13 [INFO] [stderr] | [INFO] [stderr] 7 | use super::{MirEdge, MirGraph, MirNode}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `TryFrom` [INFO] [stderr] --> src/mir/stack.rs:22:23 [INFO] [stderr] | [INFO] [stderr] 22 | use ::core::convert::{TryFrom, TryInto}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `graph` [INFO] [stderr] --> src/mir/check.rs:12:37 [INFO] [stderr] | [INFO] [stderr] 12 | fn only_function_deps_for_functions(graph: &MirGraph) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `graph` [INFO] [stderr] --> src/mir/check.rs:25:36 [INFO] [stderr] | [INFO] [stderr] 25 | fn statically_resolvable_functions(graph: &MirGraph) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `graph` [INFO] [stderr] --> src/mir/check.rs:30:14 [INFO] [stderr] | [INFO] [stderr] 30 | fn arg_types(graph: &MirGraph) -> bool { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_graph` [INFO] [stderr] [INFO] [stderr] warning: variant `PartialApply` is never constructed [INFO] [stderr] --> src/mir.rs:240:5 [INFO] [stderr] | [INFO] [stderr] 211 | enum MirNode { [INFO] [stderr] | ------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 240 | PartialApply, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MirNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `only_function_deps_for_functions` is never used [INFO] [stderr] --> src/mir/check.rs:12:4 [INFO] [stderr] | [INFO] [stderr] 12 | fn only_function_deps_for_functions(graph: &MirGraph) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `statically_resolvable_functions` is never used [INFO] [stderr] --> src/mir/check.rs:25:4 [INFO] [stderr] | [INFO] [stderr] 25 | fn statically_resolvable_functions(graph: &MirGraph) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `arg_types` is never used [INFO] [stderr] --> src/mir/check.rs:30:4 [INFO] [stderr] | [INFO] [stderr] 30 | fn arg_types(graph: &MirGraph) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `all` is never used [INFO] [stderr] --> src/mir/check.rs:34:15 [INFO] [stderr] | [INFO] [stderr] 34 | pub(super) fn all(graph: &MirGraph) -> Result<(), Vec<&'static str>> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/mir/fmt.rs:33:20 [INFO] [stderr] | [INFO] [stderr] 33 | RegionArgument(u8), [INFO] [stderr] | -------------- ^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `FmtNode` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 33 - RegionArgument(u8), [INFO] [stderr] 33 + RegionArgument(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: method `contained_by` is never used [INFO] [stderr] --> src/mir/stack.rs:91:8 [INFO] [stderr] | [INFO] [stderr] 88 | pub(crate) trait Bytecode: Sized { [INFO] [stderr] | -------- method in this trait [INFO] [stderr] ... [INFO] [stderr] 91 | fn contained_by(&self, _range: ::core::ops::RangeToInclusive) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `node_index` is never read [INFO] [stderr] --> src/mir/stack.rs:621:17 [INFO] [stderr] | [INFO] [stderr] 618 | struct FmtArg<'a> { [INFO] [stderr] | ------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 621 | node_index: ::NodeId, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `val` is never used [INFO] [stderr] --> src/tree.rs:265:19 [INFO] [stderr] | [INFO] [stderr] 264 | impl TreeIndex { [INFO] [stderr] | -------------- method in this implementation [INFO] [stderr] 265 | pub(crate) fn val(&self) -> u8 { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&Box<[T]> as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to ` as IntoIterator>::into_iter` in Rust 2024 [INFO] [stderr] --> src/mir/fmt.rs:318:48 [INFO] [stderr] | [INFO] [stderr] 318 | ... for part in unkept.into_iter() { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2024 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(boxed_slice_into_iter)]` on by default [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 318 - for part in unkept.into_iter() { [INFO] [stderr] 318 + for part in unkept.iter() { [INFO] [stderr] | [INFO] [stderr] help: or remove `.into_iter()` to iterate by value [INFO] [stderr] | [INFO] [stderr] 318 - for part in unkept.into_iter() { [INFO] [stderr] 318 + for part in unkept { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mir/stack.rs:320:27 [INFO] [stderr] | [INFO] [stderr] 320 | fn decode_mut(cursor: &mut [u8]) -> Result<(&mut [u8], InstructionView), ()> { [INFO] [stderr] | ^^^^^^^^^ --------- --------------- the lifetimes get resolved as `'_` [INFO] [stderr] | | | [INFO] [stderr] | | the lifetimes get resolved as `'_` [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] 320 | fn decode_mut(cursor: &mut [u8]) -> Result<(&mut [u8], InstructionView<'_>), ()> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `mice` (lib) generated 17 warnings (run `cargo fix --lib -p mice` to apply 3 suggestions) [INFO] [stderr] warning: `mice` (lib test) generated 16 warnings (16 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/mice-3cc82a3604dc2b09) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test tests::test_basic_expressions ... ok [INFO] [stdout] test tree::it_works ... ok [INFO] [stdout] test tests::test_mixed_whitespace ... ok [INFO] [stdout] test tests::test_arithmetic ... ok [INFO] [stdout] test tests::test_keeping_highest_dice ... ok [INFO] [stdout] test tests::test_trailing_whitespace ... ok [INFO] [stdout] test tests::test_maturity ... ok [INFO] [stdout] test tests::test_zero_sides ... ok [INFO] [stdout] test tree::postorder ... ok [INFO] [stdout] test tests::test_max_sides ... ok [INFO] [stdout] test tests::test_one_side ... ok [INFO] [stdout] test tests::test_leading_whitespace ... ok [INFO] [stdout] test mir::stack::tests::multiple_dependents - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "425c742b7e0a615c7c8d14734b71864c6a84a87a34f3638e7b0ed88456224ccb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "425c742b7e0a615c7c8d14734b71864c6a84a87a34f3638e7b0ed88456224ccb", kill_on_drop: false }` [INFO] [stdout] 425c742b7e0a615c7c8d14734b71864c6a84a87a34f3638e7b0ed88456224ccb