[INFO] cloning repository https://github.com/Natoune/open_launcher_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Natoune/open_launcher_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNatoune%2Fopen_launcher_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNatoune%2Fopen_launcher_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10b1a0ed57cdc17a5aafd35c1a002aa19529b6a0 [INFO] testing Natoune/open_launcher_rs against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNatoune%2Fopen_launcher_rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Natoune/open_launcher_rs [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/Natoune/open_launcher_rs [INFO] tweaked toml for git repo https://github.com/Natoune/open_launcher_rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Natoune/open_launcher_rs on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Natoune/open_launcher_rs 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded xz2 v0.1.7 [INFO] [stderr] Downloaded deflate64 v0.1.8 [INFO] [stderr] Downloaded async-signal v0.2.6 [INFO] [stderr] Downloaded async-process v2.2.2 [INFO] [stderr] Downloaded zip v1.1.1 [INFO] [stderr] Downloaded async_zip v0.0.17 [INFO] [stderr] Downloaded zopfli v0.8.0 [INFO] [stderr] Downloaded async-compression v0.4.9 [INFO] [stderr] Downloaded lzma-sys v0.1.20 [INFO] [stderr] Downloaded libz-ng-sys v1.1.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38fe336daaa988b7e966e21c0f9e0127721b432ecf5a96a4f5e71b7736b77986 [INFO] running `Command { std: "docker" "start" "-a" "38fe336daaa988b7e966e21c0f9e0127721b432ecf5a96a4f5e71b7736b77986", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38fe336daaa988b7e966e21c0f9e0127721b432ecf5a96a4f5e71b7736b77986", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38fe336daaa988b7e966e21c0f9e0127721b432ecf5a96a4f5e71b7736b77986", kill_on_drop: false }` [INFO] [stdout] 38fe336daaa988b7e966e21c0f9e0127721b432ecf5a96a4f5e71b7736b77986 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b7c991f481ac625ce0f7a6c315d1de5dddd1894fb9c4f5107b96c56438177df [INFO] running `Command { std: "docker" "start" "-a" "9b7c991f481ac625ce0f7a6c315d1de5dddd1894fb9c4f5107b96c56438177df", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling jobserver v0.1.30 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling cc v1.0.95 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling deflate64 v0.1.8 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling event-listener v5.3.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling async-lock v3.3.0 [INFO] [stderr] Compiling base64 v0.22.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling rustls-pki-types v1.4.1 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling lzma-rs v0.3.0 [INFO] [stderr] Compiling async-channel v2.2.1 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling zopfli v0.8.0 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling async-task v4.7.0 [INFO] [stderr] Compiling constant_time_eq v0.3.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 bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling libz-ng-sys v1.1.15 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling xz2 v0.1.7 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [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 pin-project v1.1.5 [INFO] [stderr] Compiling polling v3.7.0 [INFO] [stderr] Compiling async-io v2.3.2 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling async-signal v0.2.6 [INFO] [stderr] Compiling h2 v0.4.4 [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 flate2 v1.0.28 [INFO] [stderr] Compiling async-compression v0.4.9 [INFO] [stderr] Compiling zip v1.1.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.4 [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 42.85s [INFO] running `Command { std: "docker" "inspect" "9b7c991f481ac625ce0f7a6c315d1de5dddd1894fb9c4f5107b96c56438177df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b7c991f481ac625ce0f7a6c315d1de5dddd1894fb9c4f5107b96c56438177df", kill_on_drop: false }` [INFO] [stdout] 9b7c991f481ac625ce0f7a6c315d1de5dddd1894fb9c4f5107b96c56438177df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5b3dd7347b5dc0a0ab762bae600b81dbcdfc40fe7c4a3f63be977fb21231495 [INFO] running `Command { std: "docker" "start" "-a" "b5b3dd7347b5dc0a0ab762bae600b81dbcdfc40fe7c4a3f63be977fb21231495", 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 2.15s [INFO] running `Command { std: "docker" "inspect" "b5b3dd7347b5dc0a0ab762bae600b81dbcdfc40fe7c4a3f63be977fb21231495", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5b3dd7347b5dc0a0ab762bae600b81dbcdfc40fe7c4a3f63be977fb21231495", kill_on_drop: false }` [INFO] [stdout] b5b3dd7347b5dc0a0ab762bae600b81dbcdfc40fe7c4a3f63be977fb21231495 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 807a3e76d37b8571a788268c55af730c046a552c2f85efdb2963396a6cdc796d [INFO] running `Command { std: "docker" "start" "-a" "807a3e76d37b8571a788268c55af730c046a552c2f85efdb2963396a6cdc796d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/open_launcher-345d78f3d131db75) [INFO] [stderr] Doc-tests open_launcher [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] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/lib.rs - Launcher::arg (line 283) ... FAILED [INFO] [stdout] test src/auth.rs - auth::OfflineAuth::new (line 55) ... FAILED [INFO] [stdout] test src/lib.rs - Launcher::auth (line 295) ... FAILED [INFO] [stdout] test src/lib.rs - Launcher::command (line 360) ... FAILED [INFO] [stdout] test src/lib.rs - Launcher::jvm_arg (line 272) ... FAILED [INFO] [stdout] test src/lib.rs - Launcher::auth (line 306) ... 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::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/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::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/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] ---- 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::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] [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 1.41s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "807a3e76d37b8571a788268c55af730c046a552c2f85efdb2963396a6cdc796d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "807a3e76d37b8571a788268c55af730c046a552c2f85efdb2963396a6cdc796d", kill_on_drop: false }` [INFO] [stdout] 807a3e76d37b8571a788268c55af730c046a552c2f85efdb2963396a6cdc796d