[INFO] cloning repository https://github.com/rennis250/konicars [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rennis250/konicars" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frennis250%2Fkonicars", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frennis250%2Fkonicars'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1318e84bff3903598486f681db4561f6acc385b7 [INFO] checking rennis250/konicars against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frennis250%2Fkonicars" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rennis250/konicars on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rennis250/konicars [INFO] finished tweaking git repo https://github.com/rennis250/konicars [INFO] tweaked toml for git repo https://github.com/rennis250/konicars written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rennis250/konicars 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ioctl-rs v0.1.5 [INFO] [stderr] Downloaded serial-core v0.4.0 [INFO] [stderr] Downloaded serial v0.4.0 [INFO] [stderr] Downloaded serial-unix v0.4.0 [INFO] [stderr] Downloaded serial-windows v0.4.0 [INFO] [stderr] Downloaded termios v0.2.2 [INFO] [stderr] Downloaded cgl v0.2.3 [INFO] [stderr] Downloaded wayland-sys v0.12.5 [INFO] [stderr] Downloaded cfg-if v0.1.5 [INFO] [stderr] Downloaded token_store v0.1.2 [INFO] [stderr] Downloaded dlib v0.4.1 [INFO] [stderr] Downloaded gl_generator v0.9.0 [INFO] [stderr] Downloaded gleam v0.6.2 [INFO] [stderr] Downloaded gl_generator v0.8.0 [INFO] [stderr] Downloaded log v0.4.5 [INFO] [stderr] Downloaded core-graphics v0.13.0 [INFO] [stderr] Downloaded cocoa v0.14.0 [INFO] [stderr] Downloaded wayland-kbd v0.13.1 [INFO] [stderr] Downloaded libc v0.2.29 [INFO] [stderr] Downloaded rand v0.5.5 [INFO] [stderr] Downloaded khronos_api v2.2.0 [INFO] [stderr] Downloaded backtrace-sys v0.1.24 [INFO] [stderr] Downloaded glium v0.20.0 [INFO] [stderr] Downloaded wayland-client v0.12.5 [INFO] [stderr] Downloaded xml-rs v0.7.0 [INFO] [stderr] Downloaded cc v1.0.25 [INFO] [stderr] Downloaded wayland-protocols v0.12.5 [INFO] [stderr] Downloaded winit v0.10.0 [INFO] [stderr] Downloaded x11-dl v2.18.3 [INFO] [stderr] Downloaded glutin v0.12.2 [INFO] [stderr] Downloaded cocoa v0.13.0 [INFO] [stderr] Downloaded libloading v0.5.0 [INFO] [stderr] Downloaded core-foundation-sys v0.4.6 [INFO] [stderr] Downloaded core-foundation v0.4.6 [INFO] [stderr] Downloaded objc v0.2.5 [INFO] [stderr] Downloaded memmap v0.6.2 [INFO] [stderr] Downloaded rand_core v0.3.0 [INFO] [stderr] Downloaded tempfile v3.0.4 [INFO] [stderr] Downloaded core-graphics v0.12.4 [INFO] [stderr] Downloaded rand_core v0.2.2 [INFO] [stderr] Downloaded wayland-scanner v0.12.5 [INFO] [stderr] Downloaded wayland-window v0.13.3 [INFO] [stderr] Downloaded lazy_static v1.1.0 [INFO] [stderr] Downloaded smallvec v0.6.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae903394b49af718925d852cb8e327d60b6108b591a883f516f735a310422d93 [INFO] running `Command { std: "docker" "start" "-a" "ae903394b49af718925d852cb8e327d60b6108b591a883f516f735a310422d93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae903394b49af718925d852cb8e327d60b6108b591a883f516f735a310422d93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae903394b49af718925d852cb8e327d60b6108b591a883f516f735a310422d93", kill_on_drop: false }` [INFO] [stdout] ae903394b49af718925d852cb8e327d60b6108b591a883f516f735a310422d93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 212e8fc1555ee1ec99c81095b6ede0e495f98a3f62b6d870fe8ff7402ec3c6e3 [INFO] running `Command { std: "docker" "start" "-a" "212e8fc1555ee1ec99c81095b6ede0e495f98a3f62b6d870fe8ff7402ec3c6e3", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.29 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Checking token_store v0.1.2 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Checking remove_dir_all v0.5.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking rustc-demangle v0.1.9 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking smallvec v0.6.5 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking ioctl-rs v0.1.5 [INFO] [stderr] Checking serial-core v0.4.0 [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Checking serial-unix v0.4.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking serial v0.4.0 [INFO] [stderr] Compiling wayland-scanner v0.12.5 [INFO] [stderr] Compiling gl_generator v0.8.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling backtrace-sys v0.1.24 [INFO] [stderr] Checking tempfile v3.0.4 [INFO] [stderr] Compiling wayland-client v0.12.5 [INFO] [stderr] Compiling wayland-protocols v0.12.5 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Compiling glutin v0.12.2 [INFO] [stderr] Compiling glium v0.20.0 [INFO] [stderr] Checking wayland-sys v0.12.5 [INFO] [stderr] Checking backtrace v0.3.9 [INFO] [stderr] Checking wayland-kbd v0.13.1 [INFO] [stderr] Checking wayland-window v0.13.3 [INFO] [stderr] Checking winit v0.10.0 [INFO] [stderr] Checking konica v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | try!(port.reconfigure(&|settings| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | try!(port.set_timeout(Duration::from_secs(1))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | try!(port.write("RMTS,1\r\n".as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | try!(port.reconfigure(&|settings| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | try!(port.read(&mut buf[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | try!(port.write("MSWE,0\r\n".as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | try!(port.set_timeout(Duration::from_secs(1))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | try!(port.read(&mut buf[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | try!(port.write("RMTS,1\r\n".as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | try!(settings.set_baud_rate(serial::Baud9600)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | try!(port.read(&mut buf[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | try!(port.write("MEAS,1\r\n".as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | try!(port.write("MSWE,0\r\n".as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | try!(port.read(&mut buf[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | try!(port.read(&mut buf[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | try!(port.read(&mut buf[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | try!(port.write("MEDR,2,0,00\r\n".as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | try!(settings.set_baud_rate(serial::Baud9600)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | try!(port.read(&mut buf[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | try!(port.write("MEAS,1\r\n".as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | try!(port.write(format!("MEDR,1,0,{}\r\n", n).as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | try!(port.read(&mut buf[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | try!(port.read(&mut buf[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | try!(port.read(&mut buf[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | try!(port.write(format!("NDFS,{}\r\n", filter).as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | try!(port.write("MEDR,2,0,00\r\n".as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | try!(port.read(&mut buf[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | try!(port.read(&mut buf[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | try!(port.write(format!("MEDR,1,0,{}\r\n", n).as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | try!(port.read(&mut buf[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | try!(port.write(format!("NDFS,{}\r\n", filter).as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | try!(port.read(&mut buf[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | fn measure(port: &mut SerialPort) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 | fn measure(port: &mut dyn SerialPort) -> io::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | fn measure(port: &mut SerialPort) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 75 | fn measure(port: &mut dyn SerialPort) -> io::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:232:29 [INFO] [stdout] | [INFO] [stdout] 232 | fn set_nd_filter(port: &mut SerialPort, filter: u8) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 232 | fn set_nd_filter(port: &mut dyn SerialPort, filter: u8) -> io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:232:29 [INFO] [stdout] | [INFO] [stdout] 232 | fn set_nd_filter(port: &mut SerialPort, filter: u8) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 232 | fn set_nd_filter(port: &mut dyn SerialPort, filter: u8) -> io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let b = buf.clone(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/lib.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let b = buf.clone(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [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/lib.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | let mut ne; [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: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | let mut l; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct ColorData { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 12 | Le: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | Lv: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | X: f64, [INFO] [stdout] | ^ [INFO] [stdout] 15 | Y: f64, [INFO] [stdout] | ^ [INFO] [stdout] 16 | Z: f64, [INFO] [stdout] | ^ [INFO] [stdout] 17 | x: f64, [INFO] [stdout] | ^ [INFO] [stdout] 18 | y: f64, [INFO] [stdout] | ^ [INFO] [stdout] 19 | u: f64, [INFO] [stdout] | ^ [INFO] [stdout] 20 | v: f64, [INFO] [stdout] | ^ [INFO] [stdout] 21 | T: f64, [INFO] [stdout] | ^ [INFO] [stdout] 22 | delta_uv: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | lambda_d: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | Pe: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 25 | X10: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 26 | Y10: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | Z10: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | x10: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | y10: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | u10: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | v10: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | T10: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 33 | delta_uv10: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | lambda_d10: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 35 | Pe10: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | spectralData: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_connection` is never used [INFO] [stdout] --> src/lib.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn init_connection(arg: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `measure` is never used [INFO] [stdout] --> src/lib.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn measure(port: &mut SerialPort) -> io::Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `err_message` is never used [INFO] [stdout] --> src/lib.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | fn err_message(error_check_code: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_nd_filter` is never used [INFO] [stdout] --> src/lib.rs:232:4 [INFO] [stdout] | [INFO] [stdout] 232 | fn set_nd_filter(port: &mut SerialPort, filter: u8) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Le` should have a snake case name [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Le: f64, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `le` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Lv` should have a snake case name [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Lv: f64, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `lv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `X` should have a snake case name [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | X: f64, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Y: f64, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Z` should have a snake case name [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Z: f64, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `T` should have a snake case name [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | T: f64, [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Pe` should have a snake case name [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Pe: f64, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `X10` should have a snake case name [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | X10: f64, [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `x10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Y10` should have a snake case name [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Y10: f64, [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `y10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Z10` should have a snake case name [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Z10: f64, [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `z10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `T10` should have a snake case name [INFO] [stdout] --> src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | T10: f64, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `t10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Pe10` should have a snake case name [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | Pe10: f64, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `pe10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `spectralData` should have a snake case name [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | spectralData: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `spectral_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `spectralData` should have a snake case name [INFO] [stdout] --> src/lib.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | let mut spectralData: Vec = vec![0f64; 401]; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `spectral_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | let mut ne; [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: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | let mut l; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | struct ColorData { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 12 | Le: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 13 | Lv: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 14 | X: f64, [INFO] [stdout] | ^ [INFO] [stdout] 15 | Y: f64, [INFO] [stdout] | ^ [INFO] [stdout] 16 | Z: f64, [INFO] [stdout] | ^ [INFO] [stdout] 17 | x: f64, [INFO] [stdout] | ^ [INFO] [stdout] 18 | y: f64, [INFO] [stdout] | ^ [INFO] [stdout] 19 | u: f64, [INFO] [stdout] | ^ [INFO] [stdout] 20 | v: f64, [INFO] [stdout] | ^ [INFO] [stdout] 21 | T: f64, [INFO] [stdout] | ^ [INFO] [stdout] 22 | delta_uv: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | lambda_d: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | Pe: f64, [INFO] [stdout] | ^^ [INFO] [stdout] 25 | X10: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 26 | Y10: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | Z10: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 28 | x10: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | y10: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 30 | u10: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 31 | v10: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | T10: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 33 | delta_uv10: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 34 | lambda_d10: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 35 | Pe10: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | spectralData: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init_connection` is never used [INFO] [stdout] --> src/lib.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn init_connection(arg: &str) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `measure` is never used [INFO] [stdout] --> src/lib.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn measure(port: &mut SerialPort) -> io::Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `err_message` is never used [INFO] [stdout] --> src/lib.rs:172:4 [INFO] [stdout] | [INFO] [stdout] 172 | fn err_message(error_check_code: &str) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_nd_filter` is never used [INFO] [stdout] --> src/lib.rs:232:4 [INFO] [stdout] | [INFO] [stdout] 232 | fn set_nd_filter(port: &mut SerialPort, filter: u8) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Le` should have a snake case name [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | Le: f64, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `le` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Lv` should have a snake case name [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Lv: f64, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `lv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `X` should have a snake case name [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | X: f64, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Y` should have a snake case name [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Y: f64, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Z` should have a snake case name [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Z: f64, [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `T` should have a snake case name [INFO] [stdout] --> src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | T: f64, [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Pe` should have a snake case name [INFO] [stdout] --> src/lib.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Pe: f64, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `X10` should have a snake case name [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | X10: f64, [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `x10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Y10` should have a snake case name [INFO] [stdout] --> src/lib.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | Y10: f64, [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `y10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Z10` should have a snake case name [INFO] [stdout] --> src/lib.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Z10: f64, [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `z10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `T10` should have a snake case name [INFO] [stdout] --> src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | T10: f64, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `t10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Pe10` should have a snake case name [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | Pe10: f64, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `pe10` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `spectralData` should have a snake case name [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | spectralData: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `spectral_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `spectralData` should have a snake case name [INFO] [stdout] --> src/lib.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | let mut spectralData: Vec = vec![0f64; 401]; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `spectral_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/main.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | let mut events_loop = glutin [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 15 | [INFO] [stdout] 16 | let window = glutin::WindowBuilder::new(); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/main.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | let mut events_loop = glutin [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 15 | [INFO] [stdout] 16 | let window = glutin::WindowBuilder::new(); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `konicars` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate konicars; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `konicars` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate konicars; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found crate `glutin` [INFO] [stdout] --> src/main.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | let mut events_loop = glutin [INFO] [stdout] | ^^^^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/main.rs:77:31 [INFO] [stdout] | [INFO] [stdout] 77 | let cd = measure(&mut port).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/main.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | set_nd_filter(&mut port, 0).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/main.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found crate `glutin` [INFO] [stdout] --> src/main.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | let mut events_loop = glutin [INFO] [stdout] | ^^^^^^ not a value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/main.rs:77:31 [INFO] [stdout] | [INFO] [stdout] 77 | let cd = measure(&mut port).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `port` in this scope [INFO] [stdout] --> src/main.rs:90:24 [INFO] [stdout] | [INFO] [stdout] 90 | set_nd_filter(&mut port, 0).unwrap(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | implement_vertex!(Vertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` 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 imports: `thread`, `time` [INFO] [stdout] --> src/main.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | implement_vertex!(Vertex, position); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` 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] error[E0425]: cannot find function `init_connection` in this scope [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | init_connection(env::args_os().skip(1)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init_connection` in this scope [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | init_connection(env::args_os().skip(1)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `measure` in this scope [INFO] [stdout] --> src/main.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | let cd = measure(&mut port).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `measure` in this scope [INFO] [stdout] --> src/main.rs:77:18 [INFO] [stdout] | [INFO] [stdout] 77 | let cd = measure(&mut port).unwrap(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_nd_filter` in this scope [INFO] [stdout] --> src/main.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | set_nd_filter(&mut port, 0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_nd_filter` in this scope [INFO] [stdout] --> src/main.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | set_nd_filter(&mut port, 0).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0425, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] [INFO] [stderr] error: could not compile `konica` (bin "konica") due to 9 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `konica` (bin "konica" test) due to 9 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "212e8fc1555ee1ec99c81095b6ede0e495f98a3f62b6d870fe8ff7402ec3c6e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "212e8fc1555ee1ec99c81095b6ede0e495f98a3f62b6d870fe8ff7402ec3c6e3", kill_on_drop: false }` [INFO] [stdout] 212e8fc1555ee1ec99c81095b6ede0e495f98a3f62b6d870fe8ff7402ec3c6e3