[INFO] cloning repository https://github.com/salmmanfred/CDCS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/salmmanfred/CDCS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsalmmanfred%2FCDCS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsalmmanfred%2FCDCS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ad086c4ebe90d73a9dac9a1714ef37d1286de8d6 [INFO] checking salmmanfred/CDCS against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsalmmanfred%2FCDCS" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/salmmanfred/CDCS [INFO] finished tweaking git repo https://github.com/salmmanfred/CDCS [INFO] tweaked toml for git repo https://github.com/salmmanfred/CDCS written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/salmmanfred/CDCS on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/salmmanfred/CDCS 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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] Downloading crates ... [INFO] [stderr] Downloaded random_color v0.5.1 [INFO] [stderr] Downloaded openfile v2.0.0 [INFO] [stderr] Downloaded serde_derive v1.0.127 [INFO] [stderr] Downloaded takeable-option v0.5.0 [INFO] [stderr] Downloaded memoffset v0.6.4 [INFO] [stderr] Downloaded approx v0.5.0 [INFO] [stderr] Downloaded fltk-derive v1.1.11 [INFO] [stderr] Downloaded addr2line v0.16.0 [INFO] [stderr] Downloaded cc v1.0.69 [INFO] [stderr] Downloaded typenum v1.13.0 [INFO] [stderr] Downloaded fltk v1.1.11 [INFO] [stderr] Downloaded backtrace v0.3.61 [INFO] [stderr] Downloaded serde v1.0.127 [INFO] [stderr] Downloaded wide v0.7.0 [INFO] [stderr] Downloaded serde_json v1.0.66 [INFO] [stderr] Downloaded matrixmultiply v0.3.1 [INFO] [stderr] Downloaded gif v0.11.2 [INFO] [stderr] Downloaded object v0.26.0 [INFO] [stderr] Downloaded crossbeam-utils v0.8.8 [INFO] [stderr] Downloaded nalgebra-glm v0.15.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.20 [INFO] [stderr] Downloaded bytemuck v1.7.2 [INFO] [stderr] Downloaded libc v0.2.99 [INFO] [stderr] Downloaded gimli v0.25.0 [INFO] [stderr] Downloaded glium v0.29.1 [INFO] [stderr] Downloaded tiff v0.6.1 [INFO] [stderr] Downloaded fltk-sys v1.1.11 [INFO] [stderr] Downloaded gl_loader v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bdde2e9e4105bd458a7444212fa542d44e5440dda424175df63189703eb28e5d [INFO] running `Command { std: "docker" "start" "-a" "bdde2e9e4105bd458a7444212fa542d44e5440dda424175df63189703eb28e5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdde2e9e4105bd458a7444212fa542d44e5440dda424175df63189703eb28e5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdde2e9e4105bd458a7444212fa542d44e5440dda424175df63189703eb28e5d", kill_on_drop: false }` [INFO] [stdout] bdde2e9e4105bd458a7444212fa542d44e5440dda424175df63189703eb28e5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c71ece48176fc7f4552a2c4b5eede42495394e7d4b4f01a7284616bf34e3d678 [INFO] running `Command { std: "docker" "start" "-a" "c71ece48176fc7f4552a2c4b5eede42495394e7d4b4f01a7284616bf34e3d678", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking safe_arch v0.6.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling fltk-sys v1.1.11 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling gl_loader v0.1.2 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking approx v0.5.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking wide v0.7.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling glium v0.29.1 [INFO] [stderr] Checking matrixmultiply v0.3.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking object v0.26.0 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking simba v0.6.0 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Compiling fltk-derive v1.1.11 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking takeable-option v0.5.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking random_color v0.5.1 [INFO] [stderr] Checking openfile v2.0.0 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking fltk v1.1.11 [INFO] [stderr] Checking nalgebra v0.29.0 [INFO] [stderr] Checking nalgebra-glm v0.15.0 [INFO] [stderr] Checking CDCS v2.0.0-alpha-3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `openfile` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use openfile; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ui_ext` [INFO] [stdout] --> src/graphics/map.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ui_ext; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `o` [INFO] [stdout] --> src/graphics/map.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{o, s}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `prov` should have an upper camel case name [INFO] [stdout] --> src/provinces.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct prov { [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Prov` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `err` and `note` [INFO] [stdout] --> src/ui_ext/ui.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::ui_ext::popups::{ask, err, note}; [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `app::wait_for` [INFO] [stdout] --> src/ui_ext/ui.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | app, app::wait_for, button::Button, enums::*, frame::Frame, group::Pack, input::Input, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `openfile` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use openfile; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ui_ext` [INFO] [stdout] --> src/graphics/map.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::ui_ext; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `o` [INFO] [stdout] --> src/graphics/map.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{o, s}; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use serde; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `prov` should have an upper camel case name [INFO] [stdout] --> src/provinces.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct prov { [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Prov` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `err` and `note` [INFO] [stdout] --> src/ui_ext/ui.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::ui_ext::popups::{ask, err, note}; [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `app::wait_for` [INFO] [stdout] --> src/ui_ext/ui.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | app, app::wait_for, button::Button, enums::*, frame::Frame, group::Pack, input::Input, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/graphics/map.rs:238:10 [INFO] [stdout] | [INFO] [stdout] 238 | move |w| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/ui_ext/popups/provr.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let app = app::App::default().with_scheme(app::Scheme::Gtk); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/common_traits.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | let x = json!(json); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comp` is never read [INFO] [stdout] --> src/pop.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct PopCreator { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | comp: Vec<(String, Vec)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PopCreator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `exists` is never used [INFO] [stdout] --> src/provinces.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl prov { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn exists(&self, colour: u32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FormatErr` is never used [INFO] [stdout] --> src/ui_ext/popups/err.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | trait FormatErr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEXT_WID` is never used [INFO] [stdout] --> src/ui_ext/popups/settings.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | const TEXT_WID: i32 = 100; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `UnwrapN` is never used [INFO] [stdout] --> src/common_traits.rs:70:11 [INFO] [stdout] | [INFO] [stdout] 70 | pub trait UnwrapN { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/graphics/map.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn init_context(&mut self) { [INFO] [stdout] | ------------------------------ move the `impl` block outside of this method `init_context` [INFO] [stdout] ... [INFO] [stdout] 119 | implement_vertex!(Vertex, position, tex_coord); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Vertex` is not local [INFO] [stdout] | `Vertex` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `implement_vertex` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/ui_ext/popups/settings.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | &op1.set_label(&format!("Warn: {}", st.warn)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 91 | let _ = &op1.set_label(&format!("Warn: {}", st.warn)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/ui_ext/popups/settings.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | &op2.set_label(&format!("Debug: {}", st.debug)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 92 | let _ = &op2.set_label(&format!("Debug: {}", st.debug)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/ui_ext/popups/settings.rs:111:25 [INFO] [stdout] | [INFO] [stdout] 111 | &op1.set_label("Warn: False"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 111 | let _ = &op1.set_label("Warn: False"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/ui_ext/popups/settings.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | &op1.set_label("Warn: True"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 114 | let _ = &op1.set_label("Warn: True"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/ui_ext/popups/settings.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | &op2.set_label("Debug: False"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 122 | let _ = &op2.set_label("Debug: False"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/ui_ext/popups/settings.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | &op2.set_label("Debug: True"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 125 | let _ = &op2.set_label("Debug: True"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::new` that must be used [INFO] [stdout] --> src/ui_ext/popups/settings.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | Box::new(ui::run()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 136 | let _ = Box::new(ui::run()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `w` [INFO] [stdout] --> src/graphics/map.rs:238:10 [INFO] [stdout] | [INFO] [stdout] 238 | move |w| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_w` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> src/ui_ext/popups/provr.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let app = app::App::default().with_scheme(app::Scheme::Gtk); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/common_traits.rs:148:17 [INFO] [stdout] | [INFO] [stdout] 148 | let x = json!(json); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `comp` is never read [INFO] [stdout] --> src/pop.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct PopCreator { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | comp: Vec<(String, Vec)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PopCreator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `exists` is never used [INFO] [stdout] --> src/provinces.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl prov { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn exists(&self, colour: u32) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `FormatErr` is never used [INFO] [stdout] --> src/ui_ext/popups/err.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | trait FormatErr { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEXT_WID` is never used [INFO] [stdout] --> src/ui_ext/popups/settings.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | const TEXT_WID: i32 = 100; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `UnwrapN` is never used [INFO] [stdout] --> src/common_traits.rs:70:11 [INFO] [stdout] | [INFO] [stdout] 70 | pub trait UnwrapN { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/graphics/map.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn init_context(&mut self) { [INFO] [stdout] | ------------------------------ move the `impl` block outside of this method `init_context` [INFO] [stdout] ... [INFO] [stdout] 119 | implement_vertex!(Vertex, position, tex_coord); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Vertex` is not local [INFO] [stdout] | `Vertex` is not local [INFO] [stdout] | [INFO] [stdout] = note: the macro `implement_vertex` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the macro `implement_vertex` may come from an old version of the `glium` crate, try updating your dependency with `cargo update -p glium` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `implement_vertex` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/ui_ext/popups/settings.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | &op1.set_label(&format!("Warn: {}", st.warn)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 91 | let _ = &op1.set_label(&format!("Warn: {}", st.warn)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/ui_ext/popups/settings.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | &op2.set_label(&format!("Debug: {}", st.debug)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 92 | let _ = &op2.set_label(&format!("Debug: {}", st.debug)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/ui_ext/popups/settings.rs:111:25 [INFO] [stdout] | [INFO] [stdout] 111 | &op1.set_label("Warn: False"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 111 | let _ = &op1.set_label("Warn: False"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/ui_ext/popups/settings.rs:114:25 [INFO] [stdout] | [INFO] [stdout] 114 | &op1.set_label("Warn: True"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 114 | let _ = &op1.set_label("Warn: True"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/ui_ext/popups/settings.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | &op2.set_label("Debug: False"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 122 | let _ = &op2.set_label("Debug: False"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/ui_ext/popups/settings.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | &op2.set_label("Debug: True"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 125 | let _ = &op2.set_label("Debug: True"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::new` that must be used [INFO] [stdout] --> src/ui_ext/popups/settings.rs:136:25 [INFO] [stdout] | [INFO] [stdout] 136 | Box::new(ui::run()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 136 | let _ = Box::new(ui::run()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s [INFO] running `Command { std: "docker" "inspect" "c71ece48176fc7f4552a2c4b5eede42495394e7d4b4f01a7284616bf34e3d678", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c71ece48176fc7f4552a2c4b5eede42495394e7d4b4f01a7284616bf34e3d678", kill_on_drop: false }` [INFO] [stdout] c71ece48176fc7f4552a2c4b5eede42495394e7d4b4f01a7284616bf34e3d678