[INFO] fetching crate try_wrap_ok 0.1.1... [INFO] testing try_wrap_ok-0.1.1 against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] extracting crate try_wrap_ok 0.1.1 into /workspace/builds/worker-74/source [INFO] validating manifest of crates.io crate try_wrap_ok 0.1.1 on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate try_wrap_ok 0.1.1 [INFO] finished tweaking crates.io crate try_wrap_ok 0.1.1 [INFO] tweaked toml for crates.io crate try_wrap_ok 0.1.1 written to /workspace/builds/worker-74/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 033a29478e9b596c38939833d12e84f79b90ae0409a5a0ce239314578d6e8fe5 [INFO] running `Command { std: "docker" "start" "-a" "033a29478e9b596c38939833d12e84f79b90ae0409a5a0ce239314578d6e8fe5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "033a29478e9b596c38939833d12e84f79b90ae0409a5a0ce239314578d6e8fe5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "033a29478e9b596c38939833d12e84f79b90ae0409a5a0ce239314578d6e8fe5", kill_on_drop: false }` [INFO] [stdout] 033a29478e9b596c38939833d12e84f79b90ae0409a5a0ce239314578d6e8fe5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f539ce7b416ef1075999905be67f88630a1c1e2a47834186283411049f55442b [INFO] running `Command { std: "docker" "start" "-a" "f539ce7b416ef1075999905be67f88630a1c1e2a47834186283411049f55442b", kill_on_drop: false }` [INFO] [stderr] Compiling try_wrap_ok v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "f539ce7b416ef1075999905be67f88630a1c1e2a47834186283411049f55442b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f539ce7b416ef1075999905be67f88630a1c1e2a47834186283411049f55442b", kill_on_drop: false }` [INFO] [stdout] f539ce7b416ef1075999905be67f88630a1c1e2a47834186283411049f55442b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a3733889fadcaa240ac2d281a4f13ff6cdbe0be597fde1407f46e3e8c5bd0ea4 [INFO] running `Command { std: "docker" "start" "-a" "a3733889fadcaa240ac2d281a4f13ff6cdbe0be597fde1407f46e3e8c5bd0ea4", kill_on_drop: false }` [INFO] [stderr] Compiling try_wrap_ok v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.36s [INFO] running `Command { std: "docker" "inspect" "a3733889fadcaa240ac2d281a4f13ff6cdbe0be597fde1407f46e3e8c5bd0ea4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3733889fadcaa240ac2d281a4f13ff6cdbe0be597fde1407f46e3e8c5bd0ea4", kill_on_drop: false }` [INFO] [stdout] a3733889fadcaa240ac2d281a4f13ff6cdbe0be597fde1407f46e3e8c5bd0ea4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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" "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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8af052200a595e716c89a706d2c18f88adff4593fe19685d6fd224debdb42477 [INFO] running `Command { std: "docker" "start" "-a" "8af052200a595e716c89a706d2c18f88adff4593fe19685d6fd224debdb42477", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/try_wrap_ok-4ce7279228dce986) [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 try_wrap_ok [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 9) ... FAILED [INFO] [stdout] test src/lib.rs - try_wrap_ok (line 22) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 9) stdout ---- [INFO] [stdout] error: free function without a body [INFO] [stdout] --> src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 9 | fn validate_input_with_database(input: Input) -> Result, DatabaseError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `try_wrap_ok` in this scope [INFO] [stdout] --> src/lib.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 5 | let validated_input: ValidatedInput = try_wrap_ok!(validate_input_with_database(input)?); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] try_wrap_ok::try_wrap_ok [INFO] [stdout] note: `try_wrap_ok` is imported here, but it is a crate, not a macro [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate r#try_wrap_ok; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Input` in this scope [INFO] [stdout] --> src/lib.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 4 | fn foo(input: Input) -> Result, DatabaseError> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FinalOutput` in this scope [INFO] [stdout] --> src/lib.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 4 | fn foo(input: Input) -> Result, DatabaseError> { [INFO] [stdout] | - ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InvalidInputError` in this scope [INFO] [stdout] --> src/lib.rs:10:52 [INFO] [stdout] | [INFO] [stdout] 4 | fn foo(input: Input) -> Result, DatabaseError> { [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DatabaseError` in this scope [INFO] [stdout] --> src/lib.rs:10:72 [INFO] [stdout] | [INFO] [stdout] 4 | fn foo(input: Input) -> Result, DatabaseError> { [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ValidatedInput` in this scope [INFO] [stdout] --> src/lib.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 5 | let validated_input: ValidatedInput = try_wrap_ok!(validate_input_with_database(input)?); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `do_stuff_with_validated_input` in this scope [INFO] [stdout] --> src/lib.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 6 | Ok(Ok(do_stuff_with_validated_input(validated_input)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Input` in this scope [INFO] [stdout] --> src/lib.rs:15:40 [INFO] [stdout] | [INFO] [stdout] 9 | fn validate_input_with_database(input: Input) -> Result, DatabaseError>; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ValidatedInput` in this scope [INFO] [stdout] --> src/lib.rs:15:64 [INFO] [stdout] | [INFO] [stdout] 9 | fn validate_input_with_database(input: Input) -> Result, DatabaseError>; [INFO] [stdout] | - ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InvalidInputError` in this scope [INFO] [stdout] --> src/lib.rs:15:80 [INFO] [stdout] | [INFO] [stdout] 9 | fn validate_input_with_database(input: Input) -> Result, DatabaseError>; [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DatabaseError` in this scope [INFO] [stdout] --> src/lib.rs:15:100 [INFO] [stdout] | [INFO] [stdout] 9 | fn validate_input_with_database(input: Input) -> Result, DatabaseError>; [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - try_wrap_ok (line 22) stdout ---- [INFO] [stdout] error: free function without a body [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 9 | fn validate_input_with_database(input: Input) -> Result, DatabaseError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: cannot find macro `try_wrap_ok` in this scope [INFO] [stdout] --> src/lib.rs:24:43 [INFO] [stdout] | [INFO] [stdout] 5 | let validated_input: ValidatedInput = try_wrap_ok!(validate_input_with_database(input)?); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing this macro: [INFO] [stdout] try_wrap_ok::try_wrap_ok [INFO] [stdout] note: `try_wrap_ok` is imported here, but it is a crate, not a macro [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate r#try_wrap_ok; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Input` in this scope [INFO] [stdout] --> src/lib.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 4 | fn foo(input: Input) -> Result, DatabaseError> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `FinalOutput` in this scope [INFO] [stdout] --> src/lib.rs:23:39 [INFO] [stdout] | [INFO] [stdout] 4 | fn foo(input: Input) -> Result, DatabaseError> { [INFO] [stdout] | - ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InvalidInputError` in this scope [INFO] [stdout] --> src/lib.rs:23:52 [INFO] [stdout] | [INFO] [stdout] 4 | fn foo(input: Input) -> Result, DatabaseError> { [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DatabaseError` in this scope [INFO] [stdout] --> src/lib.rs:23:72 [INFO] [stdout] | [INFO] [stdout] 4 | fn foo(input: Input) -> Result, DatabaseError> { [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ValidatedInput` in this scope [INFO] [stdout] --> src/lib.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 5 | let validated_input: ValidatedInput = try_wrap_ok!(validate_input_with_database(input)?); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `do_stuff_with_validated_input` in this scope [INFO] [stdout] --> src/lib.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 6 | Ok(Ok(do_stuff_with_validated_input(validated_input)?)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Input` in this scope [INFO] [stdout] --> src/lib.rs:28:40 [INFO] [stdout] | [INFO] [stdout] 9 | fn validate_input_with_database(input: Input) -> Result, DatabaseError>; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ValidatedInput` in this scope [INFO] [stdout] --> src/lib.rs:28:64 [INFO] [stdout] | [INFO] [stdout] 9 | fn validate_input_with_database(input: Input) -> Result, DatabaseError>; [INFO] [stdout] | - ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InvalidInputError` in this scope [INFO] [stdout] --> src/lib.rs:28:80 [INFO] [stdout] | [INFO] [stdout] 9 | fn validate_input_with_database(input: Input) -> Result, DatabaseError>; [INFO] [stdout] | - ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DatabaseError` in this scope [INFO] [stdout] --> src/lib.rs:28:100 [INFO] [stdout] | [INFO] [stdout] 9 | fn validate_input_with_database(input: Input) -> Result, DatabaseError>; [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 9) [INFO] [stdout] src/lib.rs - try_wrap_ok (line 22) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "8af052200a595e716c89a706d2c18f88adff4593fe19685d6fd224debdb42477", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8af052200a595e716c89a706d2c18f88adff4593fe19685d6fd224debdb42477", kill_on_drop: false }` [INFO] [stdout] 8af052200a595e716c89a706d2c18f88adff4593fe19685d6fd224debdb42477