[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 try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLabGamesVR%2FGyroLib" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/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-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LabGamesVR/GyroLib on toolchain 943e2200e35c3825486c4671b6cab0107a07f8c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a15ca6b1198565498a4b9b65c7763a8f98caef306badfe2959003c422d93ab3a [INFO] running `Command { std: "docker" "start" "-a" "a15ca6b1198565498a4b9b65c7763a8f98caef306badfe2959003c422d93ab3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a15ca6b1198565498a4b9b65c7763a8f98caef306badfe2959003c422d93ab3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a15ca6b1198565498a4b9b65c7763a8f98caef306badfe2959003c422d93ab3a", kill_on_drop: false }` [INFO] [stdout] a15ca6b1198565498a4b9b65c7763a8f98caef306badfe2959003c422d93ab3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00517e3ffd69c12d6e78551db629563ccdb992280abafeed8206003f7e782df8 [INFO] running `Command { std: "docker" "start" "-a" "00517e3ffd69c12d6e78551db629563ccdb992280abafeed8206003f7e782df8", kill_on_drop: false }` [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] 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 unidecode v0.3.0 [INFO] [stderr] Checking queue v0.3.1 [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 csv-core v0.1.11 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking libudev v0.3.0 [INFO] [stderr] Checking rand_core v0.6.4 [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 regex-automata v0.4.6 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking unescaper v0.1.4 [INFO] [stderr] Checking serialport v4.3.0 [INFO] [stderr] Checking serde_json v1.0.116 [INFO] [stderr] Checking csv v1.2.2 [INFO] [stderr] Checking bincode v1.3.3 [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] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/previsor.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | const DIR_REDES: Dir = include_dir!("redes"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | using this value as a constant requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_dir` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/previsor.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | const DIR_REDES: Dir = include_dir!("redes"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | using this value as a constant requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_dir` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/previsor.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | const DIR_REDES: Dir = include_dir!("redes"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | using this value as a constant requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_dir` (in Nightly builds, run with -Z macro-backtrace for more info) [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] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gyro_lib` (lib test) due to 1 previous error; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/previsor.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | const DIR_REDES: Dir = include_dir!("redes"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | using this value as a constant requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_dir` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gyro_lib` (bin "gyro_lib") due to 1 previous error; 6 warnings emitted [INFO] [stderr] error: could not compile `gyro_lib` (bin "gyro_lib" test) due to 1 previous error; 6 warnings emitted [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] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gyro_lib` (lib) due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "00517e3ffd69c12d6e78551db629563ccdb992280abafeed8206003f7e782df8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00517e3ffd69c12d6e78551db629563ccdb992280abafeed8206003f7e782df8", kill_on_drop: false }` [INFO] [stdout] 00517e3ffd69c12d6e78551db629563ccdb992280abafeed8206003f7e782df8