[INFO] fetching crate getopt-long 0.3.0...
[INFO] testing getopt-long-0.3.0 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681
[INFO] extracting crate getopt-long 0.3.0 into /workspace/builds/worker-0-tc1/source
[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-0-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate getopt-long 0.3.0 on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d3626816cd36e7310a4db21bb2bb1c5235ac5a5bd65a2226eb63edc2ff77b8ae
[INFO] running `Command { std: "docker" "start" "-a" "d3626816cd36e7310a4db21bb2bb1c5235ac5a5bd65a2226eb63edc2ff77b8ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d3626816cd36e7310a4db21bb2bb1c5235ac5a5bd65a2226eb63edc2ff77b8ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d3626816cd36e7310a4db21bb2bb1c5235ac5a5bd65a2226eb63edc2ff77b8ae", kill_on_drop: false }`
[INFO] [stdout] d3626816cd36e7310a4db21bb2bb1c5235ac5a5bd65a2226eb63edc2ff77b8ae
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e660dd6d11e328fbfec627c08fa3e14f8ad0f7af78b0cf6ce874bd8f75f55019
[INFO] running `Command { std: "docker" "start" "-a" "e660dd6d11e328fbfec627c08fa3e14f8ad0f7af78b0cf6ce874bd8f75f55019", 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)]` (part of `#[warn(unused)]`) 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]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.42s
[INFO] running `Command { std: "docker" "inspect" "e660dd6d11e328fbfec627c08fa3e14f8ad0f7af78b0cf6ce874bd8f75f55019", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e660dd6d11e328fbfec627c08fa3e14f8ad0f7af78b0cf6ce874bd8f75f55019", kill_on_drop: false }`
[INFO] [stdout] e660dd6d11e328fbfec627c08fa3e14f8ad0f7af78b0cf6ce874bd8f75f55019
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c8d377e7324da6bb4b7e39b243b22f62dce8893541bfd04d47eb5464938fa099
[INFO] running `Command { std: "docker" "start" "-a" "c8d377e7324da6bb4b7e39b243b22f62dce8893541bfd04d47eb5464938fa099", 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s
[INFO] running `Command { std: "docker" "inspect" "c8d377e7324da6bb4b7e39b243b22f62dce8893541bfd04d47eb5464938fa099", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c8d377e7324da6bb4b7e39b243b22f62dce8893541bfd04d47eb5464938fa099", kill_on_drop: false }`
[INFO] [stdout] c8d377e7324da6bb4b7e39b243b22f62dce8893541bfd04d47eb5464938fa099
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] cdef3e8fe0a9f04dbe27a14b45b5e2fe673d39a5afc048b890344fae73a95606
[INFO] running `Command { std: "docker" "start" "-a" "cdef3e8fe0a9f04dbe27a14b45b5e2fe673d39a5afc048b890344fae73a95606", 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)]` (part of `#[warn(unused)]`) 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.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/getopt_long-e010f29a791c4596)
[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] 22 |     .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] 29 |     .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] 36 |     .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] 43 |     .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] 50 |     .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] 57 |     .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] 64 |     .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] 71 |     .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] 73 | 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] 138 |             .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] 16 |     Opt::new(
[INFO] [stdout]    |     ^^^ use of undeclared type `Opt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  3 + 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] 19 |         HasArg::NoArgument,
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `HasArg`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  3 + 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] 23 |     Opt::new(
[INFO] [stdout]    |     ^^^ use of undeclared type `Opt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  3 + 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] 26 |         HasArg::NoArgument,
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `HasArg`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  3 + 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] 30 |     Opt::new(
[INFO] [stdout]    |     ^^^ use of undeclared type `Opt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  3 + 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] 33 |         HasArg::NoArgument,
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `HasArg`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  3 + 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] 37 |     Opt::new(
[INFO] [stdout]    |     ^^^ use of undeclared type `Opt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  3 + 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] 40 |         HasArg::NoArgument,
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `HasArg`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  3 + 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] 44 |     Opt::new(
[INFO] [stdout]    |     ^^^ use of undeclared type `Opt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  3 + 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] 47 |         HasArg::RequiredArgument,
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `HasArg`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  3 + 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] 51 |     Opt::new(
[INFO] [stdout]    |     ^^^ use of undeclared type `Opt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  3 + 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] 54 |         HasArg::NoArgument,
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `HasArg`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  3 + 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] 58 |     Opt::new(
[INFO] [stdout]    |     ^^^ use of undeclared type `Opt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  3 + 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] 61 |         HasArg::RequiredArgument,
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `HasArg`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  3 + 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] 65 |     Opt::new(
[INFO] [stdout]    |     ^^^ use of undeclared type `Opt`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  3 + 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] 68 |         HasArg::RequiredArgument,
[INFO] [stdout]    |         ^^^^^^ use of undeclared type `HasArg`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout]  3 + 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] 73 | let opts = getopt_long(longopts).map_err(|e| on_the_spot!(e))?;
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: you might have meant to use `:` for type annotation
[INFO] [stdout]    |
[INFO] [stdout] 73 - let opts = getopt_long(longopts).map_err(|e| on_the_spot!(e))?;
[INFO] [stdout] 73 + let opts: getopt_long(longopts).map_err(|e| on_the_spot!(e))?;
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function instead
[INFO] [stdout]    |
[INFO] [stdout]  3 + 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] 92 |         usage(
[INFO] [stdout]    |         ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout]  3 + 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]   5 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_4_0() {
[INFO] [stdout]     |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 151 | action.do_with_config(config).await
[INFO] [stdout]     |                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |         config.clone()
[INFO] [stdout]    |         ^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/lib.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |         config.clone()
[INFO] [stdout]    |         ^^^^^^ cannot infer type
[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] 85 |     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] 98 |         break Action::Quit;
[INFO] [stdout]    |               ^^^^^^ use of undeclared type `Action`
[INFO] [stdout]    |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 98 -         break Action::Quit;
[INFO] [stdout] 98 +         break Option::Quit;
[INFO] [stdout]    |
[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] 104 |         break Action::List;
[INFO] [stdout]     |               ^^^^^^ use of undeclared type `Action`
[INFO] [stdout]     |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 104 -         break Action::List;
[INFO] [stdout] 104 +         break Option::List;
[INFO] [stdout]     |
[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] 110 |         break Action::Shell;
[INFO] [stdout]     |               ^^^^^^ use of undeclared type `Action`
[INFO] [stdout]     |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 110 -         break Action::Shell;
[INFO] [stdout] 110 +         break Option::Shell;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:116:36
[INFO] [stdout]     |
[INFO] [stdout] 116 |         break Action::Run {script: script.clone()}
[INFO] [stdout]     |                                    ^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:118:36
[INFO] [stdout]     |
[INFO] [stdout] 118 |         break Action::Run {script: script.clone()}
[INFO] [stdout]     |                                    ^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |         dict.clone()
[INFO] [stdout]     |         ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:126:9
[INFO] [stdout]     |
[INFO] [stdout] 126 |         dict.clone()
[INFO] [stdout]     |         ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:136:23
[INFO] [stdout]     |
[INFO] [stdout] 136 |         let id: u32 = id
[INFO] [stdout]     |                       ^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/lib.rs:146:42
[INFO] [stdout]     |
[INFO] [stdout] 146 |         words: opts.operands.iter().map(|v| v.clone()).collect(),
[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] 146 |         words: opts.operands.iter().map(|v: /* Type */| v.clone()).collect(),
[INFO] [stdout]     |                                           ++++++++++++
[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] 145 |     break Action::Query {
[INFO] [stdout]     |           ^^^^^^ use of undeclared type `Action`
[INFO] [stdout]     |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 145 -     break Action::Query {
[INFO] [stdout] 145 +     break Option::Query {
[INFO] [stdout]     |
[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] 139 |         break Action::RowId {
[INFO] [stdout]     |               ^^^^^^ use of undeclared type `Action`
[INFO] [stdout]     |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 139 -         break Action::RowId {
[INFO] [stdout] 139 +         break Option::RowId {
[INFO] [stdout]     |
[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] 132 |         break Action::Rows { dict: dict_name };
[INFO] [stdout]     |               ^^^^^^ use of undeclared type `Action`
[INFO] [stdout]     |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 132 -         break Action::Rows { dict: dict_name };
[INFO] [stdout] 132 +         break Option::Rows { dict: dict_name };
[INFO] [stdout]     |
[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] 118 |         break Action::Run {script: script.clone()}
[INFO] [stdout]     |               ^^^^^^ use of undeclared type `Action`
[INFO] [stdout]     |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 118 -         break Action::Run {script: script.clone()}
[INFO] [stdout] 118 +         break Option::Run {script: script.clone()}
[INFO] [stdout]     |
[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] 116 |         break Action::Run {script: script.clone()}
[INFO] [stdout]     |               ^^^^^^ use of undeclared type `Action`
[INFO] [stdout]     |
[INFO] [stdout] help: an enum with a similar name exists
[INFO] [stdout]     |
[INFO] [stdout] 116 -         break Action::Run {script: script.clone()}
[INFO] [stdout] 116 +         break Option::Run {script: script.clone()}
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 46 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0423, E0425, E0433, E0728.
[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/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.22s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "cdef3e8fe0a9f04dbe27a14b45b5e2fe673d39a5afc048b890344fae73a95606", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cdef3e8fe0a9f04dbe27a14b45b5e2fe673d39a5afc048b890344fae73a95606", kill_on_drop: false }`
[INFO] [stdout] cdef3e8fe0a9f04dbe27a14b45b5e2fe673d39a5afc048b890344fae73a95606
