[INFO] fetching crate try-unwrap 1.0.0...
[INFO] testing try-unwrap-1.0.0 against try#33835004928d3bf65db4d4712e1330766263b0bd for pr-155739-1
[INFO] extracting crate try-unwrap 1.0.0 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate try-unwrap 1.0.0
[INFO] finished tweaking crates.io crate try-unwrap 1.0.0
[INFO] tweaked toml for crates.io crate try-unwrap 1.0.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate try-unwrap 1.0.0 on toolchain 33835004928d3bf65db4d4712e1330766263b0bd
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f235fa73bebcba16f86b53a0b157138b7bee5a510a4f10631efa55c8234ff443
[INFO] running `Command { std: "docker" "start" "-a" "f235fa73bebcba16f86b53a0b157138b7bee5a510a4f10631efa55c8234ff443", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f235fa73bebcba16f86b53a0b157138b7bee5a510a4f10631efa55c8234ff443", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f235fa73bebcba16f86b53a0b157138b7bee5a510a4f10631efa55c8234ff443", kill_on_drop: false }`
[INFO] [stdout] f235fa73bebcba16f86b53a0b157138b7bee5a510a4f10631efa55c8234ff443
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 20ebc4e06cc2df5c89db305dec01ed22a53f64a543e36f60307ea980d63028ba
[INFO] running `Command { std: "docker" "start" "-a" "20ebc4e06cc2df5c89db305dec01ed22a53f64a543e36f60307ea980d63028ba", kill_on_drop: false }`
[INFO] [stderr]    Compiling try-unwrap v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.25s
[INFO] running `Command { std: "docker" "inspect" "20ebc4e06cc2df5c89db305dec01ed22a53f64a543e36f60307ea980d63028ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "20ebc4e06cc2df5c89db305dec01ed22a53f64a543e36f60307ea980d63028ba", kill_on_drop: false }`
[INFO] [stdout] 20ebc4e06cc2df5c89db305dec01ed22a53f64a543e36f60307ea980d63028ba
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8e9af31990a152e52d18761eabed6bd4afeb9af975f45d2e1cb94e9982b142ac
[INFO] running `Command { std: "docker" "start" "-a" "8e9af31990a152e52d18761eabed6bd4afeb9af975f45d2e1cb94e9982b142ac", kill_on_drop: false }`
[INFO] [stderr]    Compiling try-unwrap v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s
[INFO] running `Command { std: "docker" "inspect" "8e9af31990a152e52d18761eabed6bd4afeb9af975f45d2e1cb94e9982b142ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e9af31990a152e52d18761eabed6bd4afeb9af975f45d2e1cb94e9982b142ac", kill_on_drop: false }`
[INFO] [stdout] 8e9af31990a152e52d18761eabed6bd4afeb9af975f45d2e1cb94e9982b142ac
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+33835004928d3bf65db4d4712e1330766263b0bd" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ab7ab73bbcd14224f70adc949eed405a00e57c779cc5588de445b44ac5360f74
[INFO] running `Command { std: "docker" "start" "-a" "ab7ab73bbcd14224f70adc949eed405a00e57c779cc5588de445b44ac5360f74", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/try_unwrap-723fd32b1731fe12)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test tests::test_option ... ok
[INFO] [stdout] test tests::test_result ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests try_unwrap
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/lib.rs - Result<T,E>::try_unwrap (line 14) ... FAILED
[INFO] [stdout] test src/lib.rs - Option<T>::try_unwrap (line 40) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - Result<T,E>::try_unwrap (line 14) stdout ----
[INFO] [stdout] error[E0599]: no method named `try_unwrap` found for enum `Result<T, E>` in the current scope
[INFO] [stdout]   --> src/lib.rs:17:15
[INFO] [stdout]    |
[INFO] [stdout] 17 | assert_eq!(ok.try_unwrap(), Ok(3));
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:5:8
[INFO] [stdout]    |
[INFO] [stdout]  5 |     fn try_unwrap(self) -> Result<Self::T, Self::E>;
[INFO] [stdout]    |        ---------- the method is available for `Result<i32, ()>` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `TryUnwrapResult` which provides `try_unwrap` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 13 + use crate::try_unwrap::TryUnwrapResult;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `unwrap` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 17 - assert_eq!(ok.try_unwrap(), Ok(3));
[INFO] [stdout] 17 + assert_eq!(ok.unwrap(), Ok(3));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `try_unwrap` found for enum `Result<T, E>` in the current scope
[INFO] [stdout]   --> src/lib.rs:19:16
[INFO] [stdout]    |
[INFO] [stdout] 19 | assert_eq!(err.try_unwrap(), Err(2));
[INFO] [stdout]    |                ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:5:8
[INFO] [stdout]    |
[INFO] [stdout]  5 |     fn try_unwrap(self) -> Result<Self::T, Self::E>;
[INFO] [stdout]    |        ---------- the method is available for `Result<(), i32>` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `TryUnwrapResult` which provides `try_unwrap` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 13 + use crate::try_unwrap::TryUnwrapResult;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `unwrap` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 19 - assert_eq!(err.try_unwrap(), Err(2));
[INFO] [stdout] 19 + assert_eq!(err.unwrap(), Err(2));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - Option<T>::try_unwrap (line 40) stdout ----
[INFO] [stdout] error[E0599]: no method named `try_unwrap` found for enum `Option<T>` in the current scope
[INFO] [stdout]   --> src/lib.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 | assert_eq!(some.try_unwrap(), Some(4));
[INFO] [stdout]    |                 ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn try_unwrap(self) -> Option<Self::T>;
[INFO] [stdout]    |        ---------- the method is available for `Option<i32>` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `TryUnwrapOption` which provides `try_unwrap` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 39 + use crate::try_unwrap::TryUnwrapOption;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `unwrap` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 43 - assert_eq!(some.try_unwrap(), Some(4));
[INFO] [stdout] 43 + assert_eq!(some.unwrap(), Some(4));
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `try_unwrap` found for enum `Option<T>` in the current scope
[INFO] [stdout]   --> src/lib.rs:45:17
[INFO] [stdout]    |
[INFO] [stdout] 45 | assert_eq!(none.try_unwrap(), None);
[INFO] [stdout]    |                 ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/lib.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 |     fn try_unwrap(self) -> Option<Self::T>;
[INFO] [stdout]    |        ---------- the method is available for `Option<i32>` here
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `TryUnwrapOption` which provides `try_unwrap` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 39 + use crate::try_unwrap::TryUnwrapOption;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method `unwrap` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 45 - assert_eq!(none.try_unwrap(), None);
[INFO] [stdout] 45 + assert_eq!(none.unwrap(), None);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - Option<T>::try_unwrap (line 40)
[INFO] [stdout]     src/lib.rs - Result<T,E>::try_unwrap (line 14)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "ab7ab73bbcd14224f70adc949eed405a00e57c779cc5588de445b44ac5360f74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ab7ab73bbcd14224f70adc949eed405a00e57c779cc5588de445b44ac5360f74", kill_on_drop: false }`
[INFO] [stdout] ab7ab73bbcd14224f70adc949eed405a00e57c779cc5588de445b44ac5360f74
