[INFO] fetching crate utapi-rs 0.1.2... [INFO] testing utapi-rs-0.1.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate utapi-rs 0.1.2 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate utapi-rs 0.1.2 [INFO] finished tweaking crates.io crate utapi-rs 0.1.2 [INFO] tweaked toml for crates.io crate utapi-rs 0.1.2 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate utapi-rs 0.1.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--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] Locking 198 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding reqwest v0.11.27 (available: v0.12.23) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d002c43d48863a9391463805d99bcea88bfadd4fdc912bbdc898761475c16ff8 [INFO] running `Command { std: "docker" "start" "-a" "d002c43d48863a9391463805d99bcea88bfadd4fdc912bbdc898761475c16ff8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d002c43d48863a9391463805d99bcea88bfadd4fdc912bbdc898761475c16ff8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d002c43d48863a9391463805d99bcea88bfadd4fdc912bbdc898761475c16ff8", kill_on_drop: false }` [INFO] [stdout] d002c43d48863a9391463805d99bcea88bfadd4fdc912bbdc898761475c16ff8 [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87d2fcfa5f2a4be44f070057d5f83f6cee101067e446fc937a22f592052a72b5 [INFO] running `Command { std: "docker" "start" "-a" "87d2fcfa5f2a4be44f070057d5f83f6cee101067e446fc937a22f592052a72b5", kill_on_drop: false }` [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling filesize v0.2.0 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling utapi-rs v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.45s [INFO] running `Command { std: "docker" "inspect" "87d2fcfa5f2a4be44f070057d5f83f6cee101067e446fc937a22f592052a72b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87d2fcfa5f2a4be44f070057d5f83f6cee101067e446fc937a22f592052a72b5", kill_on_drop: false }` [INFO] [stdout] 87d2fcfa5f2a4be44f070057d5f83f6cee101067e446fc937a22f592052a72b5 [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fdd60b4e8bae11e4d9cbcede7710bf9b709abf8716c646a57accda544c732dc5 [INFO] running `Command { std: "docker" "start" "-a" "fdd60b4e8bae11e4d9cbcede7710bf9b709abf8716c646a57accda544c732dc5", kill_on_drop: false }` [INFO] [stderr] Compiling utapi-rs v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.09s [INFO] running `Command { std: "docker" "inspect" "fdd60b4e8bae11e4d9cbcede7710bf9b709abf8716c646a57accda544c732dc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdd60b4e8bae11e4d9cbcede7710bf9b709abf8716c646a57accda544c732dc5", kill_on_drop: false }` [INFO] [stdout] fdd60b4e8bae11e4d9cbcede7710bf9b709abf8716c646a57accda544c732dc5 [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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bcc2e0b9e2bba92069eb1414e5d31b8fc18fcc963f9223a93bbeaefd11461c9b [INFO] running `Command { std: "docker" "start" "-a" "bcc2e0b9e2bba92069eb1414e5d31b8fc18fcc963f9223a93bbeaefd11461c9b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.25s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/utapi_rs-85c47a8935c82108) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests utapi_rs [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/config.rs - config::ApiKey::fmt (line 137) ... FAILED [INFO] [stdout] test src/config.rs - config::UploadthingConfigBuilder::version (line 316) ... FAILED [INFO] [stdout] test src/config.rs - config::ApiKey::default (line 83) ... FAILED [INFO] [stdout] test src/config.rs - config::UploadthingConfigBuilder::host (line 253) ... FAILED [INFO] [stdout] test src/config.rs - config::ApiKey::from_env (line 56) ... FAILED [INFO] [stdout] test src/config.rs - config::UploadthingConfigBuilder::user_agent (line 269) ... FAILED [INFO] [stdout] test src/config.rs - config::UploadthingConfigBuilder::api_key (line 293) ... FAILED [INFO] [stdout] test src/config.rs - config::UploadthingConfig::builder (line 174) ... FAILED [INFO] [stdout] test src/config.rs - config::UploadthingConfig::default (line 204) ... FAILED [INFO] [stdout] test src/config.rs - config::UploadthingConfigBuilder::build (line 330) ... FAILED [INFO] [stdout] test src/config.rs - config::UploadthingConfig::new (line 158) ... FAILED [INFO] [stdout] test src/config.rs - config::ApiKey::from_str (line 106) ... FAILED [INFO] [stdout] test src/utapi.rs - utapi::UtApi::from_config (line 94) ... FAILED [INFO] [stdout] test src/utapi.rs - utapi::UtApi::new (line 51) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/config.rs - config::ApiKey::fmt (line 137) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ApiKey` in this scope [INFO] [stdout] --> src/config.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 3 | let api_key = ApiKey { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use utapi_rs::config::ApiKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0422`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::UploadthingConfigBuilder::version (line 316) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UploadthingConfigBuilder` [INFO] [stdout] --> src/config.rs:317:15 [INFO] [stdout] | [INFO] [stdout] 3 | let builder = UploadthingConfigBuilder::new().version("2.0.0"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `UploadthingConfigBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use utapi_rs::config::UploadthingConfigBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::ApiKey::default (line 83) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ApiKey` [INFO] [stdout] --> src/config.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 4 | let api_key = ApiKey::default(); [INFO] [stdout] | ^^^^^^ use of undeclared type `ApiKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use utapi_rs::config::ApiKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::UploadthingConfigBuilder::host (line 253) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UploadthingConfigBuilder` [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] --> src/config.rs:254:15 [INFO] [stdout] | [INFO] [stdout] 3 | let builder = UploadthingConfigBuilder::new().host("https://example.com"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `UploadthingConfigBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use utapi_rs::config::UploadthingConfigBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::ApiKey::from_env (line 56) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ApiKey` [INFO] [stdout] --> src/config.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 4 | let api_key = ApiKey::from_env().unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `ApiKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use utapi_rs::config::ApiKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::UploadthingConfigBuilder::user_agent (line 269) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UploadthingConfigBuilder` [INFO] [stdout] --> src/config.rs:270:15 [INFO] [stdout] | [INFO] [stdout] 3 | let builder = UploadthingConfigBuilder::new().user_agent("MyUploader/1.0"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `UploadthingConfigBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use utapi_rs::config::UploadthingConfigBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::UploadthingConfigBuilder::api_key (line 293) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UploadthingConfigBuilder` [INFO] [stdout] --> src/config.rs:294:15 [INFO] [stdout] | [INFO] [stdout] 3 | let builder = UploadthingConfigBuilder::new().api_key("your_api_key"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `UploadthingConfigBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use utapi_rs::config::UploadthingConfigBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::UploadthingConfig::builder (line 174) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UploadthingConfig` [INFO] [stdout] --> src/config.rs:175:15 [INFO] [stdout] | [INFO] [stdout] 3 | let builder = UploadthingConfig::builder(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `UploadthingConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use utapi_rs::config::UploadthingConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::UploadthingConfig::default (line 204) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UploadthingConfig` [INFO] [stdout] --> src/config.rs:205:22 [INFO] [stdout] | [INFO] [stdout] 3 | let default_config = UploadthingConfig::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `UploadthingConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use utapi_rs::config::UploadthingConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::UploadthingConfigBuilder::build (line 330) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UploadthingConfigBuilder` [INFO] [stdout] --> src/config.rs:331:14 [INFO] [stdout] | [INFO] [stdout] 3 | let config = UploadthingConfigBuilder::new() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `UploadthingConfigBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use utapi_rs::config::UploadthingConfigBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::UploadthingConfig::new (line 158) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UploadthingConfig` [INFO] [stdout] --> src/config.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 3 | let config = UploadthingConfig::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `UploadthingConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use utapi_rs::config::UploadthingConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/config.rs - config::ApiKey::from_str (line 106) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `ApiKey` in this scope [INFO] [stdout] --> src/config.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 3 | let api_key: ApiKey = "Bearer:secret123".parse().unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use utapi_rs::config::ApiKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ApiKey` in this scope [INFO] [stdout] --> src/config.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 7 | let api_key: ApiKey = "secret123".parse().unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use utapi_rs::config::ApiKey; [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 E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utapi.rs - utapi::UtApi::from_config (line 94) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UploadthingConfig` [INFO] [stdout] --> src/utapi.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 3 | let config = UploadthingConfig::builder().api_key("your_api_key").build(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `UploadthingConfig` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use utapi_rs::config::UploadthingConfig; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UtApi` [INFO] [stdout] --> src/utapi.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 4 | let api = UtApi::from_config(config); [INFO] [stdout] | ^^^^^ use of undeclared type `UtApi` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use utapi_rs::UtApi; [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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/utapi.rs - utapi::UtApi::new (line 51) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UtApi` [INFO] [stdout] --> src/utapi.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 4 | let api_with_key = UtApi::new(Some("your_api_key".to_string())); [INFO] [stdout] | ^^^^^ use of undeclared type `UtApi` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use utapi_rs::UtApi; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UtApi` [INFO] [stdout] --> src/utapi.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 7 | let api_with_env_key = UtApi::new(None); [INFO] [stdout] | ^^^^^ use of undeclared type `UtApi` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use utapi_rs::UtApi; [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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/config.rs - config::ApiKey::default (line 83) [INFO] [stdout] src/config.rs - config::ApiKey::fmt (line 137) [INFO] [stdout] src/config.rs - config::ApiKey::from_env (line 56) [INFO] [stdout] src/config.rs - config::ApiKey::from_str (line 106) [INFO] [stdout] src/config.rs - config::UploadthingConfig::builder (line 174) [INFO] [stdout] src/config.rs - config::UploadthingConfig::default (line 204) [INFO] [stdout] src/config.rs - config::UploadthingConfig::new (line 158) [INFO] [stdout] src/config.rs - config::UploadthingConfigBuilder::api_key (line 293) [INFO] [stdout] src/config.rs - config::UploadthingConfigBuilder::build (line 330) [INFO] [stdout] src/config.rs - config::UploadthingConfigBuilder::host (line 253) [INFO] [stdout] src/config.rs - config::UploadthingConfigBuilder::user_agent (line 269) [INFO] [stdout] src/config.rs - config::UploadthingConfigBuilder::version (line 316) [INFO] [stdout] src/utapi.rs - utapi::UtApi::from_config (line 94) [INFO] [stdout] src/utapi.rs - utapi::UtApi::new (line 51) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 14 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.52s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bcc2e0b9e2bba92069eb1414e5d31b8fc18fcc963f9223a93bbeaefd11461c9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcc2e0b9e2bba92069eb1414e5d31b8fc18fcc963f9223a93bbeaefd11461c9b", kill_on_drop: false }` [INFO] [stdout] bcc2e0b9e2bba92069eb1414e5d31b8fc18fcc963f9223a93bbeaefd11461c9b