[INFO] cloning repository https://github.com/joepigott/taskscheduler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joepigott/taskscheduler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoepigott%2Ftaskscheduler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoepigott%2Ftaskscheduler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b7c3efbda4d334766cc4e65aeeb1c5156f2be2a [INFO] testing joepigott/taskscheduler against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoepigott%2Ftaskscheduler" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joepigott/taskscheduler on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/joepigott/taskscheduler [INFO] finished tweaking git repo https://github.com/joepigott/taskscheduler [INFO] tweaked toml for git repo https://github.com/joepigott/taskscheduler written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/joepigott/taskscheduler 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.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://git.pigroy.xyz/pigroy/piglog.git` [INFO] [stderr] Updating git repository `https://git.pigroy.xyz/pigroy/color.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typetag-impl v0.2.19 [INFO] [stderr] Downloaded typetag v0.2.19 [INFO] [stderr] Downloaded inventory v0.3.17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f563f4e82dec34b7ea92a89168e527f84ef1485c8421a16d224d01663d08f1e2 [INFO] running `Command { std: "docker" "start" "-a" "f563f4e82dec34b7ea92a89168e527f84ef1485c8421a16d224d01663d08f1e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f563f4e82dec34b7ea92a89168e527f84ef1485c8421a16d224d01663d08f1e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f563f4e82dec34b7ea92a89168e527f84ef1485c8421a16d224d01663d08f1e2", kill_on_drop: false }` [INFO] [stdout] f563f4e82dec34b7ea92a89168e527f84ef1485c8421a16d224d01663d08f1e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 686afe46214ea9f47c9dceedb71d60a434282cdc374346825cf9bf18b4331497 [INFO] running `Command { std: "docker" "start" "-a" "686afe46214ea9f47c9dceedb71d60a434282cdc374346825cf9bf18b4331497", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling cpufeatures v0.2.16 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling typeid v1.0.2 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.137 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling syn v2.0.95 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling iana-time-zone v0.1.61 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling inventory v0.3.17 [INFO] [stderr] Compiling color v0.2.0 (https://git.pigroy.xyz/pigroy/color.git#7a84e80b) [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [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 serde_derive v1.0.217 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.8 [INFO] [stderr] Compiling typetag-impl v0.2.19 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling pin-project v1.1.8 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [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 v0.14.32 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling erased-serde v0.4.5 [INFO] [stderr] Compiling typetag v0.2.19 [INFO] [stderr] Compiling piglog v0.1.0 (https://git.pigroy.xyz/pigroy/piglog.git#7669ffea) [INFO] [stderr] Compiling icu_normalizer v1.5.0 [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 tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stderr] Compiling taskscheduler v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.63s [INFO] running `Command { std: "docker" "inspect" "686afe46214ea9f47c9dceedb71d60a434282cdc374346825cf9bf18b4331497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "686afe46214ea9f47c9dceedb71d60a434282cdc374346825cf9bf18b4331497", kill_on_drop: false }` [INFO] [stdout] 686afe46214ea9f47c9dceedb71d60a434282cdc374346825cf9bf18b4331497 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10cd6696347c2f4f117567aa29b325c3233a325436446d21190e60059a66aac9 [INFO] running `Command { std: "docker" "start" "-a" "10cd6696347c2f4f117567aa29b325c3233a325436446d21190e60059a66aac9", kill_on_drop: false }` [INFO] [stderr] Compiling taskscheduler v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.85s [INFO] running `Command { std: "docker" "inspect" "10cd6696347c2f4f117567aa29b325c3233a325436446d21190e60059a66aac9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10cd6696347c2f4f117567aa29b325c3233a325436446d21190e60059a66aac9", kill_on_drop: false }` [INFO] [stdout] 10cd6696347c2f4f117567aa29b325c3233a325436446d21190e60059a66aac9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 45045ba58b74420e000f6e374f8d5327d7a2c6ef99126842f6ecff4d48d46baf [INFO] running `Command { std: "docker" "start" "-a" "45045ba58b74420e000f6e374f8d5327d7a2c6ef99126842f6ecff4d48d46baf", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/taskscheduler-fa359612b2d9aa72) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test::test_new_id ... ok [INFO] [stdout] test priority::test::test_shortest_urgency ... ok [INFO] [stdout] test priority::test::test_shortest_urgency_tie ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests taskscheduler [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/priority.rs - priority::Priority (line 26) ... FAILED [INFO] [stdout] test src/priority.rs - priority::Priority (line 11) ... FAILED [INFO] [stdout] test src/priority.rs - priority::ShortestWithUrgency (line 165) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/priority.rs - priority::Priority (line 26) stdout ---- [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/priority.rs:27:14 [INFO] [stdout] | [INFO] [stdout] 3 | fn clone_box(&self) -> Box { [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Priority` in this scope [INFO] [stdout] --> src/priority.rs:27:32 [INFO] [stdout] | [INFO] [stdout] 3 | fn clone_box(&self) -> Box { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use taskscheduler::priority::Priority; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/priority.rs - priority::Priority (line 11) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Priority` in this scope [INFO] [stdout] --> src/priority.rs:14:6 [INFO] [stdout] | [INFO] [stdout] 5 | impl Priority for FIFO { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use taskscheduler::priority::Priority; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Task` in this scope [INFO] [stdout] --> src/priority.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 6 | fn select(&self, queue: &[Task]) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use taskscheduler::Task; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Task` in this scope [INFO] [stdout] --> src/priority.rs:15:48 [INFO] [stdout] | [INFO] [stdout] 6 | fn select(&self, queue: &[Task]) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use taskscheduler::Task; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/priority.rs - priority::ShortestWithUrgency (line 165) stdout ---- [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/priority.rs:166:80 [INFO] [stdout] | [INFO] [stdout] 3 | let score = (deadline_weight * (deadline - now)) - (duration_weight * duration) [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 4 | } _doctest_main_src_priority_rs_165_0() } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `deadline_weight` in this scope [INFO] [stdout] --> src/priority.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 3 | let score = (deadline_weight * (deadline - now)) - (duration_weight * duration) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `deadline` in this scope [INFO] [stdout] --> src/priority.rs:166:33 [INFO] [stdout] | [INFO] [stdout] 3 | let score = (deadline_weight * (deadline - now)) - (duration_weight * duration) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `now` in this scope [INFO] [stdout] --> src/priority.rs:166:44 [INFO] [stdout] | [INFO] [stdout] 3 | let score = (deadline_weight * (deadline - now)) - (duration_weight * duration) [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `duration_weight` in this scope [INFO] [stdout] --> src/priority.rs:166:53 [INFO] [stdout] | [INFO] [stdout] 3 | let score = (deadline_weight * (deadline - now)) - (duration_weight * duration) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `duration` in this scope [INFO] [stdout] --> src/priority.rs:166:71 [INFO] [stdout] | [INFO] [stdout] 3 | let score = (deadline_weight * (deadline - now)) - (duration_weight * duration) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/priority.rs - priority::Priority (line 11) [INFO] [stdout] src/priority.rs - priority::Priority (line 26) [INFO] [stdout] src/priority.rs - priority::ShortestWithUrgency (line 165) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "45045ba58b74420e000f6e374f8d5327d7a2c6ef99126842f6ecff4d48d46baf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45045ba58b74420e000f6e374f8d5327d7a2c6ef99126842f6ecff4d48d46baf", kill_on_drop: false }` [INFO] [stdout] 45045ba58b74420e000f6e374f8d5327d7a2c6ef99126842f6ecff4d48d46baf