[INFO] cloning repository https://github.com/aznoH333/uuShart [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aznoH333/uuShart" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FaznoH333%2FuuShart", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FaznoH333%2FuuShart'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e17657ed658c81bd16c72b907d9b37ae4293129e [INFO] testing aznoH333/uuShart against beta-2025-04-13 for beta-1.87-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FaznoH333%2FuuShart" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aznoH333/uuShart on toolchain beta-2025-04-13 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aznoH333/uuShart [INFO] finished tweaking git repo https://github.com/aznoH333/uuShart [INFO] tweaked toml for git repo https://github.com/aznoH333/uuShart written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/aznoH333/uuShart 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" "+beta-2025-04-13" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7598fffd9f75f875939edc2b3cdd1635f4f8ba898a537398c43e05b9e47273bf [INFO] running `Command { std: "docker" "start" "-a" "7598fffd9f75f875939edc2b3cdd1635f4f8ba898a537398c43e05b9e47273bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7598fffd9f75f875939edc2b3cdd1635f4f8ba898a537398c43e05b9e47273bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7598fffd9f75f875939edc2b3cdd1635f4f8ba898a537398c43e05b9e47273bf", kill_on_drop: false }` [INFO] [stdout] 7598fffd9f75f875939edc2b3cdd1635f4f8ba898a537398c43e05b9e47273bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce367ef4f3e4c1397c9c4b705866c4e07a7f3b1bd9995776c99f273ca23d8e26 [INFO] running `Command { std: "docker" "start" "-a" "ce367ef4f3e4c1397c9c4b705866c4e07a7f3b1bd9995776c99f273ca23d8e26", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling rustls v0.23.25 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling webpki-roots v0.26.8 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling stringmatch v0.4.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling thirtyfour-macros v0.2.0 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling rustls-webpki v0.103.1 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-rustls v0.26.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling hyper-rustls v0.27.5 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling thirtyfour v0.35.0 [INFO] [stderr] Compiling uuShart v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `unicorn_information_gatherer::UnicornInformationGatherer` [INFO] [stdout] --> src/main.rs:1:83 [INFO] [stdout] | [INFO] [stdout] 1 | ...erer::InformationGatherer, resources::{unicorn_information_gatherer::UnicornInformationGatherer, unicorn_information_resource::Unicorn... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/solutions/solution.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DesiredCapabilities` and `WebDriver` [INFO] [stdout] --> src/information_gatherer/resources/unicorn_information_gatherer.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use thirtyfour::{By, DesiredCapabilities, WebDriver, WebElement}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/information_gatherer/resources/unicorn_information_gatherer.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | if (elements.get(a).unwrap().text().await.unwrap().eq(text)){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 145 - if (elements.get(a).unwrap().text().await.unwrap().eq(text)){ [INFO] [stdout] 145 + if elements.get(a).unwrap().text().await.unwrap().eq(text) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/information_gatherer/resources/unicorn_test_gatherer.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, thread, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MULTI_SELECT` should have an upper camel case name [INFO] [stdout] --> src/information_gatherer/resources/unicorn_question_type.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | MULTI_SELECT, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MultiSelect` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SINGLE_CHOICE` should have an upper camel case name [INFO] [stdout] --> src/information_gatherer/resources/unicorn_question_type.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | SINGLE_CHOICE, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SingleChoice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FILL_SENTENCE` should have an upper camel case name [INFO] [stdout] --> src/information_gatherer/resources/unicorn_question_type.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | FILL_SENTENCE [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FillSentence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::time` [INFO] [stdout] --> src/selenium_wrapper/unicorn_selenium_wrapper.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::time; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/utils/savable.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/information_gatherer/resources/unicorn_information_gatherer.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | for i in 0..max_count{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/information_gatherer/resources/unicorn_test_gatherer.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/information_gatherer/resources/unicorn_test_gatherer.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 66 | ... UnicornQuestionType::SINGLE_CHOICE => { self.pass_select_correct_answer_question().await } // TODO : rewrite theese solve/log quest... [INFO] [stdout] | ---------------------------------- matches some of the same values [INFO] [stdout] 67 | ... UnicornQuestionType::MULTI_SELECT => { self.pass_mark_correct_answers_question().await } [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] 68 | ... UnicornQuestionType::FILL_SENTENCE => { self.pass_fill_in_sentence_question().await } [INFO] [stdout] | ---------------------------------- matches some of the same values [INFO] [stdout] 69 | ... _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/information_gatherer/resources/unicorn_test_gatherer.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/information_gatherer/resources/unicorn_test_gatherer.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 87 | UnicornQuestionType::SINGLE_CHOICE => { self.log_select_correct_answer_question(is_correct, &answer).await; } [INFO] [stdout] | ---------------------------------- matches some of the same values [INFO] [stdout] 88 | UnicornQuestionType::MULTI_SELECT => { self.log_mark_correct_answers_question(is_correct, &answer).await; } [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] 89 | UnicornQuestionType::FILL_SENTENCE => { self.log_fill_in_sentence_question(is_correct, &answer).await; } [INFO] [stdout] | ---------------------------------- matches some of the same values [INFO] [stdout] 90 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `solver` [INFO] [stdout] --> src/information_gatherer/resources/unicorn_information_gatherer.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let mut solver = SolutionCollection::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_solver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/information_gatherer/resources/unicorn_information_gatherer.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut solver = SolutionCollection::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.57s [INFO] running `Command { std: "docker" "inspect" "ce367ef4f3e4c1397c9c4b705866c4e07a7f3b1bd9995776c99f273ca23d8e26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce367ef4f3e4c1397c9c4b705866c4e07a7f3b1bd9995776c99f273ca23d8e26", kill_on_drop: false }` [INFO] [stdout] ce367ef4f3e4c1397c9c4b705866c4e07a7f3b1bd9995776c99f273ca23d8e26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 623d838665eab0288a1871f2ced487f324801782e44780379ffb4f80a541fe30 [INFO] running `Command { std: "docker" "start" "-a" "623d838665eab0288a1871f2ced487f324801782e44780379ffb4f80a541fe30", kill_on_drop: false }` [INFO] [stderr] Compiling uuShart v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `unicorn_information_gatherer::UnicornInformationGatherer` [INFO] [stdout] --> src/main.rs:1:83 [INFO] [stdout] | [INFO] [stdout] 1 | ...erer::InformationGatherer, resources::{unicorn_information_gatherer::UnicornInformationGatherer, unicorn_information_resource::Unicorn... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/solutions/solution.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DesiredCapabilities` and `WebDriver` [INFO] [stdout] --> src/information_gatherer/resources/unicorn_information_gatherer.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use thirtyfour::{By, DesiredCapabilities, WebDriver, WebElement}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/information_gatherer/resources/unicorn_information_gatherer.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | if (elements.get(a).unwrap().text().await.unwrap().eq(text)){ [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 145 - if (elements.get(a).unwrap().text().await.unwrap().eq(text)){ [INFO] [stdout] 145 + if elements.get(a).unwrap().text().await.unwrap().eq(text) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/information_gatherer/resources/unicorn_test_gatherer.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, thread, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MULTI_SELECT` should have an upper camel case name [INFO] [stdout] --> src/information_gatherer/resources/unicorn_question_type.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | MULTI_SELECT, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MultiSelect` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SINGLE_CHOICE` should have an upper camel case name [INFO] [stdout] --> src/information_gatherer/resources/unicorn_question_type.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | SINGLE_CHOICE, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SingleChoice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FILL_SENTENCE` should have an upper camel case name [INFO] [stdout] --> src/information_gatherer/resources/unicorn_question_type.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | FILL_SENTENCE [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FillSentence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::time` [INFO] [stdout] --> src/selenium_wrapper/unicorn_selenium_wrapper.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::time; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/utils/savable.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/information_gatherer/resources/unicorn_information_gatherer.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | for i in 0..max_count{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/information_gatherer/resources/unicorn_test_gatherer.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/information_gatherer/resources/unicorn_test_gatherer.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 66 | ... UnicornQuestionType::SINGLE_CHOICE => { self.pass_select_correct_answer_question().await } // TODO : rewrite theese solve/log quest... [INFO] [stdout] | ---------------------------------- matches some of the same values [INFO] [stdout] 67 | ... UnicornQuestionType::MULTI_SELECT => { self.pass_mark_correct_answers_question().await } [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] 68 | ... UnicornQuestionType::FILL_SENTENCE => { self.pass_fill_in_sentence_question().await } [INFO] [stdout] | ---------------------------------- matches some of the same values [INFO] [stdout] 69 | ... _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/information_gatherer/resources/unicorn_test_gatherer.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/information_gatherer/resources/unicorn_test_gatherer.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 87 | UnicornQuestionType::SINGLE_CHOICE => { self.log_select_correct_answer_question(is_correct, &answer).await; } [INFO] [stdout] | ---------------------------------- matches some of the same values [INFO] [stdout] 88 | UnicornQuestionType::MULTI_SELECT => { self.log_mark_correct_answers_question(is_correct, &answer).await; } [INFO] [stdout] | --------------------------------- matches some of the same values [INFO] [stdout] 89 | UnicornQuestionType::FILL_SENTENCE => { self.log_fill_in_sentence_question(is_correct, &answer).await; } [INFO] [stdout] | ---------------------------------- matches some of the same values [INFO] [stdout] 90 | _ => { [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `solver` [INFO] [stdout] --> src/information_gatherer/resources/unicorn_information_gatherer.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let mut solver = SolutionCollection::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_solver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/information_gatherer/resources/unicorn_information_gatherer.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut solver = SolutionCollection::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "623d838665eab0288a1871f2ced487f324801782e44780379ffb4f80a541fe30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "623d838665eab0288a1871f2ced487f324801782e44780379ffb4f80a541fe30", kill_on_drop: false }` [INFO] [stdout] 623d838665eab0288a1871f2ced487f324801782e44780379ffb4f80a541fe30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-04-13" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0b02cf994aba699cef57366a1d816eea1012910b1cbd30e98e21ecbf2bef30bf [INFO] running `Command { std: "docker" "start" "-a" "0b02cf994aba699cef57366a1d816eea1012910b1cbd30e98e21ecbf2bef30bf", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `unicorn_information_gatherer::UnicornInformationGatherer` [INFO] [stderr] --> src/main.rs:1:83 [INFO] [stderr] | [INFO] [stderr] 1 | ...erer::InformationGatherer, resources::{unicorn_information_gatherer::UnicornInformationGatherer, unicorn_information_resource::Unicorn... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt::format` [INFO] [stderr] --> src/solutions/solution.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::fmt::format; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DesiredCapabilities` and `WebDriver` [INFO] [stderr] --> src/information_gatherer/resources/unicorn_information_gatherer.rs:4:22 [INFO] [stderr] | [INFO] [stderr] 4 | use thirtyfour::{By, DesiredCapabilities, WebDriver, WebElement}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/information_gatherer/resources/unicorn_information_gatherer.rs:145:12 [INFO] [stderr] | [INFO] [stderr] 145 | if (elements.get(a).unwrap().text().await.unwrap().eq(text)){ [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 145 - if (elements.get(a).unwrap().text().await.unwrap().eq(text)){ [INFO] [stderr] 145 + if elements.get(a).unwrap().text().await.unwrap().eq(text) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `collections::HashMap` [INFO] [stderr] --> src/information_gatherer/resources/unicorn_test_gatherer.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{collections::HashMap, thread, time::Duration}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `MULTI_SELECT` should have an upper camel case name [INFO] [stderr] --> src/information_gatherer/resources/unicorn_question_type.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | MULTI_SELECT, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MultiSelect` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `SINGLE_CHOICE` should have an upper camel case name [INFO] [stderr] --> src/information_gatherer/resources/unicorn_question_type.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | SINGLE_CHOICE, [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SingleChoice` [INFO] [stderr] [INFO] [stderr] warning: variant `FILL_SENTENCE` should have an upper camel case name [INFO] [stderr] --> src/information_gatherer/resources/unicorn_question_type.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | FILL_SENTENCE [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FillSentence` [INFO] [stderr] [INFO] [stderr] warning: unused import: `core::time` [INFO] [stderr] --> src/selenium_wrapper/unicorn_selenium_wrapper.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use core::time; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/utils/savable.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/information_gatherer/resources/unicorn_information_gatherer.rs:51:13 [INFO] [stderr] | [INFO] [stderr] 51 | for i in 0..max_count{ [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/information_gatherer/resources/unicorn_test_gatherer.rs:69:13 [INFO] [stderr] | [INFO] [stderr] 69 | _ => { [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/information_gatherer/resources/unicorn_test_gatherer.rs:69:13 [INFO] [stderr] | [INFO] [stderr] 66 | ... UnicornQuestionType::SINGLE_CHOICE => { self.pass_select_correct_answer_question().await } // TODO : rewrite theese solve/log quest... [INFO] [stderr] | ---------------------------------- matches some of the same values [INFO] [stderr] 67 | ... UnicornQuestionType::MULTI_SELECT => { self.pass_mark_correct_answers_question().await } [INFO] [stderr] | --------------------------------- matches some of the same values [INFO] [stderr] 68 | ... UnicornQuestionType::FILL_SENTENCE => { self.pass_fill_in_sentence_question().await } [INFO] [stderr] | ---------------------------------- matches some of the same values [INFO] [stderr] 69 | ... _ => { [INFO] [stderr] | ^ collectively making this unreachable [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/information_gatherer/resources/unicorn_test_gatherer.rs:90:17 [INFO] [stderr] | [INFO] [stderr] 90 | _ => { [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> src/information_gatherer/resources/unicorn_test_gatherer.rs:90:17 [INFO] [stderr] | [INFO] [stderr] 87 | UnicornQuestionType::SINGLE_CHOICE => { self.log_select_correct_answer_question(is_correct, &answer).await; } [INFO] [stderr] | ---------------------------------- matches some of the same values [INFO] [stderr] 88 | UnicornQuestionType::MULTI_SELECT => { self.log_mark_correct_answers_question(is_correct, &answer).await; } [INFO] [stderr] | --------------------------------- matches some of the same values [INFO] [stderr] 89 | UnicornQuestionType::FILL_SENTENCE => { self.log_fill_in_sentence_question(is_correct, &answer).await; } [INFO] [stderr] | ---------------------------------- matches some of the same values [INFO] [stderr] 90 | _ => { [INFO] [stderr] | ^ collectively making this unreachable [INFO] [stderr] [INFO] [stderr] warning: unused variable: `solver` [INFO] [stderr] --> src/information_gatherer/resources/unicorn_information_gatherer.rs:30:17 [INFO] [stderr] | [INFO] [stderr] 30 | let mut solver = SolutionCollection::new(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_solver` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/information_gatherer/resources/unicorn_information_gatherer.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | let mut solver = SolutionCollection::new(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `uuShart` (bin "uuShart" test) generated 15 warnings (run `cargo fix --bin "uuShart" --tests` to apply 8 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/uuShart-a186830e75b05ea2) [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] running `Command { std: "docker" "inspect" "0b02cf994aba699cef57366a1d816eea1012910b1cbd30e98e21ecbf2bef30bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b02cf994aba699cef57366a1d816eea1012910b1cbd30e98e21ecbf2bef30bf", kill_on_drop: false }` [INFO] [stdout] 0b02cf994aba699cef57366a1d816eea1012910b1cbd30e98e21ecbf2bef30bf