[INFO] cloning repository https://github.com/LabGamesVR/GyroLib
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LabGamesVR/GyroLib" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLabGamesVR%2FGyroLib", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLabGamesVR%2FGyroLib'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f6c7183d9af50ec39794495381809bb2439f95c1
[INFO] checking LabGamesVR/GyroLib against eca445e5ae4a6679cc27d3a09106ce245e13a5a6 for pr-162478
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLabGamesVR%2FGyroLib" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/LabGamesVR/GyroLib
[INFO] finished tweaking git repo https://github.com/LabGamesVR/GyroLib
[INFO] tweaked toml for git repo https://github.com/LabGamesVR/GyroLib written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/LabGamesVR/GyroLib on toolchain eca445e5ae4a6679cc27d3a09106ce245e13a5a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/LabGamesVR/GyroLib 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" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: binary `gyro_lib` should have a kebab-case name
[INFO] [stderr]    |
[INFO] [stderr]  1 | /workspace/builds/worker-1-tc1/source/target/.../gyro_lib
[INFO] [stderr]    |                                                  ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::non_kebab_case_bins` is set to `warn` by default
[INFO] [stderr] help: to change the binary name to `gyro-lib`, convert `package.name`
[INFO] [stderr]   --> Cargo.toml:15:8
[INFO] [stderr]    |
[INFO] [stderr] 15 - name = "gyro_lib"
[INFO] [stderr] 15 + name = "gyro-lib"
[INFO] [stderr]    |
[INFO] [stderr] help: to change the binary name to `gyro-lib`, specify `bin.name`
[INFO] [stderr]   --> Cargo.toml:16:19
[INFO] [stderr]    |
[INFO] [stderr] 16 ~ version = "0.1.0"
[INFO] [stderr] 17 + [[bin]]
[INFO] [stderr] 18 + name = "gyro-lib"
[INFO] [stderr] 19 + path = "src/main.rs"
[INFO] [stderr]    |
[INFO] [stderr] warning: `gyro_lib` (manifest) generated 1 warning
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded queue v0.3.1
[INFO] [stderr]   Downloaded serde v1.0.200
[INFO] [stderr]   Downloaded neuroflow v0.2.0
[INFO] [stderr]   Downloaded serde_derive v1.0.200
[INFO] [stderr]   Downloaded libc v0.2.154
[INFO] [stderr]   Downloaded include_dir v0.7.3
[INFO] [stderr]   Downloaded serialport v4.3.0
[INFO] [stderr]   Downloaded unescaper v0.1.4
[INFO] [stderr]   Downloaded include_dir_macros v0.7.3
[INFO] [stderr]   Downloaded csv v1.2.2
[INFO] [stderr]   Downloaded unidecode v0.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 58f739942d92aab0ea41ac7621bd1ac3e1f892bdc022833a61db75b79061b693
[INFO] running `Command { std: "docker" "start" "58f739942d92aab0ea41ac7621bd1ac3e1f892bdc022833a61db75b79061b693", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "58f739942d92aab0ea41ac7621bd1ac3e1f892bdc022833a61db75b79061b693", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "58f739942d92aab0ea41ac7621bd1ac3e1f892bdc022833a61db75b79061b693" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "58f739942d92aab0ea41ac7621bd1ac3e1f892bdc022833a61db75b79061b693", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "58f739942d92aab0ea41ac7621bd1ac3e1f892bdc022833a61db75b79061b693" "/opt/rustwide/cargo-home/bin/cargo" "+eca445e5ae4a6679cc27d3a09106ce245e13a5a6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: binary `gyro_lib` should have a kebab-case name
[INFO] [stderr]    |
[INFO] [stderr]  1 | /opt/rustwide/target/.../gyro_lib
[INFO] [stderr]    |                          ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `cargo::non_kebab_case_bins` is set to `warn` by default
[INFO] [stderr] help: to change the binary name to `gyro-lib`, convert `package.name`
[INFO] [stderr]   --> Cargo.toml:15:8
[INFO] [stderr]    |
[INFO] [stderr] 15 - name = "gyro_lib"
[INFO] [stderr] 15 + name = "gyro-lib"
[INFO] [stderr]    |
[INFO] [stderr] help: to change the binary name to `gyro-lib`, specify `bin.name`
[INFO] [stderr]   --> Cargo.toml:16:19
[INFO] [stderr]    |
[INFO] [stderr] 16 ~ version = "0.1.0"
[INFO] [stderr] 17 + [[bin]]
[INFO] [stderr] 18 + name = "gyro-lib"
[INFO] [stderr] 19 + path = "src/main.rs"
[INFO] [stderr]    |
[INFO] [stderr] warning: `gyro_lib` (manifest) generated 1 warning
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]     Checking memchr v2.7.2
[INFO] [stderr]    Compiling serde v1.0.200
[INFO] [stderr]    Compiling libm v0.2.8
[INFO] [stderr]    Compiling thiserror v1.0.59
[INFO] [stderr]    Compiling serde_json v1.0.116
[INFO] [stderr]     Checking regex-syntax v0.8.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking bitflags v2.5.0
[INFO] [stderr]     Checking queue v0.3.1
[INFO] [stderr]     Checking unidecode v0.3.0
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]    Compiling include_dir_macros v0.7.3
[INFO] [stderr]     Checking include_dir v0.7.3
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking csv-core v0.1.11
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking nix v0.26.4
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking libudev v0.3.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.59
[INFO] [stderr]    Compiling serde_derive v1.0.200
[INFO] [stderr]     Checking rand_distr v0.4.3
[INFO] [stderr]     Checking csv v1.2.2
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking unescaper v0.1.4
[INFO] [stderr]     Checking serialport v4.3.0
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr]     Checking neuroflow v0.2.0
[INFO] [stderr]     Checking gyro_lib v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/dispositivo.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::usize;
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/dispositivo.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::usize;
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/dispositivo.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::usize;
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::usize`: all constants in this module replaced by associated constants on the type
[INFO] [stdout]  --> src/dispositivo.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::usize;
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/c_bindings.rs:65:42
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub unsafe extern "C" fn obter_movimento(s: *mut Sensores, buffer: *mut u8) {
[INFO] [stdout]    |                                          ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buffer`
[INFO] [stdout]   --> src/c_bindings.rs:65:60
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub unsafe extern "C" fn obter_movimento(s: *mut Sensores, buffer: *mut u8) {
[INFO] [stdout]    |                                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/c_bindings.rs:74:44
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub unsafe extern "C" fn listar_movimentos(s: *mut Sensores, buffer: *mut u8) {
[INFO] [stdout]    |                                            ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buffer`
[INFO] [stdout]   --> src/c_bindings.rs:74:62
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub unsafe extern "C" fn listar_movimentos(s: *mut Sensores, buffer: *mut u8) {
[INFO] [stdout]    |                                                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/c_bindings.rs:83:47
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub unsafe extern "C" fn obter_movimento_cruz(s: *mut Sensores, buffer: *mut f32) {
[INFO] [stdout]    |                                               ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buffer`
[INFO] [stdout]   --> src/c_bindings.rs:83:65
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub unsafe extern "C" fn obter_movimento_cruz(s: *mut Sensores, buffer: *mut f32) {
[INFO] [stdout]    |                                                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `nome` is never read
[INFO] [stdout]   --> src/dispositivo.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Dispositivo {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 12 |     pub nome: &'static str,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `obter_identificador_movimento` is never used
[INFO] [stdout]   --> src/dispositivo.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Dispositivo {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] 17 |     pub fn obter_identificador_movimento(&self, index:usize)->String{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `obter_dados_dispositivo` is never used
[INFO] [stdout]   --> src/dispositivo.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Dispositivos {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn obter_dados_dispositivo(&self, identificador: &str) -> Option<&'static Dispositivo> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/c_bindings.rs:65:42
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub unsafe extern "C" fn obter_movimento(s: *mut Sensores, buffer: *mut u8) {
[INFO] [stdout]    |                                          ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buffer`
[INFO] [stdout]   --> src/c_bindings.rs:65:60
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub unsafe extern "C" fn obter_movimento(s: *mut Sensores, buffer: *mut u8) {
[INFO] [stdout]    |                                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/c_bindings.rs:74:44
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub unsafe extern "C" fn listar_movimentos(s: *mut Sensores, buffer: *mut u8) {
[INFO] [stdout]    |                                            ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buffer`
[INFO] [stdout]   --> src/c_bindings.rs:74:62
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub unsafe extern "C" fn listar_movimentos(s: *mut Sensores, buffer: *mut u8) {
[INFO] [stdout]    |                                                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/c_bindings.rs:83:47
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub unsafe extern "C" fn obter_movimento_cruz(s: *mut Sensores, buffer: *mut f32) {
[INFO] [stdout]    |                                               ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buffer`
[INFO] [stdout]   --> src/c_bindings.rs:83:65
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub unsafe extern "C" fn obter_movimento_cruz(s: *mut Sensores, buffer: *mut f32) {
[INFO] [stdout]    |                                                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/c_bindings.rs:65:42
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub unsafe extern "C" fn obter_movimento(s: *mut Sensores, buffer: *mut u8) {
[INFO] [stdout]    |                                          ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buffer`
[INFO] [stdout]   --> src/c_bindings.rs:65:60
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub unsafe extern "C" fn obter_movimento(s: *mut Sensores, buffer: *mut u8) {
[INFO] [stdout]    |                                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/c_bindings.rs:74:44
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub unsafe extern "C" fn listar_movimentos(s: *mut Sensores, buffer: *mut u8) {
[INFO] [stdout]    |                                            ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buffer`
[INFO] [stdout]   --> src/c_bindings.rs:74:62
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub unsafe extern "C" fn listar_movimentos(s: *mut Sensores, buffer: *mut u8) {
[INFO] [stdout]    |                                                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/c_bindings.rs:83:47
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub unsafe extern "C" fn obter_movimento_cruz(s: *mut Sensores, buffer: *mut f32) {
[INFO] [stdout]    |                                               ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buffer`
[INFO] [stdout]   --> src/c_bindings.rs:83:65
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub unsafe extern "C" fn obter_movimento_cruz(s: *mut Sensores, buffer: *mut f32) {
[INFO] [stdout]    |                                                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/c_bindings.rs:65:42
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub unsafe extern "C" fn obter_movimento(s: *mut Sensores, buffer: *mut u8) {
[INFO] [stdout]    |                                          ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buffer`
[INFO] [stdout]   --> src/c_bindings.rs:65:60
[INFO] [stdout]    |
[INFO] [stdout] 65 | pub unsafe extern "C" fn obter_movimento(s: *mut Sensores, buffer: *mut u8) {
[INFO] [stdout]    |                                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/c_bindings.rs:74:44
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub unsafe extern "C" fn listar_movimentos(s: *mut Sensores, buffer: *mut u8) {
[INFO] [stdout]    |                                            ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buffer`
[INFO] [stdout]   --> src/c_bindings.rs:74:62
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub unsafe extern "C" fn listar_movimentos(s: *mut Sensores, buffer: *mut u8) {
[INFO] [stdout]    |                                                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `s`
[INFO] [stdout]   --> src/c_bindings.rs:83:47
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub unsafe extern "C" fn obter_movimento_cruz(s: *mut Sensores, buffer: *mut f32) {
[INFO] [stdout]    |                                               ^ help: if this is intentional, prefix it with an underscore: `_s`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `buffer`
[INFO] [stdout]   --> src/c_bindings.rs:83:65
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub unsafe extern "C" fn obter_movimento_cruz(s: *mut Sensores, buffer: *mut f32) {
[INFO] [stdout]    |                                                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_buffer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `nome` is never read
[INFO] [stdout]   --> src/dispositivo.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct Dispositivo {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 12 |     pub nome: &'static str,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `obter_identificador_movimento` is never used
[INFO] [stdout]   --> src/dispositivo.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Dispositivo {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] 17 |     pub fn obter_identificador_movimento(&self, index:usize)->String{
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `obter_dados_dispositivo` is never used
[INFO] [stdout]   --> src/dispositivo.rs:42:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Dispositivos {
[INFO] [stdout]    | ----------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 42 |     pub fn obter_dados_dispositivo(&self, identificador: &str) -> Option<&'static Dispositivo> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `treinar` is never used
[INFO] [stdout]   --> src/main.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn treinar() -> std::io::Result<()> {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `coletar` is never used
[INFO] [stdout]   --> src/main.rs:83:4
[INFO] [stdout]    |
[INFO] [stdout] 83 | fn coletar() {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `teste_c_bindings` is never used
[INFO] [stdout]    --> src/main.rs:244:4
[INFO] [stdout]     |
[INFO] [stdout] 244 | fn teste_c_bindings() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `treinar` is never used
[INFO] [stdout]   --> src/main.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn treinar() -> std::io::Result<()> {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `coletar` is never used
[INFO] [stdout]   --> src/main.rs:83:4
[INFO] [stdout]    |
[INFO] [stdout] 83 | fn coletar() {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `teste_c_bindings` is never used
[INFO] [stdout]    --> src/main.rs:244:4
[INFO] [stdout]     |
[INFO] [stdout] 244 | fn teste_c_bindings() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.78s
[INFO] running `Command { std: "docker" "inspect" "58f739942d92aab0ea41ac7621bd1ac3e1f892bdc022833a61db75b79061b693", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "58f739942d92aab0ea41ac7621bd1ac3e1f892bdc022833a61db75b79061b693", kill_on_drop: false }`
[INFO] [stdout] 58f739942d92aab0ea41ac7621bd1ac3e1f892bdc022833a61db75b79061b693
