[INFO] fetching crate explicit-error 0.2.3... [INFO] checking explicit-error-0.2.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate explicit-error 0.2.3 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate explicit-error 0.2.3 [INFO] finished tweaking crates.io crate explicit-error 0.2.3 [INFO] tweaked toml for crates.io crate explicit-error 0.2.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate explicit-error 0.2.3 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate explicit-error 0.2.3 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded http-serde v2.1.1 [INFO] [stderr] Downloaded sqlx-macros v0.8.5 [INFO] [stderr] Downloaded problem_details v0.8.0 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.5 [INFO] [stderr] Downloaded base64ct v1.7.3 [INFO] [stderr] Downloaded icu_properties v2.0.0 [INFO] [stderr] Downloaded sqlx-mysql v0.8.5 [INFO] [stderr] Downloaded zerocopy-derive v0.8.25 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.5 [INFO] [stderr] Downloaded hashbrown v0.15.3 [INFO] [stderr] Downloaded sqlx-core v0.8.5 [INFO] [stderr] Downloaded sqlx-postgres v0.8.5 [INFO] [stderr] Downloaded icu_properties_data v2.0.0 [INFO] [stderr] Downloaded sqlx v0.8.5 [INFO] [stderr] Downloaded syn v2.0.101 [INFO] [stderr] Downloaded zerocopy v0.8.25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab754e2dddb1bf9565ab460ba89bef46641523a002c6a3cb9047beb524004cd5 [INFO] running `Command { std: "docker" "start" "-a" "ab754e2dddb1bf9565ab460ba89bef46641523a002c6a3cb9047beb524004cd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab754e2dddb1bf9565ab460ba89bef46641523a002c6a3cb9047beb524004cd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab754e2dddb1bf9565ab460ba89bef46641523a002c6a3cb9047beb524004cd5", kill_on_drop: false }` [INFO] [stdout] ab754e2dddb1bf9565ab460ba89bef46641523a002c6a3cb9047beb524004cd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fa18b33384d870e8ac6004a0e253531d645451f93a11ff45c7a2d87f8bfa003 [INFO] running `Command { std: "docker" "start" "-a" "2fa18b33384d870e8ac6004a0e253531d645451f93a11ff45c7a2d87f8bfa003", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking http-serde v2.1.1 [INFO] [stderr] Checking explicit-error v0.2.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking sqlx-core v0.8.5 [INFO] [stderr] Checking problem_details v0.8.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.5 [INFO] [stderr] Compiling sqlx-macros v0.8.5 [INFO] [stderr] Checking sqlx v0.8.5 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `explicit_error_exit` [INFO] [stdout] --> src/error/test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use explicit_error_exit::{prelude::*, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `explicit_error_exit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `explicit_error_exit`, use `cargo add explicit_error_exit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `explicit_error_exit` [INFO] [stdout] --> src/error/test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use explicit_error_exit::{prelude::*, *}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `explicit_error_exit` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `explicit_error_exit`, use `cargo add explicit_error_exit` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_err_or_fault` found for enum `Result` in the current scope [INFO] [stdout] --> src/error/test.rs:220:23 [INFO] [stdout] | [INFO] [stdout] 220 | assert_eq!(Ok(()).map_err_or_fault(closure).unwrap(), ()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/error.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 258 | fn map_err_or_fault(self, op: F) -> Result> [INFO] [stdout] | ---------------- the method is available for `Result<(), _>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `or_fault` with a similar name, but with different arguments [INFO] [stdout] --> src/error.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | / fn or_fault(self) -> Result [INFO] [stdout] 293 | | where [INFO] [stdout] 294 | | S: StdError + 'static + Send + Sync; [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] help: trait `ResultFault` which provides `map_err_or_fault` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::error::ResultFault; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_err_or_fault` found for enum `Result` in the current scope [INFO] [stdout] --> src/error/test.rs:224:14 [INFO] [stdout] | [INFO] [stdout] 223 | / Err::<(), _>(MyError::default()) [INFO] [stdout] 224 | | .map_err_or_fault(closure) [INFO] [stdout] | |_____________-^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/error.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 258 | fn map_err_or_fault(self, op: F) -> Result> [INFO] [stdout] | ---------------- the method is available for `Result<(), MyError>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `or_fault` with a similar name, but with different arguments [INFO] [stdout] --> src/error.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | / fn or_fault(self) -> Result [INFO] [stdout] 293 | | where [INFO] [stdout] 294 | | S: StdError + 'static + Send + Sync; [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] help: trait `ResultFault` which provides `map_err_or_fault` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::error::ResultFault; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_err_or_fault` found for enum `Result` in the current scope [INFO] [stdout] --> src/error/test.rs:231:14 [INFO] [stdout] | [INFO] [stdout] 230 | / Err::<(), _>(MyError(false)) [INFO] [stdout] 231 | | .map_err_or_fault(closure) [INFO] [stdout] | |_____________-^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/error.rs:258:8 [INFO] [stdout] | [INFO] [stdout] 258 | fn map_err_or_fault(self, op: F) -> Result> [INFO] [stdout] | ---------------- the method is available for `Result<(), MyError>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `or_fault` with a similar name, but with different arguments [INFO] [stdout] --> src/error.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | / fn or_fault(self) -> Result [INFO] [stdout] 293 | | where [INFO] [stdout] 294 | | S: StdError + 'static + Send + Sync; [INFO] [stdout] | |____________________________________________^ [INFO] [stdout] help: trait `ResultFault` which provides `map_err_or_fault` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::error::ResultFault; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `or_fault_no_source` found for enum `Result` in the current scope [INFO] [stdout] --> src/error/test.rs:241:14 [INFO] [stdout] | [INFO] [stdout] 240 | / Err::<(), _>(()) [INFO] [stdout] 241 | | .or_fault_no_source() [INFO] [stdout] | |_____________-^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/error.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 278 | fn or_fault_no_source(self) -> Result; [INFO] [stdout] | ------------------ the method is available for `Result<(), ()>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ResultFault` which provides `or_fault_no_source` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::error::ResultFault; [INFO] [stdout] | [INFO] [stdout] help: there is a method `or_fault_no_source_force` with a similar name [INFO] [stdout] | [INFO] [stdout] 241 | .or_fault_no_source_force() [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `or_fault_no_source` found for enum `Result` in the current scope [INFO] [stdout] --> src/error/test.rs:246:29 [INFO] [stdout] | [INFO] [stdout] 246 | assert!(Ok::<_, ()>(()).or_fault_no_source().is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/error.rs:278:8 [INFO] [stdout] | [INFO] [stdout] 278 | fn or_fault_no_source(self) -> Result; [INFO] [stdout] | ------------------ the method is available for `Result<(), ()>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ResultFault` which provides `or_fault_no_source` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::error::ResultFault; [INFO] [stdout] | [INFO] [stdout] help: there is a method `or_fault_no_source_force` with a similar name [INFO] [stdout] | [INFO] [stdout] 246 | assert!(Ok::<_, ()>(()).or_fault_no_source_force().is_ok()); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `or_fault` found for enum `Result` in the current scope [INFO] [stdout] --> src/error/test.rs:251:50 [INFO] [stdout] | [INFO] [stdout] 251 | let fault = Err::<(), _>(MyError::default()).or_fault().unwrap_err(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/error.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | fn or_fault(self) -> Result [INFO] [stdout] | -------- the method is available for `Result<(), MyError>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ResultFault` which provides `or_fault` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::error::ResultFault; [INFO] [stdout] | [INFO] [stdout] help: there is a method `or_fault_force` with a similar name [INFO] [stdout] | [INFO] [stdout] 251 | let fault = Err::<(), _>(MyError::default()).or_fault_force().unwrap_err(); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `or_fault` found for enum `Result` in the current scope [INFO] [stdout] --> src/error/test.rs:258:34 [INFO] [stdout] | [INFO] [stdout] 258 | assert!(Ok::<_, MyError>(()).or_fault().is_ok()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/error.rs:292:8 [INFO] [stdout] | [INFO] [stdout] 292 | fn or_fault(self) -> Result [INFO] [stdout] | -------- the method is available for `Result<(), MyError>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ResultFault` which provides `or_fault` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::error::ResultFault; [INFO] [stdout] | [INFO] [stdout] help: there is a method `or_fault_force` with a similar name [INFO] [stdout] | [INFO] [stdout] 258 | assert!(Ok::<_, MyError>(()).or_fault_force().is_ok()); [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `or_fault_no_source_force` found for enum `Result` in the current scope [INFO] [stdout] --> src/error/test.rs:265:14 [INFO] [stdout] | [INFO] [stdout] 264 | / Err::<(), _>(()) [INFO] [stdout] 265 | | .or_fault_no_source_force() [INFO] [stdout] | |_____________-^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/error.rs:307:8 [INFO] [stdout] | [INFO] [stdout] 307 | fn or_fault_no_source_force(self) -> Result; [INFO] [stdout] | ------------------------ the method is available for `Result<(), ()>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ResultFault` which provides `or_fault_no_source_force` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::error::ResultFault; [INFO] [stdout] | [INFO] [stdout] help: there is a method `or_fault_no_source` with a similar name [INFO] [stdout] | [INFO] [stdout] 265 - .or_fault_no_source_force() [INFO] [stdout] 265 + .or_fault_no_source() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `or_fault_no_source_force` found for enum `Result` in the current scope [INFO] [stdout] --> src/error/test.rs:270:29 [INFO] [stdout] | [INFO] [stdout] 270 | assert!(Ok::<_, ()>(()).or_fault_no_source_force().is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/error.rs:307:8 [INFO] [stdout] | [INFO] [stdout] 307 | fn or_fault_no_source_force(self) -> Result; [INFO] [stdout] | ------------------------ the method is available for `Result<(), ()>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ResultFault` which provides `or_fault_no_source_force` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::error::ResultFault; [INFO] [stdout] | [INFO] [stdout] help: there is a method `or_fault_no_source` with a similar name [INFO] [stdout] | [INFO] [stdout] 270 - assert!(Ok::<_, ()>(()).or_fault_no_source_force().is_ok()); [INFO] [stdout] 270 + assert!(Ok::<_, ()>(()).or_fault_no_source().is_ok()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `or_fault_force` found for enum `Result` in the current scope [INFO] [stdout] --> src/error/test.rs:276:10 [INFO] [stdout] | [INFO] [stdout] 275 | let fault = Err::<(), _>(MyError::default()) [INFO] [stdout] | _________________- [INFO] [stdout] 276 | | .or_fault_force() [INFO] [stdout] | |_________-^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/error.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 321 | fn or_fault_force(self) -> Result [INFO] [stdout] | -------------- the method is available for `Result<(), MyError>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ResultFault` which provides `or_fault_force` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::error::ResultFault; [INFO] [stdout] | [INFO] [stdout] help: there is a method `or_fault` with a similar name [INFO] [stdout] | [INFO] [stdout] 276 - .or_fault_force() [INFO] [stdout] 276 + .or_fault() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `or_fault_force` found for enum `Result` in the current scope [INFO] [stdout] --> src/error/test.rs:284:34 [INFO] [stdout] | [INFO] [stdout] 284 | assert!(Ok::<_, MyError>(()).or_fault_force().is_ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/error.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 321 | fn or_fault_force(self) -> Result [INFO] [stdout] | -------------- the method is available for `Result<(), MyError>` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `ResultFault` which provides `or_fault_force` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 1 + use crate::error::ResultFault; [INFO] [stdout] | [INFO] [stdout] help: there is a method `or_fault` with a similar name [INFO] [stdout] | [INFO] [stdout] 284 - assert!(Ok::<_, MyError>(()).or_fault_force().is_ok()); [INFO] [stdout] 284 + assert!(Ok::<_, MyError>(()).or_fault().is_ok()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `explicit-error` (lib test) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "2fa18b33384d870e8ac6004a0e253531d645451f93a11ff45c7a2d87f8bfa003", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fa18b33384d870e8ac6004a0e253531d645451f93a11ff45c7a2d87f8bfa003", kill_on_drop: false }` [INFO] [stdout] 2fa18b33384d870e8ac6004a0e253531d645451f93a11ff45c7a2d87f8bfa003