[INFO] fetching crate ming 0.1.0... [INFO] testing ming-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate ming 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate ming 0.1.0 [INFO] finished tweaking crates.io crate ming 0.1.0 [INFO] tweaked toml for crates.io crate ming 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ming 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ming 0.1.0 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03a9e73624a8073f61781c43830730bf09988b9926b28fe8d2f1c98bfa1fddab [INFO] running `Command { std: "docker" "start" "-a" "03a9e73624a8073f61781c43830730bf09988b9926b28fe8d2f1c98bfa1fddab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03a9e73624a8073f61781c43830730bf09988b9926b28fe8d2f1c98bfa1fddab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03a9e73624a8073f61781c43830730bf09988b9926b28fe8d2f1c98bfa1fddab", kill_on_drop: false }` [INFO] [stdout] 03a9e73624a8073f61781c43830730bf09988b9926b28fe8d2f1c98bfa1fddab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] cb1edbd988b55a30122689ea8f7b07c2fa4a1a27372057e6f26b5cb77df2ade3 [INFO] running `Command { std: "docker" "start" "-a" "cb1edbd988b55a30122689ea8f7b07c2fa4a1a27372057e6f26b5cb77df2ade3", kill_on_drop: false }` [INFO] [stderr] Compiling ming v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:489:17 [INFO] [stdout] | [INFO] [stdout] 489 | fn set_long(&mut self, value: String) -> Arg { [INFO] [stdout] | ^^^^^^^^^ --- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 489 | fn set_long(&mut self, value: String) -> Arg<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "cb1edbd988b55a30122689ea8f7b07c2fa4a1a27372057e6f26b5cb77df2ade3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb1edbd988b55a30122689ea8f7b07c2fa4a1a27372057e6f26b5cb77df2ade3", kill_on_drop: false }` [INFO] [stdout] cb1edbd988b55a30122689ea8f7b07c2fa4a1a27372057e6f26b5cb77df2ade3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 85266c0c3ae24fdc94067459747737369fabdf87f060b922eafdb09d64d91c0e [INFO] running `Command { std: "docker" "start" "-a" "85266c0c3ae24fdc94067459747737369fabdf87f060b922eafdb09d64d91c0e", kill_on_drop: false }` [INFO] [stderr] Compiling ming v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:489:17 [INFO] [stdout] | [INFO] [stdout] 489 | fn set_long(&mut self, value: String) -> Arg { [INFO] [stdout] | ^^^^^^^^^ --- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 489 | fn set_long(&mut self, value: String) -> Arg<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] --> examples/pico_test_app.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | use lexopt::prelude::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lexopt`, use `cargo add lexopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] --> examples/hello.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | use lexopt::prelude::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lexopt`, use `cargo add lexopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] --> examples/posixly_correct.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | use lexopt::prelude::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lexopt`, use `cargo add lexopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] --> examples/cargo.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | use lexopt::prelude::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lexopt`, use `cargo add lexopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] --> examples/cargo.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | use lexopt::prelude::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lexopt`, use `cargo add lexopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] --> examples/pico_test_app.rs:56:22 [INFO] [stdout] | [INFO] [stdout] 56 | let mut parser = lexopt::Parser::from_env(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lexopt`, use `cargo add lexopt` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 + use ming::Parser; [INFO] [stdout] | [INFO] [stdout] help: if you import `Parser`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 56 - let mut parser = lexopt::Parser::from_env(); [INFO] [stdout] 56 + let mut parser = Parser::from_env(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Short` in this scope [INFO] [stdout] --> examples/pico_test_app.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | Short('h') | Long("help") => { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 8 + use ming::Arg::Short; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Long` in this scope [INFO] [stdout] --> examples/pico_test_app.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 59 | Short('h') | Long("help") => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 8 + use ming::Arg::Long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Long` in this scope [INFO] [stdout] --> examples/pico_test_app.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | Long("number") => number = Some(parser.value()?.parse()?), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 8 + use ming::Arg::Long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Long` in this scope [INFO] [stdout] --> examples/pico_test_app.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | Long("opt-number") => opt_number = Some(parser.value()?.parse()?), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 8 + use ming::Arg::Long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Long` in this scope [INFO] [stdout] --> examples/pico_test_app.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | Long("width") => width = parser.value()?.parse_with(parse_width)?, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 8 + use ming::Arg::Long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Value` in this scope [INFO] [stdout] --> examples/pico_test_app.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | Value(path) if input.is_none() => input = Some(path.into()), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 8 + use ming::Arg::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] --> examples/hello.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | let mut parser = lexopt::Parser::from_env(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lexopt`, use `cargo add lexopt` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use ming::Parser; [INFO] [stdout] | [INFO] [stdout] help: if you import `Parser`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 13 - let mut parser = lexopt::Parser::from_env(); [INFO] [stdout] 13 + let mut parser = Parser::from_env(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Short` in this scope [INFO] [stdout] --> examples/hello.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | Short('n') | Long("number") => { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use ming::Arg::Short; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Long` in this scope [INFO] [stdout] --> examples/hello.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | Short('n') | Long("number") => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use ming::Arg::Long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Long` in this scope [INFO] [stdout] --> examples/hello.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | Long("shout") => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use ming::Arg::Long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Value` in this scope [INFO] [stdout] --> examples/hello.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | Value(val) if thing.is_none() => { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use ming::Arg::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Long` in this scope [INFO] [stdout] --> examples/hello.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | Long("help") => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use ming::Arg::Long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] --> examples/posixly_correct.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | let mut parser = lexopt::Parser::from_env(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lexopt`, use `cargo add lexopt` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 17 + use ming::Parser; [INFO] [stdout] | [INFO] [stdout] help: if you import `Parser`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 20 - let mut parser = lexopt::Parser::from_env(); [INFO] [stdout] 20 + let mut parser = Parser::from_env(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Short` in this scope [INFO] [stdout] --> examples/posixly_correct.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | Short('n') | Long("number") => { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 17 + use ming::Arg::Short; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Long` in this scope [INFO] [stdout] --> examples/posixly_correct.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | Short('n') | Long("number") => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 17 + use ming::Arg::Long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Long` in this scope [INFO] [stdout] --> examples/posixly_correct.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | Long("shout") => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 17 + use ming::Arg::Long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Value` in this scope [INFO] [stdout] --> examples/posixly_correct.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | Value(val) => { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 17 + use ming::Arg::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] --> examples/posixly_correct.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | fn main() -> Result<(), lexopt::Error> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lexopt`, use `cargo add lexopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] --> examples/hello.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | fn parse_args() -> Result { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lexopt`, use `cargo add lexopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] --> examples/hello.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | fn main() -> Result<(), lexopt::Error> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lexopt`, use `cargo add lexopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0531. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0531. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] --> examples/pico_test_app.rs:48:36 [INFO] [stdout] | [INFO] [stdout] 48 | fn parse_args() -> Result { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lexopt`, use `cargo add lexopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0531. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ming` (example "pico_test_app") due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ming` (example "posixly_correct") due to 7 previous errors [INFO] [stderr] error: could not compile `ming` (example "hello") due to 9 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] --> examples/cargo.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | let mut parser = lexopt::Parser::from_env(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lexopt`, use `cargo add lexopt` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 5 + use ming::Parser; [INFO] [stdout] | [INFO] [stdout] help: if you import `Parser`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 20 - let mut parser = lexopt::Parser::from_env(); [INFO] [stdout] 20 + let mut parser = Parser::from_env(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Long` in this scope [INFO] [stdout] --> examples/cargo.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | Long("color") => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 + use ming::Arg::Long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Long` in this scope [INFO] [stdout] --> examples/cargo.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | Long("offline") => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 + use ming::Arg::Long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Long` in this scope [INFO] [stdout] --> examples/cargo.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | Long("quiet") => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 + use ming::Arg::Long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Long` in this scope [INFO] [stdout] --> examples/cargo.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | Long("verbose") => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 + use ming::Arg::Long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Long` in this scope [INFO] [stdout] --> examples/cargo.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | Long("help") => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 + use ming::Arg::Long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Value` in this scope [INFO] [stdout] --> examples/cargo.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | Value(value) => { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 + use ming::Arg::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Value` in this scope [INFO] [stdout] --> examples/cargo.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | Value(value) if package.is_none() => { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 + use ming::Arg::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Long` in this scope [INFO] [stdout] --> examples/cargo.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | Long("root") => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 + use ming::Arg::Long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Short` in this scope [INFO] [stdout] --> examples/cargo.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | Short('j') | Long("jobs") => { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 + use ming::Arg::Short; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Long` in this scope [INFO] [stdout] --> examples/cargo.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | Short('j') | Long("jobs") => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 + use ming::Arg::Long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Long` in this scope [INFO] [stdout] --> examples/cargo.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | Long("help") => { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 + use ming::Arg::Long; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] --> examples/cargo.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | fn main() -> Result<(), lexopt::Error> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lexopt`, use `cargo add lexopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] --> examples/cargo.rs:72:50 [INFO] [stdout] | [INFO] [stdout] 72 | fn install(settings: GlobalSettings, mut parser: lexopt::Parser) -> Result<(), lexopt::Error> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lexopt`, use `cargo add lexopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] --> examples/cargo.rs:72:80 [INFO] [stdout] | [INFO] [stdout] 72 | fn install(settings: GlobalSettings, mut parser: lexopt::Parser) -> Result<(), lexopt::Error> { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `lexopt` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `lexopt`, use `cargo add lexopt` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0531. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ming` (example "cargo") due to 17 previous errors [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:489:17 [INFO] [stdout] | [INFO] [stdout] 489 | fn set_long(&mut self, value: String) -> Arg { [INFO] [stdout] | ^^^^^^^^^ --- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 489 | fn set_long(&mut self, value: String) -> Arg<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "85266c0c3ae24fdc94067459747737369fabdf87f060b922eafdb09d64d91c0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85266c0c3ae24fdc94067459747737369fabdf87f060b922eafdb09d64d91c0e", kill_on_drop: false }` [INFO] [stdout] 85266c0c3ae24fdc94067459747737369fabdf87f060b922eafdb09d64d91c0e