[INFO] fetching crate menu_genie 0.1.1... [INFO] testing menu_genie-0.1.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate menu_genie 0.1.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate menu_genie 0.1.1 [INFO] finished tweaking crates.io crate menu_genie 0.1.1 [INFO] tweaked toml for crates.io crate menu_genie 0.1.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate menu_genie 0.1.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate menu_genie 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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] 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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 48104d129a63dbef4161fd63963d9b612ca90c8371f82b8ecb2f538cce0645db [INFO] running `Command { std: "docker" "start" "-a" "48104d129a63dbef4161fd63963d9b612ca90c8371f82b8ecb2f538cce0645db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "48104d129a63dbef4161fd63963d9b612ca90c8371f82b8ecb2f538cce0645db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48104d129a63dbef4161fd63963d9b612ca90c8371f82b8ecb2f538cce0645db", kill_on_drop: false }` [INFO] [stdout] 48104d129a63dbef4161fd63963d9b612ca90c8371f82b8ecb2f538cce0645db [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c25e065f6daf8c7202e32eed32e2ad06a1140ad2fc81b26ce068020fd19de4c2 [INFO] running `Command { std: "docker" "start" "-a" "c25e065f6daf8c7202e32eed32e2ad06a1140ad2fc81b26ce068020fd19de4c2", kill_on_drop: false }` [INFO] [stderr] Compiling menu_genie v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | fn get_menu(&self, menu_id: usize) -> Result<&Menu, MgError> { [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 78 | fn get_menu(&self, menu_id: usize) -> Result<&Menu<'_>, MgError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | fn get_current_menu(&self) -> Result<&Menu, MgError> { [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | fn get_current_menu(&self) -> Result<&Menu<'_>, MgError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | fn get_current_menu_unchecked(&self) -> &Menu { [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | fn get_current_menu_unchecked(&self) -> &Menu<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/menu.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_menu_item(&self, key: usize) -> Option<&MenuItem> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_menu_item(&self, key: usize) -> Option<&MenuItem<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "c25e065f6daf8c7202e32eed32e2ad06a1140ad2fc81b26ce068020fd19de4c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c25e065f6daf8c7202e32eed32e2ad06a1140ad2fc81b26ce068020fd19de4c2", kill_on_drop: false }` [INFO] [stdout] c25e065f6daf8c7202e32eed32e2ad06a1140ad2fc81b26ce068020fd19de4c2 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6efc7d3c1c2ee4debd4e168fdb19721cd4352f9c5ac1bc462968e953abef307f [INFO] running `Command { std: "docker" "start" "-a" "6efc7d3c1c2ee4debd4e168fdb19721cd4352f9c5ac1bc462968e953abef307f", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | fn get_menu(&self, menu_id: usize) -> Result<&Menu, MgError> { [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 78 | fn get_menu(&self, menu_id: usize) -> Result<&Menu<'_>, MgError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | fn get_current_menu(&self) -> Result<&Menu, MgError> { [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | fn get_current_menu(&self) -> Result<&Menu<'_>, MgError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | fn get_current_menu_unchecked(&self) -> &Menu { [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | fn get_current_menu_unchecked(&self) -> &Menu<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling menu_genie v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/menu.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_menu_item(&self, key: usize) -> Option<&MenuItem> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_menu_item(&self, key: usize) -> Option<&MenuItem<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | fn get_menu(&self, menu_id: usize) -> Result<&Menu, MgError> { [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 78 | fn get_menu(&self, menu_id: usize) -> Result<&Menu<'_>, MgError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:85:25 [INFO] [stdout] | [INFO] [stdout] 85 | fn get_current_menu(&self) -> Result<&Menu, MgError> { [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 85 | fn get_current_menu(&self) -> Result<&Menu<'_>, MgError> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:92:35 [INFO] [stdout] | [INFO] [stdout] 92 | fn get_current_menu_unchecked(&self) -> &Menu { [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 92 | fn get_current_menu_unchecked(&self) -> &Menu<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/menu.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_menu_item(&self, key: usize) -> Option<&MenuItem> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn get_menu_item(&self, key: usize) -> Option<&MenuItem<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "6efc7d3c1c2ee4debd4e168fdb19721cd4352f9c5ac1bc462968e953abef307f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6efc7d3c1c2ee4debd4e168fdb19721cd4352f9c5ac1bc462968e953abef307f", kill_on_drop: false }` [INFO] [stdout] 6efc7d3c1c2ee4debd4e168fdb19721cd4352f9c5ac1bc462968e953abef307f [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bde5aaa0fbabe70750d3368bab831f65e925065c047df661e72668fbcbb4decf [INFO] running `Command { std: "docker" "start" "-a" "bde5aaa0fbabe70750d3368bab831f65e925065c047df661e72668fbcbb4decf", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:78:17 [INFO] [stderr] | [INFO] [stderr] 78 | fn get_menu(&self, menu_id: usize) -> Result<&Menu, MgError> { [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 78 | fn get_menu(&self, menu_id: usize) -> Result<&Menu<'_>, MgError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:85:25 [INFO] [stderr] | [INFO] [stderr] 85 | fn get_current_menu(&self) -> Result<&Menu, MgError> { [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 85 | fn get_current_menu(&self) -> Result<&Menu<'_>, MgError> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:92:35 [INFO] [stderr] | [INFO] [stderr] 92 | fn get_current_menu_unchecked(&self) -> &Menu { [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 92 | fn get_current_menu_unchecked(&self) -> &Menu<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/menu.rs:16:26 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn get_menu_item(&self, key: usize) -> Option<&MenuItem> { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 16 | pub fn get_menu_item(&self, key: usize) -> Option<&MenuItem<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `menu_genie` (lib) generated 4 warnings (run `cargo fix --lib -p menu_genie` to apply 4 suggestions) [INFO] [stderr] warning: `menu_genie` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/menu_genie-cb60e594223540e8) [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 menu_genie [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 15) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 15) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MenuAction` [INFO] [stdout] --> src/lib.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 7 | .with_menu_item("Create Todo", MenuAction::Nothing) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MenuAction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use menu_genie::MenuAction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MenuAction` [INFO] [stdout] --> src/lib.rs:20:36 [INFO] [stdout] | [INFO] [stdout] 8 | .with_menu_item("Delete Todo", MenuAction::Nothing) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MenuAction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use menu_genie::MenuAction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MenuAction` [INFO] [stdout] --> src/lib.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 9 | .with_menu_item("Edit Todo", MenuAction::Navigate(2)) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MenuAction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use menu_genie::MenuAction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MenuAction` [INFO] [stdout] --> src/lib.rs:24:36 [INFO] [stdout] | [INFO] [stdout] 12 | .with_menu_item("Change Name", MenuAction::Nothing) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MenuAction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use menu_genie::MenuAction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MenuAction` [INFO] [stdout] --> src/lib.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 13 | .with_menu_item("Change Description", MenuAction::Nothing) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `MenuAction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 + use menu_genie::MenuAction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `println` [INFO] [stdout] --> src/lib.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 28 | println("{e}"); [INFO] [stdout] | ^^^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 28 | println!("{e}"); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 15) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "bde5aaa0fbabe70750d3368bab831f65e925065c047df661e72668fbcbb4decf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bde5aaa0fbabe70750d3368bab831f65e925065c047df661e72668fbcbb4decf", kill_on_drop: false }` [INFO] [stdout] bde5aaa0fbabe70750d3368bab831f65e925065c047df661e72668fbcbb4decf