[INFO] cloning repository https://github.com/Allen-B1/vsim2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Allen-B1/vsim2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAllen-B1%2Fvsim2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAllen-B1%2Fvsim2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 67aa8af7762397060a6d6335020857f6c8035c66 [INFO] testing Allen-B1/vsim2 against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAllen-B1%2Fvsim2" "/workspace/builds/worker-28/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-28/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Allen-B1/vsim2 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Allen-B1/vsim2 [INFO] finished tweaking git repo https://github.com/Allen-B1/vsim2 [INFO] tweaked toml for git repo https://github.com/Allen-B1/vsim2 written to /workspace/builds/worker-28/source/Cargo.toml [INFO] crate git repo https://github.com/Allen-B1/vsim2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fd07574cf6892b89521f3fe95f956e3aa92af194876f63b354f5a35bd5ad614 [INFO] running `Command { std: "docker" "start" "-a" "4fd07574cf6892b89521f3fe95f956e3aa92af194876f63b354f5a35bd5ad614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fd07574cf6892b89521f3fe95f956e3aa92af194876f63b354f5a35bd5ad614", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fd07574cf6892b89521f3fe95f956e3aa92af194876f63b354f5a35bd5ad614", kill_on_drop: false }` [INFO] [stdout] 4fd07574cf6892b89521f3fe95f956e3aa92af194876f63b354f5a35bd5ad614 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8393a229d711d7ce84d562241542e7c6c6683ad72bed7572716322e1a358a04 [INFO] running `Command { std: "docker" "start" "-a" "c8393a229d711d7ce84d562241542e7c6c6683ad72bed7572716322e1a358a04", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.65 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.69 [INFO] [stderr] Compiling bumpalo v3.7.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.69 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling anyhow v1.0.43 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling yew v0.18.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling cfg-match v0.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling flate2 v1.0.21 [INFO] [stderr] Compiling rmp v0.8.10 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.69 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.69 [INFO] [stderr] Compiling thiserror-impl v1.0.28 [INFO] [stderr] Compiling yew-macro v0.18.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.69 [INFO] [stderr] Compiling thiserror v1.0.28 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling js-sys v0.3.46 [INFO] [stderr] Compiling console_error_panic_hook v0.1.6 [INFO] [stderr] Compiling web-sys v0.3.46 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.19 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling rmp-serde v0.15.5 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling gloo-events v0.1.1 [INFO] [stderr] Compiling gloo-console-timer v0.1.0 [INFO] [stderr] Compiling gloo-timers v0.2.1 [INFO] [stderr] Compiling gloo-file v0.1.0 [INFO] [stderr] Compiling gloo v0.2.1 [INFO] [stderr] Compiling vsim2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/core/mod.rs:235:9 [INFO] [stdout] | [INFO] [stdout] 235 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/methods/fptp.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{HashMap,HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_pop` [INFO] [stdout] --> src/core/mod.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | let total_pop: u32 = pops.iter().sum(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_pop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pop` [INFO] [stdout] --> src/core/mod.rs:270:22 [INFO] [stdout] | [INFO] [stdout] 270 | for (i, &pop) in pops.iter().enumerate() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/source/germany.rs:134:17 [INFO] [stdout] | [INFO] [stdout] 134 | Err(e) => continue [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/methods/fptp.rs:40:46 [INFO] [stdout] | [INFO] [stdout] 40 | total_candidates_votes.sort_by(|(c, v), (c2, v2)| v2.cmp(v)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c2` [INFO] [stdout] --> src/methods/fptp.rs:40:54 [INFO] [stdout] | [INFO] [stdout] 40 | total_candidates_votes.sort_by(|(c, v), (c2, v2)| v2.cmp(v)); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gid` [INFO] [stdout] --> src/methods/fptp.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | for (gid, districts) in groupings.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_gid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stage` [INFO] [stdout] --> src/methods/dmp.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | fn run(&self, stage: &ElectionStage, r: &ElectionResults, g: &Grouping) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/methods/dmp.rs:13:42 [INFO] [stdout] | [INFO] [stdout] 13 | fn run(&self, stage: &ElectionStage, r: &ElectionResults, g: &Grouping) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `g` [INFO] [stdout] --> src/methods/dmp.rs:13:63 [INFO] [stdout] | [INFO] [stdout] 13 | fn run(&self, stage: &ElectionStage, r: &ElectionResults, g: &Grouping) -> Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/bin/extract.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{io, fs, env}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/ui/../../dataset/germany-2017/data.elc: No such file or directory (os error 2) [INFO] [stdout] --> src/ui/mod.rs:34:62 [INFO] [stdout] | [INFO] [stdout] 34 | let (stage, results, groupings) = core::decode(&mut &include_bytes!("../../dataset/germany-2017/data.elc")[..]).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vsim2::*` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use vsim2::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vsim2::core::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use vsim2::core::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `any::Any` [INFO] [stdout] --> src/ui/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{any::Any, sync::{Arc,Weak}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/ui/district_info.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Arc,Weak}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::prelude::*` [INFO] [stdout] --> src/ui/district_info.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use yew::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/ui/map.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::{Arc,Weak}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::prelude::*` [INFO] [stdout] --> src/ui/map.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use yew::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vsim2::core::*` [INFO] [stdout] --> src/ui/parliament.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use vsim2::core::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `Weak` [INFO] [stdout] --> src/ui/parliament.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Arc,Weak}; [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `yew::prelude::*` [INFO] [stdout] --> src/ui/parliament.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use yew::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs`, `io` [INFO] [stdout] --> src/main.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{io, fs}; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `vsim2` due to 2 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c8393a229d711d7ce84d562241542e7c6c6683ad72bed7572716322e1a358a04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8393a229d711d7ce84d562241542e7c6c6683ad72bed7572716322e1a358a04", kill_on_drop: false }` [INFO] [stdout] c8393a229d711d7ce84d562241542e7c6c6683ad72bed7572716322e1a358a04