[INFO] fetching crate commandargs 0.1.5...
[INFO] testing commandargs-0.1.5 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] extracting crate commandargs 0.1.5 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate commandargs 0.1.5
[INFO] finished tweaking crates.io crate commandargs 0.1.5
[INFO] tweaked toml for crates.io crate commandargs 0.1.5 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate commandargs 0.1.5 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate commandargs 0.1.5 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ff48ac4e7ed7d52767e6fa9aa69c9069b26ad434b5818582315e4dc5168f6f85
[INFO] running `Command { std: "docker" "start" "-a" "ff48ac4e7ed7d52767e6fa9aa69c9069b26ad434b5818582315e4dc5168f6f85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ff48ac4e7ed7d52767e6fa9aa69c9069b26ad434b5818582315e4dc5168f6f85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ff48ac4e7ed7d52767e6fa9aa69c9069b26ad434b5818582315e4dc5168f6f85", kill_on_drop: false }`
[INFO] [stdout] ff48ac4e7ed7d52767e6fa9aa69c9069b26ad434b5818582315e4dc5168f6f85
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 0a4613a432a1059cf44512ff04e1c27c723711ef60b9241100f48b4edc1b6f4e
[INFO] running `Command { std: "docker" "start" "-a" "0a4613a432a1059cf44512ff04e1c27c723711ef60b9241100f48b4edc1b6f4e", kill_on_drop: false }`
[INFO] [stderr]    Compiling commandargs v0.1.5 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.41s
[INFO] running `Command { std: "docker" "inspect" "0a4613a432a1059cf44512ff04e1c27c723711ef60b9241100f48b4edc1b6f4e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0a4613a432a1059cf44512ff04e1c27c723711ef60b9241100f48b4edc1b6f4e", kill_on_drop: false }`
[INFO] [stdout] 0a4613a432a1059cf44512ff04e1c27c723711ef60b9241100f48b4edc1b6f4e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 9f9c5a44a19c62d22fb6487a01a7113a133ed762a032040b70d4d1b1daff528a
[INFO] running `Command { std: "docker" "start" "-a" "9f9c5a44a19c62d22fb6487a01a7113a133ed762a032040b70d4d1b1daff528a", kill_on_drop: false }`
[INFO] [stderr]    Compiling commandargs v0.1.5 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s
[INFO] running `Command { std: "docker" "inspect" "9f9c5a44a19c62d22fb6487a01a7113a133ed762a032040b70d4d1b1daff528a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9f9c5a44a19c62d22fb6487a01a7113a133ed762a032040b70d4d1b1daff528a", kill_on_drop: false }`
[INFO] [stdout] 9f9c5a44a19c62d22fb6487a01a7113a133ed762a032040b70d4d1b1daff528a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 3120ebfad150c8a184ecc69fe0a6000a854919a7a5a1bef3218bc6b917d1ec01
[INFO] running `Command { std: "docker" "start" "-a" "3120ebfad150c8a184ecc69fe0a6000a854919a7a5a1bef3218bc6b917d1ec01", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/commandargs/794eb2ac07e67424/deps/commandargs-794eb2ac07e67424)
[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 commandargs
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/command/mod.rs - command::Command<'a>::from_args (line 50) ... FAILED
[INFO] [stdout] test src/args.rs - args::Args::Vec (line 13) ... FAILED
[INFO] [stdout] test src/command/mod.rs - command::Command (line 22) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 11) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/command/mod.rs - command::Command<'a>::from_args (line 50) stdout ----
[INFO] [stdout] error: path separator must be a double colon
[INFO] [stdout]   --> src/command/mod.rs:58:33
[INFO] [stdout]    |
[INFO] [stdout] 58 |             &|_, _| std::process:exit(0),
[INFO] [stdout]    |                                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: use a double colon instead
[INFO] [stdout]    |
[INFO] [stdout] 58 |             &|_, _| std::process::exit(0),
[INFO] [stdout]    |                                  +
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Command`
[INFO] [stdout]   --> src/command/mod.rs:51:1
[INFO] [stdout]    |
[INFO] [stdout] 51 | Command::from_args(
[INFO] [stdout]    | ^^^^^^^ use of undeclared type `Command`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 50 + use std::process::Command;
[INFO] [stdout]    |
[INFO] [stdout] 50 + use commandargs::command::Command;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Args`
[INFO] [stdout]   --> src/command/mod.rs:52:5
[INFO] [stdout]    |
[INFO] [stdout] 52 |     Args::CommandLineArgs,
[INFO] [stdout]    |     ^^^^ use of undeclared type `Args`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 50 + use std::env::Args;
[INFO] [stdout]    |
[INFO] [stdout] 50 + use commandargs::args::Args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandPattern`
[INFO] [stdout]   --> src/command/mod.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |         CommandPattern::new(
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ use of undeclared type `CommandPattern`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 50 + use commandargs::command::command_pattern::CommandPattern;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/args.rs - args::Args::Vec (line 13) stdout ----
[INFO] [stdout] error: expected one of `!` or `::`, found `(`
[INFO] [stdout]   --> src/args.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 | Args::Vec(vec!["new", "exe", "big_cat"]),
[INFO] [stdout]    |          ^ expected one of `!` or `::`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/command/mod.rs - command::Command (line 22) stdout ----
[INFO] [stdout] error: path separator must be a double colon
[INFO] [stdout]   --> src/command/mod.rs:30:33
[INFO] [stdout]    |
[INFO] [stdout] 30 |             &|_, _| std::process:exit(0),
[INFO] [stdout]    |                                 ^
[INFO] [stdout]    |
[INFO] [stdout] help: use a double colon instead
[INFO] [stdout]    |
[INFO] [stdout] 30 |             &|_, _| std::process::exit(0),
[INFO] [stdout]    |                                  +
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Command`
[INFO] [stdout]   --> src/command/mod.rs:23:1
[INFO] [stdout]    |
[INFO] [stdout] 23 | Command::new(
[INFO] [stdout]    | ^^^^^^^ use of undeclared type `Command`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout] 22 + use std::process::Command;
[INFO] [stdout]    |
[INFO] [stdout] 22 + use commandargs::command::Command;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Args`
[INFO] [stdout]   --> src/command/mod.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     Args::CommandLineArgs,
[INFO] [stdout]    |     ^^^^ use of undeclared type `Args`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 22 + use std::env::Args;
[INFO] [stdout]    |
[INFO] [stdout] 22 + use commandargs::args::Args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandPattern`
[INFO] [stdout]   --> src/command/mod.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         CommandPattern::new(
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ use of undeclared type `CommandPattern`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 22 + use commandargs::command::command_pattern::CommandPattern;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 11) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: unresolved import
[INFO] [stdout]   --> src/lib.rs:12:25
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::{args::Args, command::{command_pattern::CommandPattern, Command}, option::option_pattern::{ArgumentedOptPatArg, OptionPat...
[INFO] [stdout]    |                         ^^^^^^^
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         unresolved import
[INFO] [stdout]    |                         help: a similar path exists: `commandargs::command`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: unresolved import
[INFO] [stdout]   --> src/lib.rs:12:78
[INFO] [stdout]    |
[INFO] [stdout] 12 | ..._pattern::CommandPattern, Command}, option::option_pattern::{ArgumentedOptPatArg, OptionPattern}};
[INFO] [stdout]    |                                        ^^^^^^
[INFO] [stdout]    |                                        |
[INFO] [stdout]    |                                        unresolved import
[INFO] [stdout]    |                                        help: a similar path exists: `commandargs::option`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `crate::args`, `crate::command`
[INFO] [stdout]   --> src/lib.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::{args::Args, command::{command_pattern::CommandPattern, Command}, option::option_pattern::{ArgumentedOptPatArg, OptionPat...
[INFO] [stdout]    |             ^^^^        ^^^^^^^ unresolved import
[INFO] [stdout]    |             |
[INFO] [stdout]    |             unresolved import
[INFO] [stdout]    |
[INFO] [stdout] help: a similar path exists
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::{commandargs::args::Args, command::{command_pattern::CommandPattern, Command}, option::option_pattern::{ArgumentedOptPatArg, OptionPattern}};
[INFO] [stdout]    |             +++++++++++++
[INFO] [stdout] help: a similar path exists
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::{args::Args, commandargs::command::{command_pattern::CommandPattern, Command}, option::option_pattern::{ArgumentedOptPatArg, OptionPattern}};
[INFO] [stdout]    |                                +++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:28:19
[INFO] [stdout]    |
[INFO] [stdout] 28 |                 &|args, opts| {
[INFO] [stdout]    |                   ^^^^
[INFO] [stdout] 29 |                     // implementation of "greet" command
[INFO] [stdout] 30 |                     let name = args.get(0).unwrap();
[INFO] [stdout]    |                                ---- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 28 |                 &|args: /* Type */, opts| {
[INFO] [stdout]    |                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:28:25
[INFO] [stdout]    |
[INFO] [stdout] 28 |                 &|args, opts| {
[INFO] [stdout]    |                         ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |                     let method = opts.get_argumented("method").map_or("hello", |method| method);
[INFO] [stdout]    |                                  ---- type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving this closure parameter an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 28 |                 &|args, opts: /* Type */| {
[INFO] [stdout]    |                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/args.rs - args::Args::Vec (line 13)
[INFO] [stdout]     src/command/mod.rs - command::Command (line 22)
[INFO] [stdout]     src/command/mod.rs - command::Command<'a>::from_args (line 50)
[INFO] [stdout]     src/lib.rs - (line 11)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.45s; merged doctests compilation took 0.18s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "3120ebfad150c8a184ecc69fe0a6000a854919a7a5a1bef3218bc6b917d1ec01", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3120ebfad150c8a184ecc69fe0a6000a854919a7a5a1bef3218bc6b917d1ec01", kill_on_drop: false }`
[INFO] [stdout] 3120ebfad150c8a184ecc69fe0a6000a854919a7a5a1bef3218bc6b917d1ec01
