[INFO] fetching crate open_launcher 1.5.5... [INFO] testing open_launcher-1.5.5 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate open_launcher 1.5.5 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate open_launcher 1.5.5 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate open_launcher 1.5.5 [INFO] tweaked toml for crates.io crate open_launcher 1.5.5 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate open_launcher 1.5.5 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] crate crates.io crate open_launcher 1.5.5 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zip v1.1.1 [INFO] [stderr] Downloaded deflate64 v0.1.8 [INFO] [stderr] Downloaded async-process v2.2.2 [INFO] [stderr] Downloaded zopfli v0.8.0 [INFO] [stderr] Downloaded async-compression v0.4.9 [INFO] [stderr] Downloaded async_zip v0.0.17 [INFO] [stderr] Downloaded libz-ng-sys v1.1.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] d622826c4d1fe72f0fdd163ccc9f5cc43625ac9cb8f5fe60beaca7c01add43d0 [INFO] running `Command { std: "docker" "start" "-a" "d622826c4d1fe72f0fdd163ccc9f5cc43625ac9cb8f5fe60beaca7c01add43d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d622826c4d1fe72f0fdd163ccc9f5cc43625ac9cb8f5fe60beaca7c01add43d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d622826c4d1fe72f0fdd163ccc9f5cc43625ac9cb8f5fe60beaca7c01add43d0", kill_on_drop: false }` [INFO] [stdout] d622826c4d1fe72f0fdd163ccc9f5cc43625ac9cb8f5fe60beaca7c01add43d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 967d851b70d272529ba4c0f28ba22ae986054d9615463f2b8859fbd75f33cac3 [INFO] running `Command { std: "docker" "start" "-a" "967d851b70d272529ba4c0f28ba22ae986054d9615463f2b8859fbd75f33cac3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling event-listener v5.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling async-lock v3.3.0 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling deflate64 v0.1.8 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling jobserver v0.1.30 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling event-listener-strategy v0.5.1 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling rustls-pki-types v1.4.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling base64 v0.22.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling zopfli v0.8.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling lzma-rs v0.3.0 [INFO] [stderr] Compiling async-channel v2.2.1 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling constant_time_eq v0.3.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling async-task v4.7.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling libz-ng-sys v1.1.15 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling xz2 v0.1.7 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling async-recursion v1.1.0 [INFO] [stderr] Compiling polling v3.7.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling async-io v2.3.2 [INFO] [stderr] Compiling h2 v0.4.4 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling async-signal v0.2.6 [INFO] [stderr] Compiling async-process v2.2.2 [INFO] [stderr] Compiling zstd v0.13.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.4 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling async-compression v0.4.9 [INFO] [stderr] Compiling zip v1.1.1 [INFO] [stderr] Compiling async_zip v0.0.17 [INFO] [stderr] Compiling open_launcher v1.5.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.60s [INFO] running `Command { std: "docker" "inspect" "967d851b70d272529ba4c0f28ba22ae986054d9615463f2b8859fbd75f33cac3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "967d851b70d272529ba4c0f28ba22ae986054d9615463f2b8859fbd75f33cac3", kill_on_drop: false }` [INFO] [stdout] 967d851b70d272529ba4c0f28ba22ae986054d9615463f2b8859fbd75f33cac3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] dd9ba8df173d5cc282651f135d138a0e40805a6e8b46c3a3178c9ff8ab88b762 [INFO] running `Command { std: "docker" "start" "-a" "dd9ba8df173d5cc282651f135d138a0e40805a6e8b46c3a3178c9ff8ab88b762", kill_on_drop: false }` [INFO] [stderr] Compiling open_launcher v1.5.5 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.27s [INFO] running `Command { std: "docker" "inspect" "dd9ba8df173d5cc282651f135d138a0e40805a6e8b46c3a3178c9ff8ab88b762", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd9ba8df173d5cc282651f135d138a0e40805a6e8b46c3a3178c9ff8ab88b762", kill_on_drop: false }` [INFO] [stdout] dd9ba8df173d5cc282651f135d138a0e40805a6e8b46c3a3178c9ff8ab88b762 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] cca3f83c6c8a6b3b4cd248197d80b6173b5fbb9fb06beacf13e59593c05b82bf [INFO] running `Command { std: "docker" "start" "-a" "cca3f83c6c8a6b3b4cd248197d80b6173b5fbb9fb06beacf13e59593c05b82bf", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/open_launcher-345d78f3d131db75) [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 open_launcher [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - Launcher::auth (line 295) ... FAILED [INFO] [stdout] test src/auth.rs - auth::OfflineAuth::new (line 55) ... FAILED [INFO] [stdout] test src/lib.rs - Launcher::jvm_arg (line 272) ... FAILED [INFO] [stdout] test src/lib.rs - Launcher::arg (line 283) ... FAILED [INFO] [stdout] test src/lib.rs - Launcher::auth (line 306) ... FAILED [INFO] [stdout] test src/lib.rs - Launcher::command (line 360) ... FAILED [INFO] [stdout] test src/lib.rs - Launcher::new (line 220) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Launcher::auth (line 295) stdout ---- [INFO] [stdout] error: invalid `struct` delimiters or `fn` call arguments [INFO] [stdout] --> src/lib.rs:296:15 [INFO] [stdout] | [INFO] [stdout] 3 | launcher.auth(auth::Auth::new( [INFO] [stdout] | _______________^ [INFO] [stdout] 4 | | username: "username".to_string(), [INFO] [stdout] 5 | | uuid: "uuid".to_string(), [INFO] [stdout] 6 | | access_token: "access_token".to_string(), [INFO] [stdout] 7 | | user_type: "msa".to_string(), [INFO] [stdout] 8 | | user_properties: "{}".to_string(), [INFO] [stdout] 9 | | )); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: if `auth::Auth::new` is a struct, use braces as delimiters [INFO] [stdout] | [INFO] [stdout] 3 ~ launcher.auth(auth::Auth::new { [INFO] [stdout] 4 | username: "username".to_string(), [INFO] [stdout] ... [INFO] [stdout] 8 | user_properties: "{}".to_string(), [INFO] [stdout] 9 ~ }); [INFO] [stdout] | [INFO] [stdout] help: if `auth::Auth::new` is a function, use the arguments directly [INFO] [stdout] | [INFO] [stdout] 4 ~ "username".to_string(), [INFO] [stdout] 5 ~ "uuid".to_string(), [INFO] [stdout] 6 ~ "access_token".to_string(), [INFO] [stdout] 7 ~ "msa".to_string(), [INFO] [stdout] 8 ~ "{}".to_string(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `launcher` in this scope [INFO] [stdout] --> src/lib.rs:296:1 [INFO] [stdout] | [INFO] [stdout] 3 | launcher.auth(auth::Auth::new( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/auth.rs - auth::OfflineAuth::new (line 55) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OfflineAuth` [INFO] [stdout] --> src/auth.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 3 | let auth = OfflineAuth::new("Player"); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `OfflineAuth` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use open_launcher::auth::OfflineAuth; [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/lib.rs - Launcher::jvm_arg (line 272) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `launcher` in this scope [INFO] [stdout] --> src/lib.rs:273:1 [INFO] [stdout] | [INFO] [stdout] 3 | launcher.jvm_arg("-Xmx2G"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Launcher::arg (line 283) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `launcher` in this scope [INFO] [stdout] --> src/lib.rs:284:1 [INFO] [stdout] | [INFO] [stdout] 3 | launcher.arg("--demo"); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Launcher::auth (line 306) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `launcher` in this scope [INFO] [stdout] --> src/lib.rs:307:1 [INFO] [stdout] | [INFO] [stdout] 3 | launcher.auth(auth::OfflineAuth::new("username")); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `auth` [INFO] [stdout] --> src/lib.rs:307:15 [INFO] [stdout] | [INFO] [stdout] 3 | launcher.auth(auth::OfflineAuth::new("username")); [INFO] [stdout] | ^^^^ use of unresolved module or unlinked crate `auth` [INFO] [stdout] | [INFO] [stdout] help: to make use of source file src/auth.rs, use `mod auth` in this file to declare the module [INFO] [stdout] | [INFO] [stdout] 2 + mod auth; [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use open_launcher::auth::OfflineAuth; [INFO] [stdout] | [INFO] [stdout] help: if you import `OfflineAuth`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 3 - launcher.auth(auth::OfflineAuth::new("username")); [INFO] [stdout] 3 + launcher.auth(OfflineAuth::new("username")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Launcher::command (line 360) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `launcher` in this scope [INFO] [stdout] --> src/lib.rs:361:15 [INFO] [stdout] | [INFO] [stdout] 3 | let command = launcher.command().unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/auth.rs - auth::OfflineAuth::new (line 55) [INFO] [stdout] src/lib.rs - Launcher::arg (line 283) [INFO] [stdout] src/lib.rs - Launcher::auth (line 295) [INFO] [stdout] src/lib.rs - Launcher::auth (line 306) [INFO] [stdout] src/lib.rs - Launcher::command (line 360) [INFO] [stdout] src/lib.rs - Launcher::jvm_arg (line 272) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.71s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "cca3f83c6c8a6b3b4cd248197d80b6173b5fbb9fb06beacf13e59593c05b82bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cca3f83c6c8a6b3b4cd248197d80b6173b5fbb9fb06beacf13e59593c05b82bf", kill_on_drop: false }` [INFO] [stdout] cca3f83c6c8a6b3b4cd248197d80b6173b5fbb9fb06beacf13e59593c05b82bf