[INFO] cloning repository https://github.com/haoxue-tutor/erudify [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/haoxue-tutor/erudify" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaoxue-tutor%2Ferudify", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaoxue-tutor%2Ferudify'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1f89248de6a6924d0c9908dedba08ace54b40cf3 [INFO] testing haoxue-tutor/erudify against 1.98.0-beta.1 for beta-1.98-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaoxue-tutor%2Ferudify" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/haoxue-tutor/erudify [INFO] finished tweaking git repo https://github.com/haoxue-tutor/erudify [INFO] tweaked toml for git repo https://github.com/haoxue-tutor/erudify written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/haoxue-tutor/erudify on toolchain 1.98.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/haoxue-tutor/erudify 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" "+1.98.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] b9648f122d39b6bfbf7c2954e646d180e65ab9bbce1e09327fbf344d9fac2f00 [INFO] running `Command { std: "docker" "start" "b9648f122d39b6bfbf7c2954e646d180e65ab9bbce1e09327fbf344d9fac2f00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9648f122d39b6bfbf7c2954e646d180e65ab9bbce1e09327fbf344d9fac2f00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b9648f122d39b6bfbf7c2954e646d180e65ab9bbce1e09327fbf344d9fac2f00" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b9648f122d39b6bfbf7c2954e646d180e65ab9bbce1e09327fbf344d9fac2f00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b9648f122d39b6bfbf7c2954e646d180e65ab9bbce1e09327fbf344d9fac2f00" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.89 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling wasm-bindgen v0.2.89 [INFO] [stderr] Compiling serde v1.0.201 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.29 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling thiserror v1.0.51 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling parking_lot v0.12.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling winnow v0.5.30 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling litemap v0.7.3 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling httparse v1.9.3 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling bytemuck v1.16.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling symphonia-core v0.5.4 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling cpal v0.15.3 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling anstream v0.6.5 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.89 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling symphonia-metadata v0.5.4 [INFO] [stderr] Compiling symphonia-bundle-mp3 v0.5.4 [INFO] [stderr] Compiling alsa v0.9.0 [INFO] [stderr] Compiling itertools v0.12.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.89 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling castaway v0.2.2 [INFO] [stderr] Compiling csv-core v0.1.11 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling serde_derive v1.0.201 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling thiserror-impl v1.0.51 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling tokio-macros v2.3.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.89 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling tokio v1.38.0 [INFO] [stderr] Compiling zerovec-derive v0.10.2 [INFO] [stderr] Compiling js-sys v0.3.66 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling zerofrom v0.1.4 [INFO] [stderr] Compiling yoke v0.7.4 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerovec v0.10.2 [INFO] [stderr] Compiling pin-project v1.1.3 [INFO] [stderr] Compiling gloo-worker-macros v0.1.0 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling futures v0.3.29 [INFO] [stderr] Compiling web-sys v0.3.66 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.39 [INFO] [stderr] Compiling pinned v0.1.0 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling gloo-timers v0.3.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling implicit-clone-derive v0.1.1 [INFO] [stderr] Compiling strum v0.26.2 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling yew-macro v0.21.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling implicit-clone v0.4.8 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling dasp_sample v0.11.0 [INFO] [stderr] Compiling icu_properties v1.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde-wasm-bindgen v0.6.3 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling unicode-width v0.1.12 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling compact_str v0.7.1 [INFO] [stderr] Compiling prokio v0.1.0 [INFO] [stderr] Compiling hyper-util v0.1.5 [INFO] [stderr] Compiling csv v1.3.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling clap_builder v4.4.12 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling idna v1.0.0 [INFO] [stderr] Compiling stability v0.2.0 [INFO] [stderr] Compiling yew-router-macro v0.18.0 [INFO] [stderr] Compiling url v2.5.1 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling symphonia v0.5.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling reqwest v0.12.4 [INFO] [stderr] Compiling lru v0.12.3 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling cedict v0.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling prettify_pinyin v2.0.0 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling unsafe-libyaml v0.2.11 [INFO] [stderr] Compiling route-recognizer v0.3.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling clap v4.4.12 [INFO] [stderr] Compiling ratatui v0.26.2 [INFO] [stderr] Compiling openai_dive v0.4.9 [INFO] [stderr] Compiling rodio v0.18.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling haoxue-dict v0.1.6 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling lipsum v0.9.0 [INFO] [stderr] Compiling directories v6.0.0 [INFO] [stderr] Compiling gloo-utils v0.2.0 [INFO] [stderr] Compiling gloo-events v0.2.0 [INFO] [stderr] Compiling gloo-storage v0.3.0 [INFO] [stderr] Compiling gloo-file v0.3.0 [INFO] [stderr] Compiling gloo-history v0.2.2 [INFO] [stderr] Compiling gloo-console v0.3.0 [INFO] [stderr] Compiling gloo-dialogs v0.2.0 [INFO] [stderr] Compiling gloo-render v0.2.0 [INFO] [stderr] Compiling gloo-worker v0.4.0 [INFO] [stderr] Compiling gloo-net v0.4.0 [INFO] [stderr] Compiling gloo-net v0.5.0 [INFO] [stderr] Compiling gloo v0.10.0 [INFO] [stderr] Compiling yew v0.21.0 [INFO] [stderr] Compiling gloo-worker v0.5.0 [INFO] [stderr] Compiling wasm-logger v0.2.0 [INFO] [stderr] Compiling tui-input v0.8.0 [INFO] [stderr] Compiling ordered-float v4.2.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling gloo v0.11.0 [INFO] [stderr] Compiling anes v0.2.0 [INFO] [stderr] Compiling nonempty v0.12.0 [INFO] [stderr] Compiling yew-router v0.18.0 [INFO] [stderr] Compiling erudify v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `anes::*` [INFO] [stdout] --> src/bin/cli/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use anes::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Source` [INFO] [stdout] --> src/bin/cli/main.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | use rodio::{Decoder, OutputStream, Sink, Source}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/bin/cli/main.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | use std::io::{BufReader, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader` and `fs::File` [INFO] [stdout] --> src/bin/cli/train.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | io::{self, BufReader}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/bin/cli/train.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::{Duration, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Decoder` [INFO] [stdout] --> src/bin/cli/train.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use rodio::{Decoder, OutputStream, Sink}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExerciseCost` is never constructed [INFO] [stdout] --> src/bin/cli/main.rs:328:8 [INFO] [stdout] | [INFO] [stdout] 328 | struct ExerciseCost { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Course` is never constructed [INFO] [stdout] --> src/bin/cli/main.rs:343:8 [INFO] [stdout] | [INFO] [stdout] 343 | struct Course { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push_exercise`, and `exercise_cost` are never used [INFO] [stdout] --> src/bin/cli/main.rs:349:8 [INFO] [stdout] | [INFO] [stdout] 348 | impl Course { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 349 | fn new(words: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | fn push_exercise(&mut self, exercise: Exercise) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | fn exercise_cost(&self, target_word: &str, exercise: &Exercise) -> ExerciseCost { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `join` is never used [INFO] [stdout] --> src/bin/cli/convert.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 71 | impl Segment { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | fn join(orig_chinese: &str, orig_pinyin: &str) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 13s [INFO] running `Command { std: "docker" "inspect" "b9648f122d39b6bfbf7c2954e646d180e65ab9bbce1e09327fbf344d9fac2f00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b9648f122d39b6bfbf7c2954e646d180e65ab9bbce1e09327fbf344d9fac2f00" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling erudify v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `anes::*` [INFO] [stdout] --> src/bin/cli/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use anes::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Source` [INFO] [stdout] --> src/bin/cli/main.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | use rodio::{Decoder, OutputStream, Sink, Source}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/bin/cli/main.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | use std::io::{BufReader, Read, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufReader` and `fs::File` [INFO] [stdout] --> src/bin/cli/train.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | io::{self, BufReader}, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/bin/cli/train.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::{Duration, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Decoder` [INFO] [stdout] --> src/bin/cli/train.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use rodio::{Decoder, OutputStream, Sink}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExerciseCost` is never constructed [INFO] [stdout] --> src/bin/cli/main.rs:328:8 [INFO] [stdout] | [INFO] [stdout] 328 | struct ExerciseCost { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Course` is never constructed [INFO] [stdout] --> src/bin/cli/main.rs:343:8 [INFO] [stdout] | [INFO] [stdout] 343 | struct Course { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push_exercise`, and `exercise_cost` are never used [INFO] [stdout] --> src/bin/cli/main.rs:349:8 [INFO] [stdout] | [INFO] [stdout] 348 | impl Course { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 349 | fn new(words: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 356 | fn push_exercise(&mut self, exercise: Exercise) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | fn exercise_cost(&self, target_word: &str, exercise: &Exercise) -> ExerciseCost { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.66s [INFO] running `Command { std: "docker" "inspect" "b9648f122d39b6bfbf7c2954e646d180e65ab9bbce1e09327fbf344d9fac2f00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b9648f122d39b6bfbf7c2954e646d180e65ab9bbce1e09327fbf344d9fac2f00" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `anes::*` [INFO] [stderr] --> src/bin/cli/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use anes::*; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Source` [INFO] [stderr] --> src/bin/cli/main.rs:19:42 [INFO] [stderr] | [INFO] [stderr] 19 | use rodio::{Decoder, OutputStream, Sink, Source}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Write` [INFO] [stderr] --> src/bin/cli/main.rs:24:32 [INFO] [stderr] | [INFO] [stderr] 24 | use std::io::{BufReader, Read, Write}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `BufReader` and `fs::File` [INFO] [stderr] --> src/bin/cli/train.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | fs::File, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 3 | io::{self, BufReader}, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Duration` [INFO] [stderr] --> src/bin/cli/train.rs:6:14 [INFO] [stderr] | [INFO] [stderr] 6 | use chrono::{Duration, Utc}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Decoder` [INFO] [stderr] --> src/bin/cli/train.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | use rodio::{Decoder, OutputStream, Sink}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ExerciseCost` is never constructed [INFO] [stderr] --> src/bin/cli/main.rs:328:8 [INFO] [stderr] | [INFO] [stderr] 328 | struct ExerciseCost { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Course` is never constructed [INFO] [stderr] --> src/bin/cli/main.rs:343:8 [INFO] [stderr] | [INFO] [stderr] 343 | struct Course { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `push_exercise`, and `exercise_cost` are never used [INFO] [stderr] --> src/bin/cli/main.rs:349:8 [INFO] [stderr] | [INFO] [stderr] 348 | impl Course { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] 349 | fn new(words: Vec) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 356 | fn push_exercise(&mut self, exercise: Exercise) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 360 | fn exercise_cost(&self, target_word: &str, exercise: &Exercise) -> ExerciseCost { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `erudify` (bin "cli" test) generated 9 warnings (run `cargo fix --bin "cli" -p erudify --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] [stderr] Running unittests src/bin/cli/main.rs (/opt/rustwide/target/debug/deps/cli-8d6ddec87187806e) [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test convert::tests::str_pop_2 ... ok [INFO] [stdout] test convert::tests::str_pop_3 ... ok [INFO] [stdout] test model::tests::test_next_exercise_doesnt_ignore_seen_past_words ... ok [INFO] [stdout] test convert::tests::str_pop_1 ... ok [INFO] [stdout] test model::tests::test_load_from_reader_with_string ... ok [INFO] [stdout] test model::tests::test_load_save_file ... ok [INFO] [stdout] test model::tests::test_next_exercise_empty_exercises_returns_none ... ok [INFO] [stdout] test model::tests::test_next_exercise_ignores_seen_future_words ... ok [INFO] [stdout] test model::tests::test_next_exercise_no_exercise_contains_target_word_returns_none ... ok [INFO] [stdout] test model::tests::test_next_exercise_prioritizes_least_words_not_in_list ... ok [INFO] [stdout] test model::tests::test_next_word_all_words_seen_no_unseen ... ok [INFO] [stdout] test model::tests::test_next_word_empty_model_returns_first_word ... ok [INFO] [stdout] test model::tests::test_next_word_mixed_scenarios_prioritizes_due_over_unseen ... ok [INFO] [stdout] test model::tests::test_next_word_exact_timing_edge_cases ... ok [INFO] [stdout] test model::tests::test_next_word_mixed_scenarios_prioritizes_unseen_over_future ... ok [INFO] [stdout] test model::tests::test_next_word_seen_due_words_prioritized_by_closest_to_now ... ok [INFO] [stdout] test model::tests::test_next_word_seen_future_words_prioritized_by_closest_to_now ... ok [INFO] [stdout] test model::tests::test_next_word_with_single_word_list ... ok [INFO] [stdout] test model::tests::test_save_to_writer_with_buffer ... ok [INFO] [stdout] test model::tests::test_serialization_roundtrip ... ok [INFO] [stdout] test model::tests::test_score_exercise_1 ... ok [INFO] [stdout] test model::tests::test_reader_writer_demo ... ok [INFO] [stdout] test model::tests::test_set_target_date ... ok [INFO] [stdout] test train::tests::test_apply_tones_basic ... ok [INFO] [stdout] test train::tests::test_split_words_examples ... ok [INFO] [stdout] test model::tests::test_next_word_empty_word_list_panics - should panic ... ok [INFO] [stdout] test convert::tests::basic_segment_1 ... ok [INFO] [stdout] test convert::tests::basic_segment_4 ... ok [INFO] [stdout] test convert::tests::basic_segment_2 ... ok [INFO] [stdout] test convert::tests::basic_segment_3 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.65s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/website/main.rs (/opt/rustwide/target/debug/deps/website-c58cde8596221b1e) [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" "b9648f122d39b6bfbf7c2954e646d180e65ab9bbce1e09327fbf344d9fac2f00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9648f122d39b6bfbf7c2954e646d180e65ab9bbce1e09327fbf344d9fac2f00", kill_on_drop: false }` [INFO] [stdout] b9648f122d39b6bfbf7c2954e646d180e65ab9bbce1e09327fbf344d9fac2f00