[INFO] fetching crate getopt-long 0.3.0...
[INFO] testing getopt-long-0.3.0 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate getopt-long 0.3.0 into /workspace/builds/worker-2-tc1/source
[INFO] validating manifest of crates.io crate getopt-long 0.3.0 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate getopt-long 0.3.0
[INFO] finished tweaking crates.io crate getopt-long 0.3.0
[INFO] tweaked toml for crates.io crate getopt-long 0.3.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] crate crates.io crate getopt-long 0.3.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" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 067edc443803688cad87a69cc88a9aa6ae8eb9e1c12875cd71dbfa39a1984a09
[INFO] running `Command { std: "docker" "start" "-a" "067edc443803688cad87a69cc88a9aa6ae8eb9e1c12875cd71dbfa39a1984a09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "067edc443803688cad87a69cc88a9aa6ae8eb9e1c12875cd71dbfa39a1984a09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "067edc443803688cad87a69cc88a9aa6ae8eb9e1c12875cd71dbfa39a1984a09", kill_on_drop: false }`
[INFO] [stdout] 067edc443803688cad87a69cc88a9aa6ae8eb9e1c12875cd71dbfa39a1984a09
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dd8030677ba9c1116e5d1f2ce90cdefc56858e8d3be07420873503b7442491f4
[INFO] running `Command { std: "docker" "start" "-a" "dd8030677ba9c1116e5d1f2ce90cdefc56858e8d3be07420873503b7442491f4", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling getopt-long v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/getopt_long.rs:175:13
[INFO] [stdout]     |
[INFO] [stdout] 175 |             CString::from_raw(v);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 175 |             let _ = CString::from_raw(v);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.69s
[INFO] running `Command { std: "docker" "inspect" "dd8030677ba9c1116e5d1f2ce90cdefc56858e8d3be07420873503b7442491f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dd8030677ba9c1116e5d1f2ce90cdefc56858e8d3be07420873503b7442491f4", kill_on_drop: false }`
[INFO] [stdout] dd8030677ba9c1116e5d1f2ce90cdefc56858e8d3be07420873503b7442491f4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e2ff814e886cfb8c65c3eba90a84dd8260ffa48895481a6cb68f16a46963b60e
[INFO] running `Command { std: "docker" "start" "-a" "e2ff814e886cfb8c65c3eba90a84dd8260ffa48895481a6cb68f16a46963b60e", kill_on_drop: false }`
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/getopt_long.rs:175:13
[INFO] [stdout]     |
[INFO] [stdout] 175 |             CString::from_raw(v);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 175 |             let _ = CString::from_raw(v);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling getopt-long v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/getopt_long.rs:175:13
[INFO] [stdout]     |
[INFO] [stdout] 175 |             CString::from_raw(v);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 175 |             let _ = CString::from_raw(v);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s
[INFO] running `Command { std: "docker" "inspect" "e2ff814e886cfb8c65c3eba90a84dd8260ffa48895481a6cb68f16a46963b60e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e2ff814e886cfb8c65c3eba90a84dd8260ffa48895481a6cb68f16a46963b60e", kill_on_drop: false }`
[INFO] [stdout] e2ff814e886cfb8c65c3eba90a84dd8260ffa48895481a6cb68f16a46963b60e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 30ea892c07f0a9e300320182b94f0be5091ef447c726ee6e19b9d586f8f610fb
[INFO] running `Command { std: "docker" "start" "-a" "30ea892c07f0a9e300320182b94f0be5091ef447c726ee6e19b9d586f8f610fb", kill_on_drop: false }`
[INFO] [stderr] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stderr]    --> src/getopt_long.rs:175:13
[INFO] [stderr]     |
[INFO] [stderr] 175 |             CString::from_raw(v);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 175 |             let _ = CString::from_raw(v);
[INFO] [stderr]     |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `getopt-long` (lib) generated 1 warning
[INFO] [stderr] warning: `getopt-long` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.00s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/getopt_long-0f943f6d5489e5eb)
[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 getopt_long
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - (line 4) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 4) stdout ----
[INFO] [stdout] error: cannot find macro `on_the_spot` in this scope
[INFO] [stdout]   --> src/lib.rs:22:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |     .map_err(|e| on_the_spot!(e))?,
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `on_the_spot` in this scope
[INFO] [stdout]   --> src/lib.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 28 |     .map_err(|e| on_the_spot!(e))?,
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `on_the_spot` in this scope
[INFO] [stdout]   --> src/lib.rs:36:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     .map_err(|e| on_the_spot!(e))?,
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `on_the_spot` in this scope
[INFO] [stdout]   --> src/lib.rs:43:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |     .map_err(|e| on_the_spot!(e))?,
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `on_the_spot` in this scope
[INFO] [stdout]   --> src/lib.rs:50:18
[INFO] [stdout]    |
[INFO] [stdout] 49 |     .map_err(|e| on_the_spot!(e))?,
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `on_the_spot` in this scope
[INFO] [stdout]   --> src/lib.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 56 |     .map_err(|e| on_the_spot!(e))?,
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `on_the_spot` in this scope
[INFO] [stdout]   --> src/lib.rs:64:18
[INFO] [stdout]    |
[INFO] [stdout] 63 |     .map_err(|e| on_the_spot!(e))?,
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `on_the_spot` in this scope
[INFO] [stdout]   --> src/lib.rs:71:18
[INFO] [stdout]    |
[INFO] [stdout] 70 |     .map_err(|e| on_the_spot!(e))?,
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `on_the_spot` in this scope
[INFO] [stdout]   --> src/lib.rs:73:46
[INFO] [stdout]    |
[INFO] [stdout] 72 | let opts = getopt_long(longopts).map_err(|e| on_the_spot!(e))?;
[INFO] [stdout]    |                                              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `on_the_spot` in this scope
[INFO] [stdout]    --> src/lib.rs:138:59
[INFO] [stdout]     |
[INFO] [stdout] 137 |             .map_err(|e: <u32 as std::str::FromStr>::Err| on_the_spot!(e))?;
[INFO] [stdout]     |                                                           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Opt`
[INFO] [stdout]   --> src/lib.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     Opt::new(
[INFO] [stdout]    |     ^^^ use of undeclared type `Opt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::Opt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HasArg`
[INFO] [stdout]   --> src/lib.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         HasArg::NoArgument,
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `HasArg`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::HasArg;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Opt`
[INFO] [stdout]   --> src/lib.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     Opt::new(
[INFO] [stdout]    |     ^^^ use of undeclared type `Opt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::Opt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HasArg`
[INFO] [stdout]   --> src/lib.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         HasArg::NoArgument,
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `HasArg`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::HasArg;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Opt`
[INFO] [stdout]   --> src/lib.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     Opt::new(
[INFO] [stdout]    |     ^^^ use of undeclared type `Opt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::Opt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HasArg`
[INFO] [stdout]   --> src/lib.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         HasArg::NoArgument,
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `HasArg`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::HasArg;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Opt`
[INFO] [stdout]   --> src/lib.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     Opt::new(
[INFO] [stdout]    |     ^^^ use of undeclared type `Opt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::Opt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HasArg`
[INFO] [stdout]   --> src/lib.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         HasArg::NoArgument,
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `HasArg`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::HasArg;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Opt`
[INFO] [stdout]   --> src/lib.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     Opt::new(
[INFO] [stdout]    |     ^^^ use of undeclared type `Opt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::Opt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HasArg`
[INFO] [stdout]   --> src/lib.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         HasArg::RequiredArgument,
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `HasArg`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::HasArg;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Opt`
[INFO] [stdout]   --> src/lib.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 50 |     Opt::new(
[INFO] [stdout]    |     ^^^ use of undeclared type `Opt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::Opt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HasArg`
[INFO] [stdout]   --> src/lib.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         HasArg::NoArgument,
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `HasArg`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::HasArg;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Opt`
[INFO] [stdout]   --> src/lib.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 57 |     Opt::new(
[INFO] [stdout]    |     ^^^ use of undeclared type `Opt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::Opt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HasArg`
[INFO] [stdout]   --> src/lib.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |         HasArg::RequiredArgument,
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `HasArg`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::HasArg;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Opt`
[INFO] [stdout]   --> src/lib.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 64 |     Opt::new(
[INFO] [stdout]    |     ^^^ use of undeclared type `Opt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::Opt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HasArg`
[INFO] [stdout]   --> src/lib.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |         HasArg::RequiredArgument,
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `HasArg`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::HasArg;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found crate `getopt_long`
[INFO] [stdout]   --> src/lib.rs:73:12
[INFO] [stdout]    |
[INFO] [stdout] 72 | let opts = getopt_long(longopts).map_err(|e| on_the_spot!(e))?;
[INFO] [stdout]    |            ^^^^^^^^^^^ not a function
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function instead
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::getopt_long;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `usage` in this scope
[INFO] [stdout]   --> src/lib.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 91 |         usage(
[INFO] [stdout]    |         ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::usage;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:151:31
[INFO] [stdout]     |
[INFO] [stdout] 4   | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_4_0() {
[INFO] [stdout]     |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 150 | action.do_with_config(config).await
[INFO] [stdout]     |                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config`
[INFO] [stdout]   --> src/lib.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 84 |     Config::load(&config_name)?
[INFO] [stdout]    |     ^^^^^^ use of undeclared type `Config`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action`
[INFO] [stdout]   --> src/lib.rs:98:15
[INFO] [stdout]    |
[INFO] [stdout] 97 |         break Action::Quit;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout]    |               |
[INFO] [stdout]    |               use of undeclared type `Action`
[INFO] [stdout]    |               help: an enum with a similar name exists: `Option`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action`
[INFO] [stdout]    --> src/lib.rs:104:15
[INFO] [stdout]     |
[INFO] [stdout] 103 |         break Action::List;
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout]     |               |
[INFO] [stdout]     |               use of undeclared type `Action`
[INFO] [stdout]     |               help: an enum with a similar name exists: `Option`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action`
[INFO] [stdout]    --> src/lib.rs:110:15
[INFO] [stdout]     |
[INFO] [stdout] 109 |         break Action::Shell;
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout]     |               |
[INFO] [stdout]     |               use of undeclared type `Action`
[INFO] [stdout]     |               help: an enum with a similar name exists: `Option`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action`
[INFO] [stdout]    --> src/lib.rs:145:11
[INFO] [stdout]     |
[INFO] [stdout] 144 |     break Action::Query {
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout]     |           |
[INFO] [stdout]     |           use of undeclared type `Action`
[INFO] [stdout]     |           help: an enum with a similar name exists: `Option`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action`
[INFO] [stdout]    --> src/lib.rs:139:15
[INFO] [stdout]     |
[INFO] [stdout] 138 |         break Action::RowId {
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout]     |               |
[INFO] [stdout]     |               use of undeclared type `Action`
[INFO] [stdout]     |               help: an enum with a similar name exists: `Option`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action`
[INFO] [stdout]    --> src/lib.rs:132:15
[INFO] [stdout]     |
[INFO] [stdout] 131 |         break Action::Rows { dict: dict_name };
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout]     |               |
[INFO] [stdout]     |               use of undeclared type `Action`
[INFO] [stdout]     |               help: an enum with a similar name exists: `Option`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action`
[INFO] [stdout]    --> src/lib.rs:118:15
[INFO] [stdout]     |
[INFO] [stdout] 117 |         break Action::Run {script: script.clone()}
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout]     |               |
[INFO] [stdout]     |               use of undeclared type `Action`
[INFO] [stdout]     |               help: an enum with a similar name exists: `Option`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action`
[INFO] [stdout]    --> src/lib.rs:116:15
[INFO] [stdout]     |
[INFO] [stdout] 115 |         break Action::Run {script: script.clone()}
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout]     |               |
[INFO] [stdout]     |               use of undeclared type `Action`
[INFO] [stdout]     |               help: an enum with a similar name exists: `Option`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 38 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0433, E0728.
[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 4)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "30ea892c07f0a9e300320182b94f0be5091ef447c726ee6e19b9d586f8f610fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "30ea892c07f0a9e300320182b94f0be5091ef447c726ee6e19b9d586f8f610fb", kill_on_drop: false }`
[INFO] [stdout] 30ea892c07f0a9e300320182b94f0be5091ef447c726ee6e19b9d586f8f610fb
[INFO] testing getopt-long-0.3.0 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate getopt-long 0.3.0 into /workspace/builds/worker-2-tc2/source
[INFO] validating manifest of crates.io crate getopt-long 0.3.0 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate getopt-long 0.3.0
[INFO] finished tweaking crates.io crate getopt-long 0.3.0
[INFO] tweaked toml for crates.io crate getopt-long 0.3.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate crates.io crate getopt-long 0.3.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" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4972442ba9206e0d319100718c9d7f45b036ddaef6e13fb96bcbc9673092e7da
[INFO] running `Command { std: "docker" "start" "-a" "4972442ba9206e0d319100718c9d7f45b036ddaef6e13fb96bcbc9673092e7da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4972442ba9206e0d319100718c9d7f45b036ddaef6e13fb96bcbc9673092e7da", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4972442ba9206e0d319100718c9d7f45b036ddaef6e13fb96bcbc9673092e7da", kill_on_drop: false }`
[INFO] [stdout] 4972442ba9206e0d319100718c9d7f45b036ddaef6e13fb96bcbc9673092e7da
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5139727ac14486c9b0146170ce54e85805798d005f55b9e7290799a4b1f4c890
[INFO] running `Command { std: "docker" "start" "-a" "5139727ac14486c9b0146170ce54e85805798d005f55b9e7290799a4b1f4c890", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.0.50
[INFO] [stderr]    Compiling getopt-long v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/getopt_long.rs:175:13
[INFO] [stdout]     |
[INFO] [stdout] 175 |             CString::from_raw(v);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 175 |             let _ = CString::from_raw(v);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.68s
[INFO] running `Command { std: "docker" "inspect" "5139727ac14486c9b0146170ce54e85805798d005f55b9e7290799a4b1f4c890", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5139727ac14486c9b0146170ce54e85805798d005f55b9e7290799a4b1f4c890", kill_on_drop: false }`
[INFO] [stdout] 5139727ac14486c9b0146170ce54e85805798d005f55b9e7290799a4b1f4c890
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1392b5a4e29fd7244ada4a9c082ca3e65940a430441471d66148dbbff59cd7fd
[INFO] running `Command { std: "docker" "start" "-a" "1392b5a4e29fd7244ada4a9c082ca3e65940a430441471d66148dbbff59cd7fd", kill_on_drop: false }`
[INFO] [stderr]    Compiling getopt-long v0.3.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/getopt_long.rs:175:13
[INFO] [stdout]     |
[INFO] [stdout] 175 |             CString::from_raw(v);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 175 |             let _ = CString::from_raw(v);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stdout]    --> src/getopt_long.rs:175:13
[INFO] [stdout]     |
[INFO] [stdout] 175 |             CString::from_raw(v);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 175 |             let _ = CString::from_raw(v);
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] running `Command { std: "docker" "inspect" "1392b5a4e29fd7244ada4a9c082ca3e65940a430441471d66148dbbff59cd7fd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1392b5a4e29fd7244ada4a9c082ca3e65940a430441471d66148dbbff59cd7fd", kill_on_drop: false }`
[INFO] [stdout] 1392b5a4e29fd7244ada4a9c082ca3e65940a430441471d66148dbbff59cd7fd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e36e0e5106c0ec7692702b51b5ddf52617dc956724225a6744f3e0797c6a7cba
[INFO] running `Command { std: "docker" "start" "-a" "e36e0e5106c0ec7692702b51b5ddf52617dc956724225a6744f3e0797c6a7cba", kill_on_drop: false }`
[INFO] [stderr] warning: unused return value of `CString::from_raw` that must be used
[INFO] [stderr]    --> src/getopt_long.rs:175:13
[INFO] [stderr]     |
[INFO] [stderr] 175 |             CString::from_raw(v);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: call `drop(from_raw(ptr))` if you intend to drop the `CString`
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 175 |             let _ = CString::from_raw(v);
[INFO] [stderr]     |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `getopt-long` (lib) generated 1 warning
[INFO] [stderr] warning: `getopt-long` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/getopt_long-0f943f6d5489e5eb)
[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 getopt_long
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - (line 4) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 4) stdout ----
[INFO] [stdout] error: cannot find macro `on_the_spot` in this scope
[INFO] [stdout]   --> src/lib.rs:22:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |     .map_err(|e| on_the_spot!(e))?,
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `on_the_spot` in this scope
[INFO] [stdout]   --> src/lib.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 28 |     .map_err(|e| on_the_spot!(e))?,
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `on_the_spot` in this scope
[INFO] [stdout]   --> src/lib.rs:36:18
[INFO] [stdout]    |
[INFO] [stdout] 35 |     .map_err(|e| on_the_spot!(e))?,
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `on_the_spot` in this scope
[INFO] [stdout]   --> src/lib.rs:43:18
[INFO] [stdout]    |
[INFO] [stdout] 42 |     .map_err(|e| on_the_spot!(e))?,
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `on_the_spot` in this scope
[INFO] [stdout]   --> src/lib.rs:50:18
[INFO] [stdout]    |
[INFO] [stdout] 49 |     .map_err(|e| on_the_spot!(e))?,
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `on_the_spot` in this scope
[INFO] [stdout]   --> src/lib.rs:57:18
[INFO] [stdout]    |
[INFO] [stdout] 56 |     .map_err(|e| on_the_spot!(e))?,
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `on_the_spot` in this scope
[INFO] [stdout]   --> src/lib.rs:64:18
[INFO] [stdout]    |
[INFO] [stdout] 63 |     .map_err(|e| on_the_spot!(e))?,
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `on_the_spot` in this scope
[INFO] [stdout]   --> src/lib.rs:71:18
[INFO] [stdout]    |
[INFO] [stdout] 70 |     .map_err(|e| on_the_spot!(e))?,
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `on_the_spot` in this scope
[INFO] [stdout]   --> src/lib.rs:73:46
[INFO] [stdout]    |
[INFO] [stdout] 72 | let opts = getopt_long(longopts).map_err(|e| on_the_spot!(e))?;
[INFO] [stdout]    |                                              ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `on_the_spot` in this scope
[INFO] [stdout]    --> src/lib.rs:138:59
[INFO] [stdout]     |
[INFO] [stdout] 137 |             .map_err(|e: <u32 as std::str::FromStr>::Err| on_the_spot!(e))?;
[INFO] [stdout]     |                                                           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Opt`
[INFO] [stdout]   --> src/lib.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 |     Opt::new(
[INFO] [stdout]    |     ^^^ use of undeclared type `Opt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::Opt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HasArg`
[INFO] [stdout]   --> src/lib.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 18 |         HasArg::NoArgument,
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `HasArg`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::HasArg;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Opt`
[INFO] [stdout]   --> src/lib.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     Opt::new(
[INFO] [stdout]    |     ^^^ use of undeclared type `Opt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::Opt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HasArg`
[INFO] [stdout]   --> src/lib.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         HasArg::NoArgument,
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `HasArg`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::HasArg;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Opt`
[INFO] [stdout]   --> src/lib.rs:30:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     Opt::new(
[INFO] [stdout]    |     ^^^ use of undeclared type `Opt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::Opt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HasArg`
[INFO] [stdout]   --> src/lib.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         HasArg::NoArgument,
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `HasArg`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::HasArg;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Opt`
[INFO] [stdout]   --> src/lib.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     Opt::new(
[INFO] [stdout]    |     ^^^ use of undeclared type `Opt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::Opt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HasArg`
[INFO] [stdout]   --> src/lib.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         HasArg::NoArgument,
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `HasArg`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::HasArg;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Opt`
[INFO] [stdout]   --> src/lib.rs:44:5
[INFO] [stdout]    |
[INFO] [stdout] 43 |     Opt::new(
[INFO] [stdout]    |     ^^^ use of undeclared type `Opt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::Opt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HasArg`
[INFO] [stdout]   --> src/lib.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         HasArg::RequiredArgument,
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `HasArg`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::HasArg;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Opt`
[INFO] [stdout]   --> src/lib.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 50 |     Opt::new(
[INFO] [stdout]    |     ^^^ use of undeclared type `Opt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::Opt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HasArg`
[INFO] [stdout]   --> src/lib.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 53 |         HasArg::NoArgument,
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `HasArg`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::HasArg;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Opt`
[INFO] [stdout]   --> src/lib.rs:58:5
[INFO] [stdout]    |
[INFO] [stdout] 57 |     Opt::new(
[INFO] [stdout]    |     ^^^ use of undeclared type `Opt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::Opt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HasArg`
[INFO] [stdout]   --> src/lib.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |         HasArg::RequiredArgument,
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `HasArg`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::HasArg;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Opt`
[INFO] [stdout]   --> src/lib.rs:65:5
[INFO] [stdout]    |
[INFO] [stdout] 64 |     Opt::new(
[INFO] [stdout]    |     ^^^ use of undeclared type `Opt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::Opt;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HasArg`
[INFO] [stdout]   --> src/lib.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |         HasArg::RequiredArgument,
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `HasArg`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::HasArg;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found crate `getopt_long`
[INFO] [stdout]   --> src/lib.rs:73:12
[INFO] [stdout]    |
[INFO] [stdout] 72 | let opts = getopt_long(longopts).map_err(|e| on_the_spot!(e))?;
[INFO] [stdout]    |            ^^^^^^^^^^^ not a function
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function instead
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::getopt_long;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `usage` in this scope
[INFO] [stdout]   --> src/lib.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 91 |         usage(
[INFO] [stdout]    |         ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use getopt_long::usage;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]    --> src/lib.rs:151:31
[INFO] [stdout]     |
[INFO] [stdout] 4   | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_4_0() {
[INFO] [stdout]     |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 150 | action.do_with_config(config).await
[INFO] [stdout]     |                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Config`
[INFO] [stdout]   --> src/lib.rs:85:5
[INFO] [stdout]    |
[INFO] [stdout] 84 |     Config::load(&config_name)?
[INFO] [stdout]    |     ^^^^^^ use of undeclared type `Config`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action`
[INFO] [stdout]   --> src/lib.rs:98:15
[INFO] [stdout]    |
[INFO] [stdout] 97 |         break Action::Quit;
[INFO] [stdout]    |               ^^^^^^
[INFO] [stdout]    |               |
[INFO] [stdout]    |               use of undeclared type `Action`
[INFO] [stdout]    |               help: an enum with a similar name exists: `Option`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action`
[INFO] [stdout]    --> src/lib.rs:104:15
[INFO] [stdout]     |
[INFO] [stdout] 103 |         break Action::List;
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout]     |               |
[INFO] [stdout]     |               use of undeclared type `Action`
[INFO] [stdout]     |               help: an enum with a similar name exists: `Option`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action`
[INFO] [stdout]    --> src/lib.rs:110:15
[INFO] [stdout]     |
[INFO] [stdout] 109 |         break Action::Shell;
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout]     |               |
[INFO] [stdout]     |               use of undeclared type `Action`
[INFO] [stdout]     |               help: an enum with a similar name exists: `Option`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action`
[INFO] [stdout]    --> src/lib.rs:145:11
[INFO] [stdout]     |
[INFO] [stdout] 144 |     break Action::Query {
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout]     |           |
[INFO] [stdout]     |           use of undeclared type `Action`
[INFO] [stdout]     |           help: an enum with a similar name exists: `Option`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action`
[INFO] [stdout]    --> src/lib.rs:139:15
[INFO] [stdout]     |
[INFO] [stdout] 138 |         break Action::RowId {
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout]     |               |
[INFO] [stdout]     |               use of undeclared type `Action`
[INFO] [stdout]     |               help: an enum with a similar name exists: `Option`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action`
[INFO] [stdout]    --> src/lib.rs:132:15
[INFO] [stdout]     |
[INFO] [stdout] 131 |         break Action::Rows { dict: dict_name };
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout]     |               |
[INFO] [stdout]     |               use of undeclared type `Action`
[INFO] [stdout]     |               help: an enum with a similar name exists: `Option`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action`
[INFO] [stdout]    --> src/lib.rs:118:15
[INFO] [stdout]     |
[INFO] [stdout] 117 |         break Action::Run {script: script.clone()}
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout]     |               |
[INFO] [stdout]     |               use of undeclared type `Action`
[INFO] [stdout]     |               help: an enum with a similar name exists: `Option`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action`
[INFO] [stdout]    --> src/lib.rs:116:15
[INFO] [stdout]     |
[INFO] [stdout] 115 |         break Action::Run {script: script.clone()}
[INFO] [stdout]     |               ^^^^^^
[INFO] [stdout]     |               |
[INFO] [stdout]     |               use of undeclared type `Action`
[INFO] [stdout]     |               help: an enum with a similar name exists: `Option`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 38 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0433, E0728.
[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 4)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "e36e0e5106c0ec7692702b51b5ddf52617dc956724225a6744f3e0797c6a7cba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e36e0e5106c0ec7692702b51b5ddf52617dc956724225a6744f3e0797c6a7cba", kill_on_drop: false }`
[INFO] [stdout] e36e0e5106c0ec7692702b51b5ddf52617dc956724225a6744f3e0797c6a7cba
