[INFO] fetching crate libdusk 0.1.6... [INFO] testing libdusk-0.1.6 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate libdusk 0.1.6 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate libdusk 0.1.6 [INFO] finished tweaking crates.io crate libdusk 0.1.6 [INFO] tweaked toml for crates.io crate libdusk 0.1.6 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libdusk 0.1.6 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 122 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.9.4) [INFO] [stderr] Adding clap v3.2.25 (available: v4.5.48) [INFO] [stderr] Adding interprocess v1.2.1 (available: v2.2.3) [INFO] [stderr] Adding lsp-types v0.93.2 (available: v0.97.0) [INFO] [stderr] Adding num-bigint v0.3.3 (available: v0.4.6) [INFO] [stderr] Adding string-interner v0.12.2 (available: v0.19.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25e73401809801029d20cbe123b530e335cd92f5f09ca2c3426f5505d72ea087 [INFO] running `Command { std: "docker" "start" "-a" "25e73401809801029d20cbe123b530e335cd92f5f09ca2c3426f5505d72ea087", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25e73401809801029d20cbe123b530e335cd92f5f09ca2c3426f5505d72ea087", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25e73401809801029d20cbe123b530e335cd92f5f09ca2c3426f5505d72ea087", kill_on_drop: false }` [INFO] [stdout] 25e73401809801029d20cbe123b530e335cd92f5f09ca2c3426f5505d72ea087 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e85da2ae787d299acb64be05583472cbedd9be2b48ee2cccdab88de44456f3e9 [INFO] running `Command { std: "docker" "start" "-a" "e85da2ae787d299acb64be05583472cbedd9be2b48ee2cccdab88de44456f3e9", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ahash v0.4.8 [INFO] [stderr] Compiling os_str_bytes v6.6.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling textwrap v0.16.2 [INFO] [stderr] Compiling index_vec v0.1.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling region v3.0.2 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling string-interner v0.12.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling display_adapter_attr v0.1.1 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling dusk-proc-macros v0.1.6 [INFO] [stderr] Compiling display_adapter v0.1.1 [INFO] [stderr] Compiling dusk_dire v0.1.6 [INFO] [stderr] Compiling clap v3.2.25 [INFO] [stderr] Compiling libdusk v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `dusk_dire::tir::CompId` [INFO] [stdout] --> src/tir.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use dusk_dire::tir::CompId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `enabled` [INFO] [stdout] --> src/dvd.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "enabled")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `dls` and `dvd` [INFO] [stdout] = help: consider adding `enabled` 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: unexpected `cfg` condition value: `enabled` [INFO] [stdout] --> src/dvd.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg_attr(feature = "enabled", derive(Debug, Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `dls` and `dvd` [INFO] [stdout] = help: consider adding `enabled` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `enabled` [INFO] [stdout] --> src/dvd.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | #[cfg_attr(feature = "enabled", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `dls` and `dvd` [INFO] [stdout] = help: consider adding `enabled` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `enabled` [INFO] [stdout] --> src/dvd.rs:111:7 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg(feature = "enabled")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `dls` and `dvd` [INFO] [stdout] = help: consider adding `enabled` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `enabled` [INFO] [stdout] --> src/dvd.rs:194:11 [INFO] [stdout] | [INFO] [stdout] 194 | #[cfg(not(feature = "enabled"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `dls` and `dvd` [INFO] [stdout] = help: consider adding `enabled` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `indices_satisfying` and `index_mut` are never used [INFO] [stdout] --> src/index_vec.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait IndexVecExt { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | fn indices_satisfying(&self, condition: impl FnMut(&Self::T) -> bool) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | fn index_mut(&mut self, a: Self::I, b: Self::I) -> (&mut Self::T, &mut Self::T); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `item_to_levels` is never read [INFO] [stdout] --> src/tir/graph.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 547 | pub struct MockUnit { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 554 | pub item_to_levels: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MockUnit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Allocation` is never constructed [INFO] [stdout] --> src/interpreter.rs:380:8 [INFO] [stdout] | [INFO] [stdout] 380 | struct Allocation(region::Allocation); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/token.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn at(&self, i: usize) -> Token { [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] 126 | pub fn at(&self, i: usize) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:1563:12 [INFO] [stdout] | [INFO] [stdout] 1563 | fn cur(&self, p: &Parser) -> Token { [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] 1563 | fn cur(&self, p: &Parser) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:1575:37 [INFO] [stdout] | [INFO] [stdout] 1575 | fn next_including_insignificant(&mut self, p: &mut Parser) -> Token { [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] 1575 | fn next_including_insignificant(&mut self, p: &mut Parser) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:1580:13 [INFO] [stdout] | [INFO] [stdout] 1580 | fn next(&mut self, p: &mut Parser) -> Token { [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] 1580 | fn next(&mut self, p: &mut Parser) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:1586:42 [INFO] [stdout] | [INFO] [stdout] 1586 | fn peek_next_including_insignificant(&self, p: &Parser) -> Token { [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] 1586 | fn peek_next_including_insignificant(&self, p: &Parser) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:1590:42 [INFO] [stdout] | [INFO] [stdout] 1590 | fn peek_prev_including_insignificant(&self, p: &Parser) -> Token { [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] 1590 | fn peek_prev_including_insignificant(&self, p: &Parser) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:1594:31 [INFO] [stdout] | [INFO] [stdout] 1594 | fn find_first_significant(&self, p: &Parser, token_range: impl Iterator) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ----- 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] 1594 | fn find_first_significant(&self, p: &Parser, token_range: impl Iterator) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:1605:18 [INFO] [stdout] | [INFO] [stdout] 1605 | fn peek_prev(&self, p: &Parser) -> Token { [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] 1605 | fn peek_prev(&self, p: &Parser) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:1609:18 [INFO] [stdout] | [INFO] [stdout] 1609 | fn peek_next(&self, p: &Parser) -> Token { [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] 1609 | fn peek_next(&self, p: &Parser) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/typechecker/constraints.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn solve(&self) -> Result { [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] 54 | pub fn solve(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rw_ref.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn read(&self) -> Ref { [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] 36 | pub fn read(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rw_ref.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn read_only(&self) -> Ref { [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] 47 | pub fn read_only(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rw_ref.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn write(&mut self) -> RefMut { [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] 58 | pub fn write(&mut self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/interpreter.rs:106:35 [INFO] [stdout] | [INFO] [stdout] 106 | fn as_bytes_with_driver_maybe(&self, d: Option<&Driver>) -> Cow<[u8]> { [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] 106 | fn as_bytes_with_driver_maybe(&self, d: Option<&Driver>) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/interpreter.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | fn as_bytes_with_driver(&self, d: &Driver) -> Cow<[u8]> { [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] 121 | fn as_bytes_with_driver(&self, d: &Driver) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/interpreter.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | fn as_bytes(&self) -> Cow<[u8]> { [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] 124 | fn as_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/interpreter.rs:291:33 [INFO] [stdout] | [INFO] [stdout] 291 | Value::from_u8(unsafe { mem::transmute(val) }) [INFO] [stdout] | --------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | ...or(&mut self, message: impl Into>, range: impl Into, range_message: impl Into>) -> DiagnosticBuilder { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----------------- 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] 18 | pub fn report_error(&mut self, message: impl Into>, range: impl Into, range_message: impl Into>) -> DiagnosticBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:54:38 [INFO] [stdout] | [INFO] [stdout] 54 | ...no_range_msg(&mut self, message: impl Into>, range: impl Into) -> DiagnosticBuilder { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----------------- 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] 54 | pub fn report_error_no_range_msg(&mut self, message: impl Into>, range: impl Into) -> DiagnosticBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn report_error_no_range(&mut self, message: impl Into>) -> DiagnosticBuilder { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----------------- 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] 58 | pub fn report_error_no_range(&mut self, message: impl Into>) -> DiagnosticBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | ...ng(&mut self, message: impl Into>, range: impl Into, range_message: impl Into>) -> DiagnosticBuilder { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----------------- 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] 69 | pub fn report_warning(&mut self, message: impl Into>, range: impl Into, range_message: impl Into>) -> DiagnosticBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:74:40 [INFO] [stdout] | [INFO] [stdout] 74 | ...no_range_msg(&mut self, message: impl Into>, range: impl Into) -> DiagnosticBuilder { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----------------- 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] 74 | pub fn report_warning_no_range_msg(&mut self, message: impl Into>, range: impl Into) -> DiagnosticBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn report_warning_no_range(&mut self, message: impl Into>) -> DiagnosticBuilder { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----------------- 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] 78 | pub fn report_warning_no_range(&mut self, message: impl Into>) -> DiagnosticBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.05s [INFO] running `Command { std: "docker" "inspect" "e85da2ae787d299acb64be05583472cbedd9be2b48ee2cccdab88de44456f3e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e85da2ae787d299acb64be05583472cbedd9be2b48ee2cccdab88de44456f3e9", kill_on_drop: false }` [INFO] [stdout] e85da2ae787d299acb64be05583472cbedd9be2b48ee2cccdab88de44456f3e9 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf06fcbf28e316c8a63e646c810678eec33b046d6726814c6feb738912e0d9dc [INFO] running `Command { std: "docker" "start" "-a" "bf06fcbf28e316c8a63e646c810678eec33b046d6726814c6feb738912e0d9dc", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `dusk_dire::tir::CompId` [INFO] [stdout] --> src/tir.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use dusk_dire::tir::CompId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `enabled` [INFO] [stdout] --> src/dvd.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "enabled")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `dls` and `dvd` [INFO] [stdout] = help: consider adding `enabled` 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: unexpected `cfg` condition value: `enabled` [INFO] [stdout] --> src/dvd.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg_attr(feature = "enabled", derive(Debug, Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `dls` and `dvd` [INFO] [stdout] = help: consider adding `enabled` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `enabled` [INFO] [stdout] --> src/dvd.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | #[cfg_attr(feature = "enabled", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `dls` and `dvd` [INFO] [stdout] = help: consider adding `enabled` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `enabled` [INFO] [stdout] --> src/dvd.rs:111:7 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg(feature = "enabled")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `dls` and `dvd` [INFO] [stdout] = help: consider adding `enabled` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `enabled` [INFO] [stdout] --> src/dvd.rs:194:11 [INFO] [stdout] | [INFO] [stdout] 194 | #[cfg(not(feature = "enabled"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `dls` and `dvd` [INFO] [stdout] = help: consider adding `enabled` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `indices_satisfying` and `index_mut` are never used [INFO] [stdout] --> src/index_vec.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait IndexVecExt { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | fn indices_satisfying(&self, condition: impl FnMut(&Self::T) -> bool) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | fn index_mut(&mut self, a: Self::I, b: Self::I) -> (&mut Self::T, &mut Self::T); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `item_to_levels` is never read [INFO] [stdout] --> src/tir/graph.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 547 | pub struct MockUnit { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 554 | pub item_to_levels: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MockUnit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Allocation` is never constructed [INFO] [stdout] --> src/interpreter.rs:380:8 [INFO] [stdout] | [INFO] [stdout] 380 | struct Allocation(region::Allocation); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/token.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn at(&self, i: usize) -> Token { [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] 126 | pub fn at(&self, i: usize) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:1563:12 [INFO] [stdout] | [INFO] [stdout] 1563 | fn cur(&self, p: &Parser) -> Token { [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] 1563 | fn cur(&self, p: &Parser) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:1575:37 [INFO] [stdout] | [INFO] [stdout] 1575 | fn next_including_insignificant(&mut self, p: &mut Parser) -> Token { [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] 1575 | fn next_including_insignificant(&mut self, p: &mut Parser) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:1580:13 [INFO] [stdout] | [INFO] [stdout] 1580 | fn next(&mut self, p: &mut Parser) -> Token { [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] 1580 | fn next(&mut self, p: &mut Parser) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:1586:42 [INFO] [stdout] | [INFO] [stdout] 1586 | fn peek_next_including_insignificant(&self, p: &Parser) -> Token { [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] 1586 | fn peek_next_including_insignificant(&self, p: &Parser) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:1590:42 [INFO] [stdout] | [INFO] [stdout] 1590 | fn peek_prev_including_insignificant(&self, p: &Parser) -> Token { [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] 1590 | fn peek_prev_including_insignificant(&self, p: &Parser) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:1594:31 [INFO] [stdout] | [INFO] [stdout] 1594 | fn find_first_significant(&self, p: &Parser, token_range: impl Iterator) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ----- 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] 1594 | fn find_first_significant(&self, p: &Parser, token_range: impl Iterator) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:1605:18 [INFO] [stdout] | [INFO] [stdout] 1605 | fn peek_prev(&self, p: &Parser) -> Token { [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] 1605 | fn peek_prev(&self, p: &Parser) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:1609:18 [INFO] [stdout] | [INFO] [stdout] 1609 | fn peek_next(&self, p: &Parser) -> Token { [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] 1609 | fn peek_next(&self, p: &Parser) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/typechecker/constraints.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn solve(&self) -> Result { [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] 54 | pub fn solve(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rw_ref.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn read(&self) -> Ref { [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] 36 | pub fn read(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rw_ref.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn read_only(&self) -> Ref { [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] 47 | pub fn read_only(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rw_ref.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn write(&mut self) -> RefMut { [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] 58 | pub fn write(&mut self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/interpreter.rs:106:35 [INFO] [stdout] | [INFO] [stdout] 106 | fn as_bytes_with_driver_maybe(&self, d: Option<&Driver>) -> Cow<[u8]> { [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] 106 | fn as_bytes_with_driver_maybe(&self, d: Option<&Driver>) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/interpreter.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | fn as_bytes_with_driver(&self, d: &Driver) -> Cow<[u8]> { [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] 121 | fn as_bytes_with_driver(&self, d: &Driver) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/interpreter.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | fn as_bytes(&self) -> Cow<[u8]> { [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] 124 | fn as_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/interpreter.rs:291:33 [INFO] [stdout] | [INFO] [stdout] 291 | Value::from_u8(unsafe { mem::transmute(val) }) [INFO] [stdout] | --------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | ...or(&mut self, message: impl Into>, range: impl Into, range_message: impl Into>) -> DiagnosticBuilder { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----------------- 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] 18 | pub fn report_error(&mut self, message: impl Into>, range: impl Into, range_message: impl Into>) -> DiagnosticBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:54:38 [INFO] [stdout] | [INFO] [stdout] 54 | ...no_range_msg(&mut self, message: impl Into>, range: impl Into) -> DiagnosticBuilder { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----------------- 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] 54 | pub fn report_error_no_range_msg(&mut self, message: impl Into>, range: impl Into) -> DiagnosticBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libdusk v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn report_error_no_range(&mut self, message: impl Into>) -> DiagnosticBuilder { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----------------- 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] 58 | pub fn report_error_no_range(&mut self, message: impl Into>) -> DiagnosticBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | ...ng(&mut self, message: impl Into>, range: impl Into, range_message: impl Into>) -> DiagnosticBuilder { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----------------- 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] 69 | pub fn report_warning(&mut self, message: impl Into>, range: impl Into, range_message: impl Into>) -> DiagnosticBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:74:40 [INFO] [stdout] | [INFO] [stdout] 74 | ...no_range_msg(&mut self, message: impl Into>, range: impl Into) -> DiagnosticBuilder { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----------------- 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] 74 | pub fn report_warning_no_range_msg(&mut self, message: impl Into>, range: impl Into) -> DiagnosticBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn report_warning_no_range(&mut self, message: impl Into>) -> DiagnosticBuilder { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----------------- 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] 78 | pub fn report_warning_no_range(&mut self, message: impl Into>) -> DiagnosticBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dusk_dire::tir::CompId` [INFO] [stdout] --> src/tir.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub use dusk_dire::tir::CompId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `enabled` [INFO] [stdout] --> src/dvd.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[cfg(feature = "enabled")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `dls` and `dvd` [INFO] [stdout] = help: consider adding `enabled` 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: unexpected `cfg` condition value: `enabled` [INFO] [stdout] --> src/dvd.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #[cfg_attr(feature = "enabled", derive(Debug, Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `dls` and `dvd` [INFO] [stdout] = help: consider adding `enabled` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `enabled` [INFO] [stdout] --> src/dvd.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | #[cfg_attr(feature = "enabled", derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `dls` and `dvd` [INFO] [stdout] = help: consider adding `enabled` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `enabled` [INFO] [stdout] --> src/dvd.rs:111:7 [INFO] [stdout] | [INFO] [stdout] 111 | #[cfg(feature = "enabled")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `dls` and `dvd` [INFO] [stdout] = help: consider adding `enabled` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `enabled` [INFO] [stdout] --> src/dvd.rs:194:11 [INFO] [stdout] | [INFO] [stdout] 194 | #[cfg(not(feature = "enabled"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `dls` and `dvd` [INFO] [stdout] = help: consider adding `enabled` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `indices_satisfying` and `index_mut` are never used [INFO] [stdout] --> src/index_vec.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait IndexVecExt { [INFO] [stdout] | ----------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 7 | fn indices_satisfying(&self, condition: impl FnMut(&Self::T) -> bool) -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | fn index_mut(&mut self, a: Self::I, b: Self::I) -> (&mut Self::T, &mut Self::T); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `item_to_levels` is never read [INFO] [stdout] --> src/tir/graph.rs:554:9 [INFO] [stdout] | [INFO] [stdout] 547 | pub struct MockUnit { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 554 | pub item_to_levels: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MockUnit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Allocation` is never constructed [INFO] [stdout] --> src/interpreter.rs:380:8 [INFO] [stdout] | [INFO] [stdout] 380 | struct Allocation(region::Allocation); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/token.rs:126:15 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn at(&self, i: usize) -> Token { [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] 126 | pub fn at(&self, i: usize) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:1563:12 [INFO] [stdout] | [INFO] [stdout] 1563 | fn cur(&self, p: &Parser) -> Token { [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] 1563 | fn cur(&self, p: &Parser) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:1575:37 [INFO] [stdout] | [INFO] [stdout] 1575 | fn next_including_insignificant(&mut self, p: &mut Parser) -> Token { [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] 1575 | fn next_including_insignificant(&mut self, p: &mut Parser) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:1580:13 [INFO] [stdout] | [INFO] [stdout] 1580 | fn next(&mut self, p: &mut Parser) -> Token { [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] 1580 | fn next(&mut self, p: &mut Parser) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:1586:42 [INFO] [stdout] | [INFO] [stdout] 1586 | fn peek_next_including_insignificant(&self, p: &Parser) -> Token { [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] 1586 | fn peek_next_including_insignificant(&self, p: &Parser) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:1590:42 [INFO] [stdout] | [INFO] [stdout] 1590 | fn peek_prev_including_insignificant(&self, p: &Parser) -> Token { [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] 1590 | fn peek_prev_including_insignificant(&self, p: &Parser) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:1594:31 [INFO] [stdout] | [INFO] [stdout] 1594 | fn find_first_significant(&self, p: &Parser, token_range: impl Iterator) -> Option { [INFO] [stdout] | ^^^^^ the lifetime is elided here ----- 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] 1594 | fn find_first_significant(&self, p: &Parser, token_range: impl Iterator) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:1605:18 [INFO] [stdout] | [INFO] [stdout] 1605 | fn peek_prev(&self, p: &Parser) -> Token { [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] 1605 | fn peek_prev(&self, p: &Parser) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:1609:18 [INFO] [stdout] | [INFO] [stdout] 1609 | fn peek_next(&self, p: &Parser) -> Token { [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] 1609 | fn peek_next(&self, p: &Parser) -> Token<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/typechecker/constraints.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn solve(&self) -> Result { [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] 54 | pub fn solve(&self) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rw_ref.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn read(&self) -> Ref { [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] 36 | pub fn read(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rw_ref.rs:47:22 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn read_only(&self) -> Ref { [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] 47 | pub fn read_only(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rw_ref.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn write(&mut self) -> RefMut { [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] 58 | pub fn write(&mut self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/interpreter.rs:106:35 [INFO] [stdout] | [INFO] [stdout] 106 | fn as_bytes_with_driver_maybe(&self, d: Option<&Driver>) -> Cow<[u8]> { [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] 106 | fn as_bytes_with_driver_maybe(&self, d: Option<&Driver>) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/interpreter.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | fn as_bytes_with_driver(&self, d: &Driver) -> Cow<[u8]> { [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] 121 | fn as_bytes_with_driver(&self, d: &Driver) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/interpreter.rs:124:17 [INFO] [stdout] | [INFO] [stdout] 124 | fn as_bytes(&self) -> Cow<[u8]> { [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] 124 | fn as_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/interpreter.rs:291:33 [INFO] [stdout] | [INFO] [stdout] 291 | Value::from_u8(unsafe { mem::transmute(val) }) [INFO] [stdout] | --------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u8::from` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | ...or(&mut self, message: impl Into>, range: impl Into, range_message: impl Into>) -> DiagnosticBuilder { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----------------- 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] 18 | pub fn report_error(&mut self, message: impl Into>, range: impl Into, range_message: impl Into>) -> DiagnosticBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:54:38 [INFO] [stdout] | [INFO] [stdout] 54 | ...no_range_msg(&mut self, message: impl Into>, range: impl Into) -> DiagnosticBuilder { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----------------- 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] 54 | pub fn report_error_no_range_msg(&mut self, message: impl Into>, range: impl Into) -> DiagnosticBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn report_error_no_range(&mut self, message: impl Into>) -> DiagnosticBuilder { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----------------- 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] 58 | pub fn report_error_no_range(&mut self, message: impl Into>) -> DiagnosticBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:69:27 [INFO] [stdout] | [INFO] [stdout] 69 | ...ng(&mut self, message: impl Into>, range: impl Into, range_message: impl Into>) -> DiagnosticBuilder { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----------------- 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] 69 | pub fn report_warning(&mut self, message: impl Into>, range: impl Into, range_message: impl Into>) -> DiagnosticBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:74:40 [INFO] [stdout] | [INFO] [stdout] 74 | ...no_range_msg(&mut self, message: impl Into>, range: impl Into) -> DiagnosticBuilder { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----------------- 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] 74 | pub fn report_warning_no_range_msg(&mut self, message: impl Into>, range: impl Into) -> DiagnosticBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/error.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn report_warning_no_range(&mut self, message: impl Into>) -> DiagnosticBuilder { [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ----------------- 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] 78 | pub fn report_warning_no_range(&mut self, message: impl Into>) -> DiagnosticBuilder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.01s [INFO] running `Command { std: "docker" "inspect" "bf06fcbf28e316c8a63e646c810678eec33b046d6726814c6feb738912e0d9dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf06fcbf28e316c8a63e646c810678eec33b046d6726814c6feb738912e0d9dc", kill_on_drop: false }` [INFO] [stdout] bf06fcbf28e316c8a63e646c810678eec33b046d6726814c6feb738912e0d9dc [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8f92ea46127cd344129260211dec6b026b7741101156d456c5e439fd40e1697b [INFO] running `Command { std: "docker" "start" "-a" "8f92ea46127cd344129260211dec6b026b7741101156d456c5e439fd40e1697b", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `dusk_dire::tir::CompId` [INFO] [stderr] --> src/tir.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub use dusk_dire::tir::CompId; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `enabled` [INFO] [stderr] --> src/dvd.rs:8:7 [INFO] [stderr] | [INFO] [stderr] 8 | #[cfg(feature = "enabled")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `dls` and `dvd` [INFO] [stderr] = help: consider adding `enabled` 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: unexpected `cfg` condition value: `enabled` [INFO] [stderr] --> src/dvd.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | #[cfg_attr(feature = "enabled", derive(Debug, Serialize, Deserialize))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `dls` and `dvd` [INFO] [stderr] = help: consider adding `enabled` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `enabled` [INFO] [stderr] --> src/dvd.rs:100:12 [INFO] [stderr] | [INFO] [stderr] 100 | #[cfg_attr(feature = "enabled", derive(Serialize, Deserialize))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `dls` and `dvd` [INFO] [stderr] = help: consider adding `enabled` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `enabled` [INFO] [stderr] --> src/dvd.rs:111:7 [INFO] [stderr] | [INFO] [stderr] 111 | #[cfg(feature = "enabled")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `dls` and `dvd` [INFO] [stderr] = help: consider adding `enabled` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `enabled` [INFO] [stderr] --> src/dvd.rs:194:11 [INFO] [stderr] | [INFO] [stderr] 194 | #[cfg(not(feature = "enabled"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `dls` and `dvd` [INFO] [stderr] = help: consider adding `enabled` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: methods `indices_satisfying` and `index_mut` are never used [INFO] [stderr] --> src/index_vec.rs:7:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub trait IndexVecExt { [INFO] [stderr] | ----------- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 7 | fn indices_satisfying(&self, condition: impl FnMut(&Self::T) -> bool) -> Vec; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 8 | fn index_mut(&mut self, a: Self::I, b: Self::I) -> (&mut Self::T, &mut Self::T); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `item_to_levels` is never read [INFO] [stderr] --> src/tir/graph.rs:554:9 [INFO] [stderr] | [INFO] [stderr] 547 | pub struct MockUnit { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 554 | pub item_to_levels: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MockUnit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `Allocation` is never constructed [INFO] [stderr] --> src/interpreter.rs:380:8 [INFO] [stderr] | [INFO] [stderr] 380 | struct Allocation(region::Allocation); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/token.rs:126:15 [INFO] [stderr] | [INFO] [stderr] 126 | pub fn at(&self, i: usize) -> Token { [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] 126 | pub fn at(&self, i: usize) -> Token<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:1563:12 [INFO] [stderr] | [INFO] [stderr] 1563 | fn cur(&self, p: &Parser) -> Token { [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] 1563 | fn cur(&self, p: &Parser) -> Token<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:1575:37 [INFO] [stderr] | [INFO] [stderr] 1575 | fn next_including_insignificant(&mut self, p: &mut Parser) -> Token { [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] 1575 | fn next_including_insignificant(&mut self, p: &mut Parser) -> Token<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:1580:13 [INFO] [stderr] | [INFO] [stderr] 1580 | fn next(&mut self, p: &mut Parser) -> Token { [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] 1580 | fn next(&mut self, p: &mut Parser) -> Token<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:1586:42 [INFO] [stderr] | [INFO] [stderr] 1586 | fn peek_next_including_insignificant(&self, p: &Parser) -> Token { [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] 1586 | fn peek_next_including_insignificant(&self, p: &Parser) -> Token<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:1590:42 [INFO] [stderr] | [INFO] [stderr] 1590 | fn peek_prev_including_insignificant(&self, p: &Parser) -> Token { [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] 1590 | fn peek_prev_including_insignificant(&self, p: &Parser) -> Token<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:1594:31 [INFO] [stderr] | [INFO] [stderr] 1594 | fn find_first_significant(&self, p: &Parser, token_range: impl Iterator) -> Option { [INFO] [stderr] | ^^^^^ the lifetime is elided here ----- 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] 1594 | fn find_first_significant(&self, p: &Parser, token_range: impl Iterator) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:1605:18 [INFO] [stderr] | [INFO] [stderr] 1605 | fn peek_prev(&self, p: &Parser) -> Token { [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] 1605 | fn peek_prev(&self, p: &Parser) -> Token<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/parser.rs:1609:18 [INFO] [stderr] | [INFO] [stderr] 1609 | fn peek_next(&self, p: &Parser) -> Token { [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] 1609 | fn peek_next(&self, p: &Parser) -> Token<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/typechecker/constraints.rs:54:18 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn solve(&self) -> Result { [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] 54 | pub fn solve(&self) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rw_ref.rs:36:17 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn read(&self) -> Ref { [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] 36 | pub fn read(&self) -> Ref<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rw_ref.rs:47:22 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn read_only(&self) -> Ref { [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] 47 | pub fn read_only(&self) -> Ref<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rw_ref.rs:58:18 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn write(&mut self) -> RefMut { [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] 58 | pub fn write(&mut self) -> RefMut<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/interpreter.rs:106:35 [INFO] [stderr] | [INFO] [stderr] 106 | fn as_bytes_with_driver_maybe(&self, d: Option<&Driver>) -> Cow<[u8]> { [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] 106 | fn as_bytes_with_driver_maybe(&self, d: Option<&Driver>) -> Cow<'_, [u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/interpreter.rs:121:29 [INFO] [stderr] | [INFO] [stderr] 121 | fn as_bytes_with_driver(&self, d: &Driver) -> Cow<[u8]> { [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] 121 | fn as_bytes_with_driver(&self, d: &Driver) -> Cow<'_, [u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/interpreter.rs:124:17 [INFO] [stderr] | [INFO] [stderr] 124 | fn as_bytes(&self) -> Cow<[u8]> { [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] 124 | fn as_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/interpreter.rs:291:33 [INFO] [stderr] | [INFO] [stderr] 291 | Value::from_u8(unsafe { mem::transmute(val) }) [INFO] [stderr] | --------------^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `u8::from` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/error.rs:18:25 [INFO] [stderr] | [INFO] [stderr] 18 | ...or(&mut self, message: impl Into>, range: impl Into, range_message: impl Into>) -> DiagnosticBuilder { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ----------------- 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] 18 | pub fn report_error(&mut self, message: impl Into>, range: impl Into, range_message: impl Into>) -> DiagnosticBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/error.rs:54:38 [INFO] [stderr] | [INFO] [stderr] 54 | ...no_range_msg(&mut self, message: impl Into>, range: impl Into) -> DiagnosticBuilder { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ----------------- 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] 54 | pub fn report_error_no_range_msg(&mut self, message: impl Into>, range: impl Into) -> DiagnosticBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/error.rs:58:34 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn report_error_no_range(&mut self, message: impl Into>) -> DiagnosticBuilder { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ----------------- 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] 58 | pub fn report_error_no_range(&mut self, message: impl Into>) -> DiagnosticBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/error.rs:69:27 [INFO] [stderr] | [INFO] [stderr] 69 | ...ng(&mut self, message: impl Into>, range: impl Into, range_message: impl Into>) -> DiagnosticBuilder { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ----------------- 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] 69 | pub fn report_warning(&mut self, message: impl Into>, range: impl Into, range_message: impl Into>) -> DiagnosticBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/error.rs:74:40 [INFO] [stderr] | [INFO] [stderr] 74 | ...no_range_msg(&mut self, message: impl Into>, range: impl Into) -> DiagnosticBuilder { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ----------------- 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] 74 | pub fn report_warning_no_range_msg(&mut self, message: impl Into>, range: impl Into) -> DiagnosticBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/error.rs:78:36 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn report_warning_no_range(&mut self, message: impl Into>) -> DiagnosticBuilder { [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here ----------------- 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] 78 | pub fn report_warning_no_range(&mut self, message: impl Into>) -> DiagnosticBuilder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `libdusk` (lib) generated 32 warnings (run `cargo fix --lib -p libdusk` to apply 24 suggestions) [INFO] [stderr] warning: `libdusk` (lib test) generated 32 warnings (32 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libdusk-fc47d56622638479) [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] [stderr] Doc-tests libdusk [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" "8f92ea46127cd344129260211dec6b026b7741101156d456c5e439fd40e1697b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f92ea46127cd344129260211dec6b026b7741101156d456c5e439fd40e1697b", kill_on_drop: false }` [INFO] [stdout] 8f92ea46127cd344129260211dec6b026b7741101156d456c5e439fd40e1697b