[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#54cf65b8d066c082e536455049b95943cf30378f for pr-151920
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJerome-Paddick%2Fbfi_scheduler_rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-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-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Jerome-Paddick/bfi_scheduler_rust on toolchain 54cf65b8d066c082e536455049b95943cf30378f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "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" "+54cf65b8d066c082e536455049b95943cf30378f" "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/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+54cf65b8d066c082e536455049b95943cf30378f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2dd092519ddd9112a3c87b909072d734793009e8a5f0b7e52036e57e4d6db98e
[INFO] running `Command { std: "docker" "start" "-a" "2dd092519ddd9112a3c87b909072d734793009e8a5f0b7e52036e57e4d6db98e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2dd092519ddd9112a3c87b909072d734793009e8a5f0b7e52036e57e4d6db98e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2dd092519ddd9112a3c87b909072d734793009e8a5f0b7e52036e57e4d6db98e", kill_on_drop: false }`
[INFO] [stdout] 2dd092519ddd9112a3c87b909072d734793009e8a5f0b7e52036e57e4d6db98e
[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=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" "+54cf65b8d066c082e536455049b95943cf30378f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 57d0a27db5c78f6147e9ccd503a52f390f31c854e7f2a7662338b7bd70f01b7f
[INFO] running `Command { std: "docker" "start" "-a" "57d0a27db5c78f6147e9ccd503a52f390f31c854e7f2a7662338b7bd70f01b7f", 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 autocfg v1.5.0
[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 zerocopy v0.8.26
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]     Checking litemap v0.8.0
[INFO] [stderr]     Checking writeable v0.6.1
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]     Checking safemem v0.3.3
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]     Checking traitobject v0.1.1
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling unicase v1.4.2
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]     Checking matches v0.1.10
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]     Checking phf_shared v0.7.24
[INFO] [stderr]     Checking mime v0.2.6
[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]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]    Compiling phf v0.7.24
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.4
[INFO] [stderr]     Checking linux-raw-sys v0.9.4
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]     Checking alloc-stdlib v0.2.2
[INFO] [stderr]     Checking crossbeam-epoch v0.9.18
[INFO] [stderr]     Checking base64 v0.9.3
[INFO] [stderr]     Checking typemap v0.3.3
[INFO] [stderr]     Checking typeable v0.1.2
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]    Compiling serde_json v1.0.142
[INFO] [stderr]     Checking fastrand v2.3.0
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]     Checking language-tags v0.2.2
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling unicode-xid v0.2.6
[INFO] [stderr]     Checking plugin v0.2.6
[INFO] [stderr]     Checking buf_redux v0.8.4
[INFO] [stderr]     Checking twoway v0.1.8
[INFO] [stderr]     Checking anstyle-parse v0.2.7
[INFO] [stderr]     Checking gzip-header v1.0.0
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking deranged v0.4.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking crossbeam-deque v0.8.6
[INFO] [stderr]     Checking brotli-decompressor v2.5.1
[INFO] [stderr]     Checking anstyle-query v1.1.4
[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]    Compiling syn v2.0.105
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking time v0.1.45
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]     Checking iana-time-zone v0.1.63
[INFO] [stderr]     Checking colorchoice v1.0.4
[INFO] [stderr]     Checking modifier v0.1.0
[INFO] [stderr]     Checking chunked_transfer v1.5.0
[INFO] [stderr]     Checking adler32 v1.2.0
[INFO] [stderr]     Checking num_threads v0.1.7
[INFO] [stderr]     Checking ascii v1.1.0
[INFO] [stderr]     Checking anstream v0.6.20
[INFO] [stderr]     Checking deflate v1.0.0
[INFO] [stderr]     Checking threadpool v1.8.1
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]     Checking hyper v0.10.16
[INFO] [stderr]     Checking brotli v3.5.0
[INFO] [stderr]     Checking filetime v0.2.25
[INFO] [stderr]     Checking route-recognizer v0.1.13
[INFO] [stderr]     Checking tiny_http v0.12.0
[INFO] [stderr]     Checking sha1_smol v1.0.1
[INFO] [stderr]     Checking base64 v0.13.1
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]     Checking jiff v0.2.15
[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]     Checking rayon v1.11.0
[INFO] [stderr]    Compiling mime_guess v1.8.8
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking tempfile v3.20.0
[INFO] [stderr]     Checking iron v0.6.1
[INFO] [stderr]     Checking multipart v0.18.0
[INFO] [stderr]     Checking router v0.6.0
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling custom_debug_derive v0.5.1
[INFO] [stderr]     Checking env_filter v0.1.3
[INFO] [stderr]     Checking custom_debug v0.5.1
[INFO] [stderr]     Checking env_logger v0.11.8
[INFO] [stderr]    Compiling synstructure v0.13.2
[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]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[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_locale_core v2.0.0
[INFO] [stderr]     Checking icu_collections v2.0.0
[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]: failed to resolve: use of unresolved module or unlinked crate `thread`
[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]: failed to resolve: use of unresolved module or unlinked crate `thread`
[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]: failed to resolve: use of undeclared type `Duration`
[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]: failed to resolve: use of unresolved module or unlinked crate `thread`
[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]: failed to resolve: use of undeclared type `Duration`
[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<UserPreferences>,
[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<UserPreferences>(
[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]: failed to resolve: use of unresolved module or unlinked crate `thread`
[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]: failed to resolve: use of unresolved module or unlinked crate `thread`
[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]: failed to resolve: use of undeclared type `Duration`
[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]: failed to resolve: use of unresolved module or unlinked crate `thread`
[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]: failed to resolve: use of undeclared type `Duration`
[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<UserPreferences>,
[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<UserPreferences>(
[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: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[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[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[E0282]: type annotations needed
[INFO] [stdout]    --> src/models/schedule.rs:352:9
[INFO] [stdout]     |
[INFO] [stdout] 352 |         handle.join().unwrap();
[INFO] [stdout]     |         ^^^^^^ cannot infer type
[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[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[E0282]: type annotations needed
[INFO] [stdout]    --> src/models/schedule.rs:352:9
[INFO] [stdout]     |
[INFO] [stdout] 352 |         handle.join().unwrap();
[INFO] [stdout]     |         ^^^^^^ cannot infer type
[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[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, E0282, E0308, E0422, E0423, E0425, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0063`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0063, E0282, 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 17 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `bfi_scheduler` (bin "bfi_scheduler") due to 17 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "57d0a27db5c78f6147e9ccd503a52f390f31c854e7f2a7662338b7bd70f01b7f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "57d0a27db5c78f6147e9ccd503a52f390f31c854e7f2a7662338b7bd70f01b7f", kill_on_drop: false }`
[INFO] [stdout] 57d0a27db5c78f6147e9ccd503a52f390f31c854e7f2a7662338b7bd70f01b7f
