[INFO] fetching crate gamesense 0.1.2... [INFO] testing gamesense-0.1.2 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate gamesense 0.1.2 into /workspace/builds/worker-107/source [INFO] validating manifest of crates.io crate gamesense 0.1.2 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate gamesense 0.1.2 [INFO] finished tweaking crates.io crate gamesense 0.1.2 [INFO] tweaked toml for crates.io crate gamesense 0.1.2 written to /workspace/builds/worker-107/source/Cargo.toml [INFO] crate crates.io crate gamesense 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_repr v0.1.6 [INFO] [stderr] Downloaded futures-core v0.3.13 [INFO] [stderr] Downloaded futures-util v0.3.13 [INFO] [stderr] Downloaded futures-channel v0.3.13 [INFO] [stderr] Downloaded pin-project-internal v1.0.6 [INFO] [stderr] Downloaded http v0.2.3 [INFO] [stderr] Downloaded futures-sink v0.3.13 [INFO] [stderr] Downloaded ipnet v2.3.0 [INFO] [stderr] Downloaded vcpkg v0.2.11 [INFO] [stderr] Downloaded futures-task v0.3.13 [INFO] [stderr] Downloaded futures-io v0.3.13 [INFO] [stderr] Downloaded openssl-sys v0.9.61 [INFO] [stderr] Downloaded openssl v0.10.33 [INFO] [stderr] Downloaded idna v0.2.2 [INFO] [stderr] Downloaded reqwest v0.11.2 [INFO] [stderr] Downloaded security-framework-sys v2.2.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.23 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.73 [INFO] [stderr] Downloaded url v2.2.1 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.73 [INFO] [stderr] Downloaded js-sys v0.3.50 [INFO] [stderr] Downloaded serde_derive v1.0.125 [INFO] [stderr] Downloaded pin-project v1.0.6 [INFO] [stderr] Downloaded tokio-util v0.6.5 [INFO] [stderr] Downloaded syn v1.0.68 [INFO] [stderr] Downloaded tinyvec v1.1.1 [INFO] [stderr] Downloaded httparse v1.3.5 [INFO] [stderr] Downloaded h2 v0.3.2 [INFO] [stderr] Downloaded security-framework v2.2.0 [INFO] [stderr] Downloaded libc v0.2.92 [INFO] [stderr] Downloaded tokio v1.4.0 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.73 [INFO] [stderr] Downloaded wasm-bindgen v0.2.73 [INFO] [stderr] Downloaded web-sys v0.3.50 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.73 [INFO] [stderr] Downloaded hyper v0.14.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9356eab31a89044448a0b383fd65c49e3250c3d07cd25e0dccfeeafe853d4888 [INFO] running `Command { std: "docker" "start" "-a" "9356eab31a89044448a0b383fd65c49e3250c3d07cd25e0dccfeeafe853d4888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9356eab31a89044448a0b383fd65c49e3250c3d07cd25e0dccfeeafe853d4888", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9356eab31a89044448a0b383fd65c49e3250c3d07cd25e0dccfeeafe853d4888", kill_on_drop: false }` [INFO] [stdout] 9356eab31a89044448a0b383fd65c49e3250c3d07cd25e0dccfeeafe853d4888 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 966514fd9e0dfba533d449dec3241efea6d71f7f21f45d69744f2dafef127a61 [INFO] running `Command { std: "docker" "start" "-a" "966514fd9e0dfba533d449dec3241efea6d71f7f21f45d69744f2dafef127a61", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling http-body v0.4.1 [INFO] [stderr] Compiling tokio-util v0.6.5 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.2 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling serde_repr v0.1.6 [INFO] [stderr] Compiling pin-project v1.0.6 [INFO] [stderr] Compiling hyper v0.14.5 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling reqwest v0.11.2 [INFO] [stderr] Compiling gamesense v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.48s [INFO] running `Command { std: "docker" "inspect" "966514fd9e0dfba533d449dec3241efea6d71f7f21f45d69744f2dafef127a61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "966514fd9e0dfba533d449dec3241efea6d71f7f21f45d69744f2dafef127a61", kill_on_drop: false }` [INFO] [stdout] 966514fd9e0dfba533d449dec3241efea6d71f7f21f45d69744f2dafef127a61 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a36389d9f06fd30d6a2d8a3ea93bc0609b2bcdb227863959551e9ca3a397445f [INFO] running `Command { std: "docker" "start" "-a" "a36389d9f06fd30d6a2d8a3ea93bc0609b2bcdb227863959551e9ca3a397445f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling gamesense v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.01s [INFO] running `Command { std: "docker" "inspect" "a36389d9f06fd30d6a2d8a3ea93bc0609b2bcdb227863959551e9ca3a397445f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a36389d9f06fd30d6a2d8a3ea93bc0609b2bcdb227863959551e9ca3a397445f", kill_on_drop: false }` [INFO] [stdout] a36389d9f06fd30d6a2d8a3ea93bc0609b2bcdb227863959551e9ca3a397445f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-107/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b68947d79484a3b96cc0e179d7f5a129cbeb6ae6787288e97c2a5b505d144ab1 [INFO] running `Command { std: "docker" "start" "-a" "b68947d79484a3b96cc0e179d7f5a129cbeb6ae6787288e97c2a5b505d144ab1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.79s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gamesense-98a28443fda09e56) [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 gamesense [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 12) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GameSenseClient` [INFO] [stdout] --> src/lib.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut client = GameSenseClient::new("GAME_ID", "Game Display Name", "Author", None)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use gamesense::client::GameSenseClient; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:13:86 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_12_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 3 | | let mut client = GameSenseClient::new("GAME_ID", "Game Display Name", "Author", None)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 4 | | } _doctest_main_src_lib_rs_12_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 12) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.34s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "b68947d79484a3b96cc0e179d7f5a129cbeb6ae6787288e97c2a5b505d144ab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b68947d79484a3b96cc0e179d7f5a129cbeb6ae6787288e97c2a5b505d144ab1", kill_on_drop: false }` [INFO] [stdout] b68947d79484a3b96cc0e179d7f5a129cbeb6ae6787288e97c2a5b505d144ab1