[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] ce50fce5366233b22253b1534d756c2b6efa8be1 [INFO] checking LabGamesVR/GyroLib/ce50fce5366233b22253b1534d756c2b6efa8be1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLabGamesVR%2FGyroLib" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LabGamesVR/GyroLib on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-tc2/source/Cargo.toml [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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac488ab9c4d61315edd7e6557505c3d12da86839d513958d5a20c4fb623ccc73 [INFO] running `Command { std: "docker" "start" "-a" "ac488ab9c4d61315edd7e6557505c3d12da86839d513958d5a20c4fb623ccc73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac488ab9c4d61315edd7e6557505c3d12da86839d513958d5a20c4fb623ccc73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac488ab9c4d61315edd7e6557505c3d12da86839d513958d5a20c4fb623ccc73", kill_on_drop: false }` [INFO] [stdout] ac488ab9c4d61315edd7e6557505c3d12da86839d513958d5a20c4fb623ccc73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] add9959393bee6a8103916e9b72c7ea5de57a67a0ce7ad84fe8c8a10fa6395b0 [INFO] running `Command { std: "docker" "start" "-a" "add9959393bee6a8103916e9b72c7ea5de57a67a0ce7ad84fe8c8a10fa6395b0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking regex-syntax v0.8.3 [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] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Compiling quote v1.0.36 [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 getrandom v0.2.15 [INFO] [stderr] Checking libudev-sys v0.1.4 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking libudev v0.3.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking csv v1.2.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling serde_derive v1.0.200 [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: 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)]` 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)]` 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)]` 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)]` 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/comm.rs:174:15 [INFO] [stdout] | [INFO] [stdout] 168 | lista: Arc)>>>, [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | lista_negra: Arc>>, [INFO] [stdout] | -------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | dados: Arc>>, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | rx: Receiver<()>, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | match serialport::new(Cow::from(&porta), 9600) [INFO] [stdout] | _______________^ [INFO] [stdout] 175 | | .timeout(Duration::from_millis(60)) [INFO] [stdout] 176 | | .open() [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [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] [stderr] error: could not compile `gyro_lib` (lib) due to 2 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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)]` 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)]` 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/comm.rs:174:15 [INFO] [stdout] | [INFO] [stdout] 168 | lista: Arc)>>>, [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | lista_negra: Arc>>, [INFO] [stdout] | -------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | dados: Arc>>, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | rx: Receiver<()>, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | match serialport::new(Cow::from(&porta), 9600) [INFO] [stdout] | _______________^ [INFO] [stdout] 175 | | .timeout(Duration::from_millis(60)) [INFO] [stdout] 176 | | .open() [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gyro_lib` (lib test) due to 2 previous errors; 9 warnings emitted [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)]` 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/comm.rs:174:15 [INFO] [stdout] | [INFO] [stdout] 168 | lista: Arc)>>>, [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | lista_negra: Arc>>, [INFO] [stdout] | -------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | dados: Arc>>, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | rx: Receiver<()>, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | match serialport::new(Cow::from(&porta), 9600) [INFO] [stdout] | _______________^ [INFO] [stdout] 175 | | .timeout(Duration::from_millis(60)) [INFO] [stdout] 176 | | .open() [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gyro_lib` (bin "gyro_lib" test) due to 2 previous errors; 9 warnings emitted [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)]` 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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/comm.rs:174:15 [INFO] [stdout] | [INFO] [stdout] 168 | lista: Arc)>>>, [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 169 | lista_negra: Arc>>, [INFO] [stdout] | -------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 170 | dados: Arc>>, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 171 | rx: Receiver<()>, [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 174 | match serialport::new(Cow::from(&porta), 9600) [INFO] [stdout] | _______________^ [INFO] [stdout] 175 | | .timeout(Duration::from_millis(60)) [INFO] [stdout] 176 | | .open() [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gyro_lib` (bin "gyro_lib") due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "add9959393bee6a8103916e9b72c7ea5de57a67a0ce7ad84fe8c8a10fa6395b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "add9959393bee6a8103916e9b72c7ea5de57a67a0ce7ad84fe8c8a10fa6395b0", kill_on_drop: false }` [INFO] [stdout] add9959393bee6a8103916e9b72c7ea5de57a67a0ce7ad84fe8c8a10fa6395b0