[INFO] cloning repository https://github.com/Jerome-Paddick/bfi_scheduler_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Jerome-Paddick/bfi_scheduler_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJerome-Paddick%2Fbfi_scheduler_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJerome-Paddick%2Fbfi_scheduler_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 454e693a50e7b1538c5e6fb0e697980ba7405690 [INFO] checking Jerome-Paddick/bfi_scheduler_rust against try#54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47 for pr-153041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJerome-Paddick%2Fbfi_scheduler_rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Jerome-Paddick/bfi_scheduler_rust [INFO] finished tweaking git repo https://github.com/Jerome-Paddick/bfi_scheduler_rust [INFO] tweaked toml for git repo https://github.com/Jerome-Paddick/bfi_scheduler_rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Jerome-Paddick/bfi_scheduler_rust on toolchain 54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Jerome-Paddick/bfi_scheduler_rust 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" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded modifier v0.1.0 [INFO] [stderr] Downloaded plugin v0.2.6 [INFO] [stderr] Downloaded typemap v0.3.3 [INFO] [stderr] Downloaded iron v0.6.1 [INFO] [stderr] Downloaded traitobject v0.1.1 [INFO] [stderr] Downloaded router v0.6.0 [INFO] [stderr] Downloaded unsafe-any v0.4.2 [INFO] [stderr] Downloaded safemem v0.3.3 [INFO] [stderr] Downloaded serde_json v1.0.142 [INFO] [stderr] Downloaded custom_debug v0.5.1 [INFO] [stderr] Downloaded graphene-sys v0.19.8 [INFO] [stderr] Downloaded custom_debug_derive v0.5.1 [INFO] [stderr] Downloaded libadwaita-sys v0.6.0 [INFO] [stderr] Downloaded buf_redux v0.8.4 [INFO] [stderr] Downloaded libadwaita v0.6.0 [INFO] [stderr] Downloaded scc v2.4.0 [INFO] [stderr] Downloaded route-recognizer v0.1.13 [INFO] [stderr] Downloaded reset_daemon v2.2.0 [INFO] [stderr] Downloaded gtk4 v0.8.2 [INFO] [stderr] Downloaded libpulse-binding v2.30.1 [INFO] [stderr] Downloaded hyper v0.10.16 [INFO] [stderr] Downloaded gdk4-sys v0.8.2 [INFO] [stderr] Downloaded rouille v3.6.2 [INFO] [stderr] Downloaded gio v0.19.8 [INFO] [stderr] Downloaded gdk4 v0.8.2 [INFO] [stderr] Downloaded gtk4-sys v0.8.2 [INFO] [stderr] Downloaded ascii v1.1.0 [INFO] [stderr] Downloaded gdk-pixbuf v0.19.8 [INFO] [stderr] Downloaded gtk4-macros v0.8.2 [INFO] [stderr] Downloaded cairo-sys-rs v0.19.2 [INFO] [stderr] Downloaded gdk-pixbuf-sys v0.19.8 [INFO] [stderr] Downloaded gsk4-sys v0.8.2 [INFO] [stderr] Downloaded pango v0.19.8 [INFO] [stderr] Downloaded re_set-lib v5.2.5 [INFO] [stderr] Downloaded multipart v0.18.0 [INFO] [stderr] Downloaded chunked_transfer v1.5.0 [INFO] [stderr] Downloaded tiny_http v0.12.0 [INFO] [stderr] Downloaded dbus-crossroads v0.5.2 [INFO] [stderr] Downloaded graphene-rs v0.19.8 [INFO] [stderr] Downloaded gsk4 v0.8.2 [INFO] [stderr] Downloaded pango-sys v0.19.8 [INFO] [stderr] Downloaded libpulse-sys v1.23.0 [INFO] [stderr] Downloaded sdd v3.0.10 [INFO] [stderr] Downloaded base64 v0.9.3 [INFO] [stderr] Downloaded language-tags v0.2.2 [INFO] [stderr] Downloaded typeable v0.1.2 [INFO] [stderr] Downloaded fork v0.1.23 [INFO] [stderr] Downloaded glib-build-tools v0.19.0 [INFO] [stderr] Downloaded reset v2.0.0 [INFO] [stderr] Downloaded cairo-rs v0.19.4 [INFO] [stderr] Downloaded twoway v0.1.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f3e622c6a935f84759cd452681be3608e51a867e90f5e1941140fd11fff934f2 [INFO] running `Command { std: "docker" "start" "-a" "f3e622c6a935f84759cd452681be3608e51a867e90f5e1941140fd11fff934f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f3e622c6a935f84759cd452681be3608e51a867e90f5e1941140fd11fff934f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3e622c6a935f84759cd452681be3608e51a867e90f5e1941140fd11fff934f2", kill_on_drop: false }` [INFO] [stdout] f3e622c6a935f84759cd452681be3608e51a867e90f5e1941140fd11fff934f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54bb9bb1bbe87f59b5a2e9afea4c8cedcf5e0b47" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d89f41bb2f34066f1186a841442ee2b887640746e81d7f75c1ffec7aafca6623 [INFO] running `Command { std: "docker" "start" "-a" "d89f41bb2f34066f1186a841442ee2b887640746e81d7f75c1ffec7aafca6623", kill_on_drop: false }` [INFO] [stderr] warning: bfi_scheduler v0.1.0 (/opt/rustwide/workdir) ignoring invalid dependency `reset` which is missing a lib target [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking traitobject v0.1.1 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking phf_shared v0.7.24 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking typeable v0.1.2 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking gzip-header v1.0.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking chunked_transfer v1.5.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Checking anstyle-query v1.1.4 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking time-core v0.1.4 [INFO] [stderr] Checking ascii v1.1.0 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking brotli v3.5.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.105 [INFO] [stderr] Checking route-recognizer v0.1.13 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking tiny_http v0.12.0 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking hyper v0.10.16 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking multipart v0.18.0 [INFO] [stderr] Checking iron v0.6.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking router v0.6.0 [INFO] [stderr] Compiling custom_debug_derive v0.5.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking custom_debug v0.5.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking rouille v3.6.2 [INFO] [stderr] Checking bfi_scheduler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found type alias `crate::models::film_info::Showings` [INFO] [stdout] --> src/models/schedule.rs:270:37 [INFO] [stdout] | [INFO] [stdout] 270 | let initial_showings = Arc::new(crate::models::film_info::Showings(vec![ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a function, tuple struct or tuple variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `thread` in this scope [INFO] [stdout] --> src/models/schedule.rs:280:22 [INFO] [stdout] | [INFO] [stdout] 280 | handles.push(thread::spawn(move || { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `thread` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::thread; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `thread` in this scope [INFO] [stdout] --> src/models/schedule.rs:305:17 [INFO] [stdout] | [INFO] [stdout] 305 | thread::sleep(Duration::from_millis(50 + (thread_id as u64 * 10))); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `thread` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::thread; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Duration` in this scope [INFO] [stdout] --> src/models/schedule.rs:305:31 [INFO] [stdout] | [INFO] [stdout] 305 | thread::sleep(Duration::from_millis(50 + (thread_id as u64 * 10))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `thread` in this scope [INFO] [stdout] --> src/models/schedule.rs:345:17 [INFO] [stdout] | [INFO] [stdout] 345 | thread::sleep(Duration::from_millis(20)); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `thread` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::thread; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Duration` in this scope [INFO] [stdout] --> src/models/schedule.rs:345:31 [INFO] [stdout] | [INFO] [stdout] 345 | thread::sleep(Duration::from_millis(20)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UserPreferences` in this scope [INFO] [stdout] --> src/main.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | user_preferences: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 20 | fn worker_function( [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `UserPreferences` in this scope [INFO] [stdout] --> src/main.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | let user_prefs = Arc::new(UserPreferences { /* ... */ }); // Create actual user preferences [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::static_data::globals::FILMS` [INFO] [stdout] --> src/models/read_json.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::static_data::globals::FILMS; [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: `crate::models::film_info::Showing` [INFO] [stdout] --> src/models/read_json.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::film_info::Showing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, tuple struct or tuple variant, found type alias `crate::models::film_info::Showings` [INFO] [stdout] --> src/models/schedule.rs:270:37 [INFO] [stdout] | [INFO] [stdout] 270 | let initial_showings = Arc::new(crate::models::film_info::Showings(vec![ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a function, tuple struct or tuple variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `thread` in this scope [INFO] [stdout] --> src/models/schedule.rs:280:22 [INFO] [stdout] | [INFO] [stdout] 280 | handles.push(thread::spawn(move || { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `thread` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::thread; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `thread` in this scope [INFO] [stdout] --> src/models/schedule.rs:305:17 [INFO] [stdout] | [INFO] [stdout] 305 | thread::sleep(Duration::from_millis(50 + (thread_id as u64 * 10))); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `thread` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::thread; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Duration` in this scope [INFO] [stdout] --> src/models/schedule.rs:305:31 [INFO] [stdout] | [INFO] [stdout] 305 | thread::sleep(Duration::from_millis(50 + (thread_id as u64 * 10))); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `thread` in this scope [INFO] [stdout] --> src/models/schedule.rs:345:17 [INFO] [stdout] | [INFO] [stdout] 345 | thread::sleep(Duration::from_millis(20)); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `thread` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `thread`, use `cargo add thread` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::thread; [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Duration` in this scope [INFO] [stdout] --> src/models/schedule.rs:345:31 [INFO] [stdout] | [INFO] [stdout] 345 | thread::sleep(Duration::from_millis(20)); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `UserPreferences` in this scope [INFO] [stdout] --> src/main.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | user_preferences: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 20 | fn worker_function( [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `UserPreferences` in this scope [INFO] [stdout] --> src/main.rs:114:31 [INFO] [stdout] | [INFO] [stdout] 114 | let user_prefs = Arc::new(UserPreferences { /* ... */ }); // Create actual user preferences [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::static_data::globals::FILMS` [INFO] [stdout] --> src/models/read_json.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::static_data::globals::FILMS; [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: `crate::models::film_info::Showing` [INFO] [stdout] --> src/models/read_json.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::models::film_info::Showing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models/schedule.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | scores: vec![0,0,0,0,0], [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `[u8; 5]`, found `Vec<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[u8; 5]` [INFO] [stdout] found struct `Vec<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models/schedule.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | let (metrics, _data) = &mut *state_guard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------------- this expression has type `&mut BestSchedule` [INFO] [stdout] | | [INFO] [stdout] | expected `BestSchedule`, found `(_, _)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BestSchedule` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `bitmaps`, `end_index`, `end_min` and 7 other fields in initializer of `Showing` [INFO] [stdout] --> src/models/schedule.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | crate::models::film_info::Showing { month: 8, day: 23 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `bitmaps`, `end_index`, `end_min` and 7 other fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `bitmaps`, `end_index`, `end_min` and 7 other fields in initializer of `Showing` [INFO] [stdout] --> src/models/schedule.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | crate::models::film_info::Showing { month: 8, day: 24 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `bitmaps`, `end_index`, `end_min` and 7 other fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models/schedule.rs:291:25 [INFO] [stdout] | [INFO] [stdout] 291 | let (metrics, _data) = &*state_guard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------------- this expression has type `&BestSchedule` [INFO] [stdout] | | [INFO] [stdout] | expected `BestSchedule`, found `(_, _)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BestSchedule` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models/schedule.rs:328:27 [INFO] [stdout] | [INFO] [stdout] 328 | days: candidate_schedule_full.days, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `HashMap<(u8, u8), BestScheduleDay>`, found `HashMap<(u8, u8), ScheduleDay>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `HashMap<_, BestScheduleDay>` [INFO] [stdout] found struct `HashMap<_, ScheduleDay>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models/schedule.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | let (final_metrics, final_data) = &*state_final_guard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------------- this expression has type `&BestSchedule` [INFO] [stdout] | | [INFO] [stdout] | expected `BestSchedule`, found `(_, _)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BestSchedule` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for array `[u8; 5]` in the current scope [INFO] [stdout] --> src/main.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 72 | current_schedule_buffer.scores.push( [INFO] [stdout] | -------------------------------^^^^ method not found in `[u8; 5]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models/schedule.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | scores: vec![0,0,0,0,0], [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected `[u8; 5]`, found `Vec<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected array `[u8; 5]` [INFO] [stdout] found struct `Vec<{integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models/schedule.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | let (metrics, _data) = &mut *state_guard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ----------------- this expression has type `&mut BestSchedule` [INFO] [stdout] | | [INFO] [stdout] | expected `BestSchedule`, found `(_, _)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BestSchedule` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `bitmaps`, `end_index`, `end_min` and 7 other fields in initializer of `Showing` [INFO] [stdout] --> src/models/schedule.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | crate::models::film_info::Showing { month: 8, day: 23 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `bitmaps`, `end_index`, `end_min` and 7 other fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `bitmaps`, `end_index`, `end_min` and 7 other fields in initializer of `Showing` [INFO] [stdout] --> src/models/schedule.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | crate::models::film_info::Showing { month: 8, day: 24 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `bitmaps`, `end_index`, `end_min` and 7 other fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models/schedule.rs:291:25 [INFO] [stdout] | [INFO] [stdout] 291 | let (metrics, _data) = &*state_guard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ------------- this expression has type `&BestSchedule` [INFO] [stdout] | | [INFO] [stdout] | expected `BestSchedule`, found `(_, _)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BestSchedule` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models/schedule.rs:328:27 [INFO] [stdout] | [INFO] [stdout] 328 | days: candidate_schedule_full.days, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `HashMap<(u8, u8), BestScheduleDay>`, found `HashMap<(u8, u8), ScheduleDay>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `HashMap<_, BestScheduleDay>` [INFO] [stdout] found struct `HashMap<_, ScheduleDay>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/models/schedule.rs:356:9 [INFO] [stdout] | [INFO] [stdout] 356 | let (final_metrics, final_data) = &*state_final_guard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------------- this expression has type `&BestSchedule` [INFO] [stdout] | | [INFO] [stdout] | expected `BestSchedule`, found `(_, _)` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `BestSchedule` [INFO] [stdout] found tuple `(_, _)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `push` found for array `[u8; 5]` in the current scope [INFO] [stdout] --> src/main.rs:72:44 [INFO] [stdout] | [INFO] [stdout] 72 | current_schedule_buffer.scores.push( [INFO] [stdout] | -------------------------------^^^^ method not found in `[u8; 5]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0308, E0422, E0423, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bfi_scheduler` (bin "bfi_scheduler" test) due to 16 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0063, E0308, E0422, E0423, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stderr] error: could not compile `bfi_scheduler` (bin "bfi_scheduler") due to 16 previous errors; 2 warnings emitted [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d89f41bb2f34066f1186a841442ee2b887640746e81d7f75c1ffec7aafca6623", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d89f41bb2f34066f1186a841442ee2b887640746e81d7f75c1ffec7aafca6623", kill_on_drop: false }` [INFO] [stdout] d89f41bb2f34066f1186a841442ee2b887640746e81d7f75c1ffec7aafca6623