[INFO] cloning repository https://github.com/mecios01/orario_borsisti [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mecios01/orario_borsisti" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmecios01%2Forario_borsisti", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmecios01%2Forario_borsisti'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 636d891fef35b4c1e57216764d4bbf2939ddad0d [INFO] testing mecios01/orario_borsisti against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759-retry [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmecios01%2Forario_borsisti" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mecios01/orario_borsisti [INFO] finished tweaking git repo https://github.com/mecios01/orario_borsisti [INFO] tweaked toml for git repo https://github.com/mecios01/orario_borsisti written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mecios01/orario_borsisti on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mecios01/orario_borsisti 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afb941cf102b868c1c19a339905a83fcf214d0648b8da8e0fea802cb359a9a96 [INFO] running `Command { std: "docker" "start" "-a" "afb941cf102b868c1c19a339905a83fcf214d0648b8da8e0fea802cb359a9a96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afb941cf102b868c1c19a339905a83fcf214d0648b8da8e0fea802cb359a9a96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afb941cf102b868c1c19a339905a83fcf214d0648b8da8e0fea802cb359a9a96", kill_on_drop: false }` [INFO] [stdout] afb941cf102b868c1c19a339905a83fcf214d0648b8da8e0fea802cb359a9a96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b0f6a2822f53ba54ee962942f95025e81455163eccb99239927a3e253742d6c [INFO] running `Command { std: "docker" "start" "-a" "8b0f6a2822f53ba54ee962942f95025e81455163eccb99239927a3e253742d6c", kill_on_drop: false }` [INFO] [stderr] Compiling coin_cbc_sys v0.1.2 [INFO] [stderr] Compiling coin_cbc v0.1.8 [INFO] [stderr] Compiling good_lp v1.7.0 [INFO] [stderr] Compiling orario_borsisti v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TurnHours` [INFO] [stdout] --> src/main.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::types::timetable::{Timetable, TurnHours, Turn, Day}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> src/types/person.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TurnHours` [INFO] [stdout] --> src/types/person.rs:2:42 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::types::timetable::{Day, Turn, TurnHours}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::types::scheduler` [INFO] [stdout] --> src/types/timetable.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::types::scheduler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/types/scheduler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Sub` [INFO] [stdout] --> src/types/scheduler.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::ops::Sub; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `constraint` [INFO] [stdout] --> src/types/scheduler.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use good_lp::{Constraint, constraint, default_solver, Expression, ProblemVariables, Solution, SolverModel, Variable, VariableDefinition, ... [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `good_lp::variable::FormatWithVars` [INFO] [stdout] --> src/types/scheduler.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use good_lp::variable::FormatWithVars; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `preferences` [INFO] [stdout] --> src/types/scheduler.rs:268:18 [INFO] [stdout] | [INFO] [stdout] 268 | preferences: &Vec>>, remaining: &Vec) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_preferences` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/types/scheduler.rs:271:9 [INFO] [stdout] | [INFO] [stdout] 271 | let mut caledar: Vec<(usize, usize)> = Vec::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/types/person.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Person { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 29 | pub fn new(name: &str, surname: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/types/timetable.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Day { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] 15 | fn name(&self) -> &'static str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/types/timetable.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct TurnHours(f32); [INFO] [stdout] | --------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `TurnHours` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `computed`, `stats`, and `base` are never read [INFO] [stdout] --> src/types/timetable.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct Timetable { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 36 | computed: Option>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 37 | //stats per person [INFO] [stdout] 38 | stats: Option<()>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 39 | //hours per turn [INFO] [stdout] 40 | base: Vec<(TurnHours, TurnHours)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_turnhours`, `add_person`, and `set_turnhours` are never used [INFO] [stdout] --> src/types/timetable.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl Timetable { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn with_turnhours(base: &[(TurnHours, TurnHours)]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn add_person(&mut self, p: Person) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn set_turnhours(&mut self, turnhours: Vec<(TurnHours, TurnHours)>) -> &mut Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NoConsecutiveShifts` is never constructed [INFO] [stdout] --> src/types/scheduler.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum ConstraintType { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | NoConsecutiveShifts, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_hours_per_week` and `min_hours_per_week` are never read [INFO] [stdout] --> src/types/scheduler.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Scheduler { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 17 | ///model constants [INFO] [stdout] 18 | max_hours_per_week: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 19 | min_hours_per_week: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `output_result` is never used [INFO] [stdout] --> src/types/scheduler.rs:267:4 [INFO] [stdout] | [INFO] [stdout] 267 | fn output_result(solution: &CoinCbcSolution, variables: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/types/timetable.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | assert!(d >= 0 && d < 5); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcr3Rgvc/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libgood_lp-8f318fe76b6ae82f.rlib,libcoin_cbc-af6adafcf7642754.rlib,liblazy_static-4a3eb30d8f892632.rlib,libcoin_cbc_sys-02390e34bd39292c.rlib,libfnv-cad931e6de93593b.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lCbcSolver" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcr3Rgvc/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/orario_borsisti-d56292d495018183" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lCbcSolver [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `orario_borsisti` (bin "orario_borsisti") due to 1 previous error; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8b0f6a2822f53ba54ee962942f95025e81455163eccb99239927a3e253742d6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b0f6a2822f53ba54ee962942f95025e81455163eccb99239927a3e253742d6c", kill_on_drop: false }` [INFO] [stdout] 8b0f6a2822f53ba54ee962942f95025e81455163eccb99239927a3e253742d6c