[INFO] fetching crate ming 0.1.0... [INFO] building ming-0.1.0 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate ming 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate ming 0.1.0 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc1/source/Cargo.toml [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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57e6e00c47f5b1359e011108ef6aa01c7dee25d14ce9b5a68639a1724a4bea73 [INFO] running `Command { std: "docker" "start" "-a" "57e6e00c47f5b1359e011108ef6aa01c7dee25d14ce9b5a68639a1724a4bea73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57e6e00c47f5b1359e011108ef6aa01c7dee25d14ce9b5a68639a1724a4bea73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57e6e00c47f5b1359e011108ef6aa01c7dee25d14ce9b5a68639a1724a4bea73", kill_on_drop: false }` [INFO] [stdout] 57e6e00c47f5b1359e011108ef6aa01c7dee25d14ce9b5a68639a1724a4bea73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c42c21fb786639b0e20f4859e036099626a1bfbb2fa5b5ef0568d9e6aa76791 [INFO] running `Command { std: "docker" "start" "-a" "7c42c21fb786639b0e20f4859e036099626a1bfbb2fa5b5ef0568d9e6aa76791", kill_on_drop: false }` [INFO] [stderr] Compiling ming v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "7c42c21fb786639b0e20f4859e036099626a1bfbb2fa5b5ef0568d9e6aa76791", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c42c21fb786639b0e20f4859e036099626a1bfbb2fa5b5ef0568d9e6aa76791", kill_on_drop: false }` [INFO] [stdout] 7c42c21fb786639b0e20f4859e036099626a1bfbb2fa5b5ef0568d9e6aa76791 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 52e619c01035304ea684d194ebea5c1f6312e45e001adf6b8e1deec9865cfac0 [INFO] running `Command { std: "docker" "start" "-a" "52e619c01035304ea684d194ebea5c1f6312e45e001adf6b8e1deec9865cfac0", kill_on_drop: false }` [INFO] [stderr] Compiling ming v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lexopt` [INFO] [stdout] --> examples/hello.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | use lexopt::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `lexopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lexopt` [INFO] [stdout] --> examples/cargo.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | use lexopt::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `lexopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lexopt` [INFO] [stdout] --> examples/cargo.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | use lexopt::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `lexopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lexopt` [INFO] [stdout] --> examples/posixly_correct.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | use lexopt::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `lexopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lexopt` [INFO] [stdout] --> examples/pico_test_app.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | use lexopt::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `lexopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lexopt` [INFO] [stdout] --> examples/hello.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | let mut parser = lexopt::Parser::from_env(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `lexopt` [INFO] [stdout] | [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 undeclared crate or module `lexopt` [INFO] [stdout] --> examples/hello.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | fn parse_args() -> Result { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `lexopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lexopt` [INFO] [stdout] --> examples/hello.rs:40:25 [INFO] [stdout] | [INFO] [stdout] 40 | fn main() -> Result<(), lexopt::Error> { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `lexopt` [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] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `lexopt` [INFO] [stdout] | [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] [stderr] error: could not compile `ming` (example "hello") due to 9 previous errors [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] [stderr] warning: build failed, waiting for other jobs to finish... [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 undeclared crate or module `lexopt` [INFO] [stdout] --> examples/cargo.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | let mut parser = lexopt::Parser::from_env(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `lexopt` [INFO] [stdout] | [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 undeclared crate or module `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 undeclared crate or module `lexopt` [INFO] [stdout] | [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 undeclared crate or module `lexopt` [INFO] [stdout] --> examples/posixly_correct.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | fn main() -> Result<(), lexopt::Error> { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `lexopt` [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] error[E0433]: failed to resolve: use of undeclared crate or module `lexopt` [INFO] [stdout] --> examples/cargo.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | fn main() -> Result<(), lexopt::Error> { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `lexopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `lexopt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `lexopt` [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 "posixly_correct") due to 7 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `lexopt` [INFO] [stdout] --> examples/pico_test_app.rs:48:36 [INFO] [stdout] | [INFO] [stdout] 48 | fn parse_args() -> Result { [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `lexopt` [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] [stderr] error: could not compile `ming` (example "pico_test_app") due to 9 previous errors [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/lib.rs:1167:15 [INFO] [stdout] | [INFO] [stdout] 1162 | let (mut a, mut b) = dup_parser(parser); [INFO] [stdout] | ----- ----- [INFO] [stdout] | | | [INFO] [stdout] | | `b` calls a custom destructor [INFO] [stdout] | | `b` will be dropped later as of Edition 2024 [INFO] [stdout] | `a` calls a custom destructor [INFO] [stdout] | `a` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1167 | match b.value() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 1171 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `a` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `b` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ming` (lib test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "52e619c01035304ea684d194ebea5c1f6312e45e001adf6b8e1deec9865cfac0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52e619c01035304ea684d194ebea5c1f6312e45e001adf6b8e1deec9865cfac0", kill_on_drop: false }` [INFO] [stdout] 52e619c01035304ea684d194ebea5c1f6312e45e001adf6b8e1deec9865cfac0