[INFO] crate etternaonline_api 0.1.0 is already in cache [INFO] testing etternaonline_api-0.1.0 against 1.45.2 for beta-1.46-1 [INFO] extracting crate etternaonline_api 0.1.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate etternaonline_api 0.1.0 on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate etternaonline_api 0.1.0 [INFO] finished tweaking crates.io crate etternaonline_api 0.1.0 [INFO] tweaked toml for crates.io crate etternaonline_api 0.1.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a6c4955d79851a9471f583e54544334a7533a2f57837aa3174d15749b57ab20 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2a6c4955d79851a9471f583e54544334a7533a2f57837aa3174d15749b57ab20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a6c4955d79851a9471f583e54544334a7533a2f57837aa3174d15749b57ab20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a6c4955d79851a9471f583e54544334a7533a2f57837aa3174d15749b57ab20", kill_on_drop: false }` [INFO] [stdout] 2a6c4955d79851a9471f583e54544334a7533a2f57837aa3174d15749b57ab20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c473b2755efa244f36847389257a3b7416008a0ceebbd63043cafd079766e71f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c473b2755efa244f36847389257a3b7416008a0ceebbd63043cafd079766e71f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.37 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling chunked_transfer v1.2.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling qstring v0.7.2 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling webpki-roots v0.19.0 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling cookie v0.13.3 [INFO] [stderr] Compiling ureq v1.3.0 [INFO] [stderr] Compiling etternaonline_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 50.48s [INFO] running `Command { std: "docker" "inspect" "c473b2755efa244f36847389257a3b7416008a0ceebbd63043cafd079766e71f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c473b2755efa244f36847389257a3b7416008a0ceebbd63043cafd079766e71f", kill_on_drop: false }` [INFO] [stdout] c473b2755efa244f36847389257a3b7416008a0ceebbd63043cafd079766e71f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 140c1f9ec4df48a6ca4b5e0c56b11cfbea7c6bfa7b4e76c6c66562713511cfc8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "140c1f9ec4df48a6ca4b5e0c56b11cfbea7c6bfa7b4e76c6c66562713511cfc8", kill_on_drop: false }` [INFO] [stderr] Compiling etternaonline_api v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.33s [INFO] running `Command { std: "docker" "inspect" "140c1f9ec4df48a6ca4b5e0c56b11cfbea7c6bfa7b4e76c6c66562713511cfc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "140c1f9ec4df48a6ca4b5e0c56b11cfbea7c6bfa7b4e76c6c66562713511cfc8", kill_on_drop: false }` [INFO] [stdout] 140c1f9ec4df48a6ca4b5e0c56b11cfbea7c6bfa7b4e76c6c66562713511cfc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4393bf7dd51c542078cc5e71ec3b7e23883bd2f8b9553bad246397b49fbb28d7 [INFO] running `Command { std: "docker" "start" "-a" "4393bf7dd51c542078cc5e71ec3b7e23883bd2f8b9553bad246397b49fbb28d7", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/etternaonline_api-233d8905e71c7d09 [INFO] [stdout] [INFO] [stderr] Doc-tests etternaonline_api [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test src/lib.rs - Session::user_favorites (line 686) ... FAILED [INFO] [stdout] test src/lib.rs - Session::new_from_login (line 222) ... FAILED [INFO] [stdout] test src/lib.rs - Session (line 181) ... FAILED [INFO] [stdout] test src/lib.rs - Session::user_top_10_scores (line 457) ... FAILED [INFO] [stdout] test src/lib.rs - Session::score_data (line 570) ... FAILED [INFO] [stdout] test src/lib.rs - Session::add_user_favorite (line 707) ... FAILED [INFO] [stdout] test src/lib.rs - Session::country_leaderboard (line 641) ... FAILED [INFO] [stdout] test src/lib.rs - Session::update_user_goal (line 847) ... FAILED [INFO] [stdout] test src/lib.rs - Session::remove_user_favorite (line 724) ... FAILED [INFO] [stdout] test src/lib.rs - Session::remove_user_goal (line 815) ... FAILED [INFO] [stdout] test src/lib.rs - Session::user_details (line 384) ... FAILED [INFO] [stdout] test src/lib.rs - Session::add_user_goal (line 778) ... FAILED [INFO] [stdout] test src/lib.rs - Session::user_goals (line 745) ... FAILED [INFO] [stdout] test src/lib.rs - Session::chart_leaderboard (line 603) ... FAILED [INFO] [stdout] test src/lib.rs - Session::user_ranks_per_skillset (line 499) ... FAILED [INFO] [stdout] test src/lib.rs - Session::user_latest_scores (line 471) ... FAILED [INFO] [stdout] test src/lib.rs - Session::user_top_scores_per_skillset (line 526) ... FAILED [INFO] [stdout] test src/lib.rs - Session::world_leaderboard (line 667) ... FAILED [INFO] [stdout] test src/lib.rs - Session::user_top_skillset_scores (line 435) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Session::user_favorites (line 686) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `session` in this scope [INFO] [stdout] --> src/lib.rs:687:17 [INFO] [stdout] | [INFO] [stdout] 3 | let favorites = session.user_favorites("kangalioo"); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 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 - Session::new_from_login (line 222) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Session` [INFO] [stdout] --> src/lib.rs:223:19 [INFO] [stdout] | [INFO] [stdout] 3 | let mut session = Session::new_from_login( [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Session` [INFO] [stdout] [INFO] [stdout] error: aborting due to 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 - Session (line 181) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Session` [INFO] [stdout] --> src/lib.rs:182:19 [INFO] [stdout] | [INFO] [stdout] 3 | let mut session = Session::new_from_login( [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Session` [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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:189:43 [INFO] [stdout] | [INFO] [stdout] 2 | / fn main() { [INFO] [stdout] 3 | | let mut session = Session::new_from_login( [INFO] [stdout] 4 | | "kangalioo", [INFO] [stdout] 5 | | "", [INFO] [stdout] ... | [INFO] [stdout] 10 | | println!("Details about kangalioo: {:?}", session.user_details("kangalioo")?); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 16 | | ); [INFO] [stdout] 17 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:191:18 [INFO] [stdout] | [INFO] [stdout] 2 | / fn main() { [INFO] [stdout] 3 | | let mut session = Session::new_from_login( [INFO] [stdout] 4 | | "kangalioo", [INFO] [stdout] 5 | | "", [INFO] [stdout] ... | [INFO] [stdout] 12 | | let best_score = session.user_top_10_scores("kangalioo")?[0]; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 16 | | ); [INFO] [stdout] 17 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:194:2 [INFO] [stdout] | [INFO] [stdout] 2 | / fn main() { [INFO] [stdout] 3 | | let mut session = Session::new_from_login( [INFO] [stdout] 4 | | "kangalioo", [INFO] [stdout] 5 | | "", [INFO] [stdout] ... | [INFO] [stdout] 15 | | session.score_data(best_score)?.judgements.misses [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 16 | | ); [INFO] [stdout] 17 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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] ---- src/lib.rs - Session::user_top_10_scores (line 457) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `session` in this scope [INFO] [stdout] --> src/lib.rs:459:14 [INFO] [stdout] | [INFO] [stdout] 4 | let scores = session.user_top_10_scores("kangalioo")?; [INFO] [stdout] | ^^^^^^^ not found in this scope [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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:459:14 [INFO] [stdout] | [INFO] [stdout] 3 | / fn main() { [INFO] [stdout] 4 | | let scores = session.user_top_10_scores("kangalioo")?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Session::score_data (line 570) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `session` in this scope [INFO] [stdout] --> src/lib.rs:571:18 [INFO] [stdout] | [INFO] [stdout] 3 | let score_info = session.score_data("S65565b5bc377c6d78b60c0aecfd9e05955b4cf63")?; [INFO] [stdout] | ^^^^^^^ not found in this scope [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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:571:18 [INFO] [stdout] | [INFO] [stdout] 2 | / fn main() { [INFO] [stdout] 3 | | let score_info = session.score_data("S65565b5bc377c6d78b60c0aecfd9e05955b4cf63")?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 4 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Session::add_user_favorite (line 707) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `session` in this scope [INFO] [stdout] --> src/lib.rs:709:1 [INFO] [stdout] | [INFO] [stdout] 4 | session.add_user_favorite("kangalioo", "X4a15f62b66a80b62ec64521704f98c6c03d98e03")?; [INFO] [stdout] | ^^^^^^^ not found in this scope [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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:709:1 [INFO] [stdout] | [INFO] [stdout] 3 | / fn main() { [INFO] [stdout] 4 | | session.add_user_favorite("kangalioo", "X4a15f62b66a80b62ec64521704f98c6c03d98e03")?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Session::country_leaderboard (line 641) stdout ---- [INFO] [stdout] error: expected `;`, found `println` [INFO] [stdout] --> src/lib.rs:642:53 [INFO] [stdout] | [INFO] [stdout] 3 | let leaderboard = session.country_leaderboard("DE")? [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 4 | [INFO] [stdout] 5 | println!( [INFO] [stdout] | ------- unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `session` in this scope [INFO] [stdout] --> src/lib.rs:642:19 [INFO] [stdout] | [INFO] [stdout] 3 | let leaderboard = session.country_leaderboard("DE")? [INFO] [stdout] | ^^^^^^^ not found in this scope [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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:642:19 [INFO] [stdout] | [INFO] [stdout] 2 | / fn main() { [INFO] [stdout] 3 | | let leaderboard = session.country_leaderboard("DE")? [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 4 | | [INFO] [stdout] 5 | | println!( [INFO] [stdout] ... | [INFO] [stdout] 9 | | ); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Session::update_user_goal (line 847) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `session` in this scope [INFO] [stdout] --> src/lib.rs:850:23 [INFO] [stdout] | [INFO] [stdout] 5 | let score_goal = &mut session.user_goals("kangalioo")?[0]; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `session` in this scope [INFO] [stdout] --> src/lib.rs:854:1 [INFO] [stdout] | [INFO] [stdout] 9 | session.update_user_goal("kangalioo", score_goal)?; [INFO] [stdout] | ^^^^^^^ not found in this scope [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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:850:23 [INFO] [stdout] | [INFO] [stdout] 4 | / fn main() { [INFO] [stdout] 5 | | let score_goal = &mut session.user_goals("kangalioo")?[0]; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 6 | | [INFO] [stdout] 7 | | score_goal.rate += 0.05; [INFO] [stdout] 8 | | [INFO] [stdout] 9 | | session.update_user_goal("kangalioo", score_goal)?; [INFO] [stdout] 10 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:854:1 [INFO] [stdout] | [INFO] [stdout] 4 | / fn main() { [INFO] [stdout] 5 | | let score_goal = &mut session.user_goals("kangalioo")?[0]; [INFO] [stdout] 6 | | [INFO] [stdout] 7 | | score_goal.rate += 0.05; [INFO] [stdout] 8 | | [INFO] [stdout] 9 | | session.update_user_goal("kangalioo", score_goal)?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 10 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Session::remove_user_favorite (line 724) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `session` in this scope [INFO] [stdout] --> src/lib.rs:726:1 [INFO] [stdout] | [INFO] [stdout] 4 | session.remove_user_favorite("kangalioo", "X4a15f62b66a80b62ec64521704f98c6c03d98e03")?; [INFO] [stdout] | ^^^^^^^ not found in this scope [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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:726:1 [INFO] [stdout] | [INFO] [stdout] 3 | / fn main() { [INFO] [stdout] 4 | | session.remove_user_favorite("kangalioo", "X4a15f62b66a80b62ec64521704f98c6c03d98e03")?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Session::remove_user_goal (line 815) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `session` in this scope [INFO] [stdout] --> src/lib.rs:818:18 [INFO] [stdout] | [INFO] [stdout] 5 | let score_goal = session.user_goals("theropfather")?[0]; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `session` in this scope [INFO] [stdout] --> src/lib.rs:820:1 [INFO] [stdout] | [INFO] [stdout] 7 | session.remove_user_goal( [INFO] [stdout] | ^^^^^^^ not found in this scope [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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:818:18 [INFO] [stdout] | [INFO] [stdout] 4 | / fn main() { [INFO] [stdout] 5 | | let score_goal = session.user_goals("theropfather")?[0]; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 6 | | [INFO] [stdout] 7 | | session.remove_user_goal( [INFO] [stdout] ... | [INFO] [stdout] 12 | | )?; [INFO] [stdout] 13 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:820:1 [INFO] [stdout] | [INFO] [stdout] 4 | / fn main() { [INFO] [stdout] 5 | | let score_goal = session.user_goals("theropfather")?[0]; [INFO] [stdout] 6 | | [INFO] [stdout] 7 | | session.remove_user_goal( [INFO] [stdout] | |_^ [INFO] [stdout] 8 | || "theropfather", [INFO] [stdout] 9 | || score_goal.chartkey, [INFO] [stdout] 10 | || score_goal.rate, [INFO] [stdout] 11 | || score_goal.wifescore [INFO] [stdout] 12 | || )?; [INFO] [stdout] | ||__^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 13 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Session::user_details (line 384) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `session` in this scope [INFO] [stdout] --> src/lib.rs:386:15 [INFO] [stdout] | [INFO] [stdout] 4 | let details = session.user_details("kangalioo")?; [INFO] [stdout] | ^^^^^^^ not found in this scope [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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:386:15 [INFO] [stdout] | [INFO] [stdout] 3 | / fn main() { [INFO] [stdout] 4 | | let details = session.user_details("kangalioo")?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Session::add_user_goal (line 778) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `session` in this scope [INFO] [stdout] --> src/lib.rs:780:1 [INFO] [stdout] | [INFO] [stdout] 4 | session.add_user_goal( [INFO] [stdout] | ^^^^^^^ not found in this scope [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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:780:1 [INFO] [stdout] | [INFO] [stdout] 3 | / fn main() { [INFO] [stdout] 4 | | session.add_user_goal( [INFO] [stdout] | |_^ [INFO] [stdout] 5 | || "kangalioo", [INFO] [stdout] 6 | || "X4a15f62b66a80b62ec64521704f98c6c03d98e03", [INFO] [stdout] 7 | || 1.0, [INFO] [stdout] 8 | || 0.93, [INFO] [stdout] 9 | || "2020-07-13 22:48:26", [INFO] [stdout] 10 | || )?; [INFO] [stdout] | ||__^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 11 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Session::user_goals (line 745) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `session` in this scope [INFO] [stdout] --> src/lib.rs:746:19 [INFO] [stdout] | [INFO] [stdout] 3 | let score_goals = session.user_goals("theropfather")?; [INFO] [stdout] | ^^^^^^^ not found in this scope [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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:746:19 [INFO] [stdout] | [INFO] [stdout] 2 | / fn main() { [INFO] [stdout] 3 | | let score_goals = session.user_goals("theropfather")?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 4 | | [INFO] [stdout] 5 | | println!("theropfather has {} goals", score_goals.len()); [INFO] [stdout] 6 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Session::chart_leaderboard (line 603) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `session` in this scope [INFO] [stdout] --> src/lib.rs:604:19 [INFO] [stdout] | [INFO] [stdout] 3 | let leaderboard = session.chart_leaderboard("X4a15f62b66a80b62ec64521704f98c6c03d98e03")?; [INFO] [stdout] | ^^^^^^^ not found in this scope [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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:604:19 [INFO] [stdout] | [INFO] [stdout] 2 | / fn main() { [INFO] [stdout] 3 | | let leaderboard = session.chart_leaderboard("X4a15f62b66a80b62ec64521704f98c6c03d98e03")?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 4 | | [INFO] [stdout] 5 | | println!("The best Game Time score is being held by {}", leaderboard[0].user.username); [INFO] [stdout] 6 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Session::user_ranks_per_skillset (line 499) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `session` in this scope [INFO] [stdout] --> src/lib.rs:501:14 [INFO] [stdout] | [INFO] [stdout] 4 | let scores = session.user_ranks("kangalioo")?; [INFO] [stdout] | ^^^^^^^ not found in this scope [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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:501:14 [INFO] [stdout] | [INFO] [stdout] 3 | / fn main() { [INFO] [stdout] 4 | | let scores = session.user_ranks("kangalioo")?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Session::user_latest_scores (line 471) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `session` in this scope [INFO] [stdout] --> src/lib.rs:473:14 [INFO] [stdout] | [INFO] [stdout] 4 | let scores = session.user_latest_scores("kangalioo")?; [INFO] [stdout] | ^^^^^^^ not found in this scope [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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:473:14 [INFO] [stdout] | [INFO] [stdout] 3 | / fn main() { [INFO] [stdout] 4 | | let scores = session.user_latest_scores("kangalioo")?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Session::user_top_scores_per_skillset (line 526) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `session` in this scope [INFO] [stdout] --> src/lib.rs:527:18 [INFO] [stdout] | [INFO] [stdout] 3 | let top_scores = session.user_top_scores_per_skillset("kangalioo")?; [INFO] [stdout] | ^^^^^^^ not found in this scope [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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:527:18 [INFO] [stdout] | [INFO] [stdout] 2 | / fn main() { [INFO] [stdout] 3 | | let top_scores = session.user_top_scores_per_skillset("kangalioo")?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 4 | | println!("kangalioo's 5th best handstream score is {:?}", top_scores.handstream[4]); [INFO] [stdout] 5 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Session::world_leaderboard (line 667) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `session` in this scope [INFO] [stdout] --> src/lib.rs:668:19 [INFO] [stdout] | [INFO] [stdout] 3 | let leaderboard = session.world_leaderboard()?; [INFO] [stdout] | ^^^^^^^ not found in this scope [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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:668:19 [INFO] [stdout] | [INFO] [stdout] 2 | / fn main() { [INFO] [stdout] 3 | | let leaderboard = session.world_leaderboard()?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 4 | | [INFO] [stdout] 5 | | println!( [INFO] [stdout] ... | [INFO] [stdout] 9 | | ); [INFO] [stdout] 10 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Session::user_top_skillset_scores (line 435) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Skillset7` [INFO] [stdout] --> src/lib.rs:437:60 [INFO] [stdout] | [INFO] [stdout] 4 | let scores = session.user_top_skillset_scores("kangalioo", Skillset7::Chordjack, 10)?; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `Skillset7` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `session` in this scope [INFO] [stdout] --> src/lib.rs:437:14 [INFO] [stdout] | [INFO] [stdout] 4 | let scores = session.user_top_skillset_scores("kangalioo", Skillset7::Chordjack, 10)?; [INFO] [stdout] | ^^^^^^^ not found in this scope [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 `std::ops::Try`) [INFO] [stdout] --> src/lib.rs:437:14 [INFO] [stdout] | [INFO] [stdout] 3 | / fn main() { [INFO] [stdout] 4 | | let scores = session.user_top_skillset_scores("kangalioo", Skillset7::Chordjack, 10)?; [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 5 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Try` is not implemented for `()` [INFO] [stdout] = note: required by `std::ops::Try::from_error` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, 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 - Session (line 181) [INFO] [stdout] src/lib.rs - Session::add_user_favorite (line 707) [INFO] [stdout] src/lib.rs - Session::add_user_goal (line 778) [INFO] [stdout] src/lib.rs - Session::chart_leaderboard (line 603) [INFO] [stdout] src/lib.rs - Session::country_leaderboard (line 641) [INFO] [stdout] src/lib.rs - Session::new_from_login (line 222) [INFO] [stdout] src/lib.rs - Session::remove_user_favorite (line 724) [INFO] [stdout] src/lib.rs - Session::remove_user_goal (line 815) [INFO] [stdout] src/lib.rs - Session::score_data (line 570) [INFO] [stdout] src/lib.rs - Session::update_user_goal (line 847) [INFO] [stdout] src/lib.rs - Session::user_details (line 384) [INFO] [stdout] src/lib.rs - Session::user_favorites (line 686) [INFO] [stdout] src/lib.rs - Session::user_goals (line 745) [INFO] [stdout] src/lib.rs - Session::user_latest_scores (line 471) [INFO] [stdout] src/lib.rs - Session::user_ranks_per_skillset (line 499) [INFO] [stdout] src/lib.rs - Session::user_top_10_scores (line 457) [INFO] [stdout] src/lib.rs - Session::user_top_scores_per_skillset (line 526) [INFO] [stdout] src/lib.rs - Session::user_top_skillset_scores (line 435) [INFO] [stdout] src/lib.rs - Session::world_leaderboard (line 667) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 19 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "4393bf7dd51c542078cc5e71ec3b7e23883bd2f8b9553bad246397b49fbb28d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4393bf7dd51c542078cc5e71ec3b7e23883bd2f8b9553bad246397b49fbb28d7", kill_on_drop: false }` [INFO] [stdout] 4393bf7dd51c542078cc5e71ec3b7e23883bd2f8b9553bad246397b49fbb28d7