[INFO] cloning repository https://github.com/Ncerzzk/RustFlight [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ncerzzk/RustFlight" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNcerzzk%2FRustFlight", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNcerzzk%2FRustFlight'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5fceff63428dee404f5d5e5f481fb9f283302ae1 [INFO] checking Ncerzzk/RustFlight against try#804fff1ae95da9d03bd44eee27f258020a575dab for pr-146013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNcerzzk%2FRustFlight" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Ncerzzk/RustFlight [INFO] finished tweaking git repo https://github.com/Ncerzzk/RustFlight [INFO] tweaked toml for git repo https://github.com/Ncerzzk/RustFlight written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ncerzzk/RustFlight on toolchain 804fff1ae95da9d03bd44eee27f258020a575dab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Ncerzzk/RustFlight 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" "+804fff1ae95da9d03bd44eee27f258020a575dab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sendfd v0.4.3 [INFO] [stderr] Downloaded fdt v0.1.5 [INFO] [stderr] Downloaded ctor v0.2.6 [INFO] [stderr] Downloaded serde_json v1.0.109 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.52.1 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.52.1 [INFO] [stderr] Downloaded web-sys v0.3.67 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.52.1 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.52.1 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.52.1 [INFO] [stderr] Downloaded windows_i686_gnu v0.52.1 [INFO] [stderr] Downloaded windows_i686_msvc v0.52.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33d680266b21ae13842e361706baad0826481dc045a37a0dd4a97be0ff6c0d08 [INFO] running `Command { std: "docker" "start" "-a" "33d680266b21ae13842e361706baad0826481dc045a37a0dd4a97be0ff6c0d08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33d680266b21ae13842e361706baad0826481dc045a37a0dd4a97be0ff6c0d08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33d680266b21ae13842e361706baad0826481dc045a37a0dd4a97be0ff6c0d08", kill_on_drop: false }` [INFO] [stdout] 33d680266b21ae13842e361706baad0826481dc045a37a0dd4a97be0ff6c0d08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+804fff1ae95da9d03bd44eee27f258020a575dab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bf748101de0a5763a0eef5f2d6d03a0ecd14eb050238729357c56a05024d9c9 [INFO] running `Command { std: "docker" "start" "-a" "6bf748101de0a5763a0eef5f2d6d03a0ecd14eb050238729357c56a05024d9c9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.71 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling serde_json v1.0.109 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling libc v0.2.150 (https://github.com/rust-lang/libc.git#497ac428) [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking fdt v0.1.5 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking rayon-core v1.12.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking sendfd v0.4.3 [INFO] [stderr] Compiling syn v2.0.43 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking rayon v1.8.1 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking polling v3.5.0 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling ctor v0.2.6 [INFO] [stderr] Checking rpos v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary braces around `break` value [INFO] [stdout] --> src/lock_step.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | break { (deadline - current).to_nano() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 59 - break { (deadline - current).to_nano() }; [INFO] [stdout] 59 + break (deadline - current).to_nano(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stdout] warning: unused import: `black_box` [INFO] [stdout] --> benches/schedule_bench.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use criterion::{black_box, criterion_group, criterion_main, Criterion}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/hrt.rs:225:9 [INFO] [stdout] | [INFO] [stdout] 225 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `used_linker` [INFO] [stdout] --> src/msg.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | #[ctor::ctor] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `lock_step_enabled` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ctor::ctor` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `ctor::ctor` may come from an old version of the `ctor` crate, try updating your dependency with `cargo update -p ctor` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `ctor::ctor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around `break` value [INFO] [stdout] --> src/lock_step.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | break { (deadline - current).to_nano() }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 59 - break { (deadline - current).to_nano() }; [INFO] [stdout] 59 + break (deadline - current).to_nano(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `used_linker` [INFO] [stdout] --> src/module.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | #[ctor] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `lock_step_enabled` [INFO] [stdout] = note: using a cfg inside a attribute macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `ctor` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the attribute macro `ctor` may come from an old version of the `ctor` crate, try updating your dependency with `cargo update -p ctor` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the attribute macro `ctor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::null` [INFO] [stdout] --> src/pthread_scheduler.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | use std::ptr::null; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 6 arguments were supplied [INFO] [stdout] --> benches/schedule_bench.rs:40:14 [INFO] [stdout] | [INFO] [stdout] 40 | let sp = SchedulePthread::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | None, [INFO] [stdout] | ---- unexpected argument #6 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/pthread_scheduler.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 45 - true, [INFO] [stdout] 46 - None, [INFO] [stdout] 45 + true, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `last_scheduled_time` on type `Arc` [INFO] [stdout] --> benches/schedule_bench.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | *(sp.last_scheduled_time.read().unwrap()) - *(sp.deadline.read().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `thread_args`, `thread_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `deadline` on type `Arc` [INFO] [stdout] --> benches/schedule_bench.rs:21:74 [INFO] [stdout] | [INFO] [stdout] 21 | *(sp.last_scheduled_time.read().unwrap()) - *(sp.deadline.read().unwrap()); [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `thread_args`, `thread_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `last_scheduled_time` on type `Arc` [INFO] [stdout] --> benches/schedule_bench.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | ... *(sp.last_scheduled_time.read().unwrap()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `thread_args`, `thread_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `deadline` on type `Arc` [INFO] [stdout] --> benches/schedule_bench.rs:27:34 [INFO] [stdout] | [INFO] [stdout] 27 | ... *(sp.deadline.read().unwrap()) [INFO] [stdout] | ^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `thread_args`, `thread_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 6 arguments were supplied [INFO] [stdout] --> benches/schedule_bench.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | let sp = SchedulePthread::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | None, [INFO] [stdout] | ---- unexpected argument #6 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/pthread_scheduler.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 76 - true, [INFO] [stdout] 77 - None, [INFO] [stdout] 76 + true, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 6 arguments were supplied [INFO] [stdout] --> benches/schedule_bench.rs:106:14 [INFO] [stdout] | [INFO] [stdout] 106 | let sp = SchedulePthread::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | None, [INFO] [stdout] | ---- unexpected argument #6 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/workdir/src/pthread_scheduler.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 111 - true, [INFO] [stdout] 112 - None, [INFO] [stdout] 111 + true, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `last_scheduled_time` on type `Arc` [INFO] [stdout] --> benches/schedule_bench.rs:97:68 [INFO] [stdout] | [INFO] [stdout] 97 | let latency = rpos::hrt::get_time_now() - *(sp.last_scheduled_time.read().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `thread_args`, `thread_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cnt` [INFO] [stdout] --> benches/schedule_bench.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | let mut cnt = 0; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cnt` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> benches/schedule_bench.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | let mut cnt = 0; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> benches/schedule_bench.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let mut c = unsafe { &mut *(sp.thread_args as *mut Criterion) }; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rpos` (bench "schedule_bench") due to 8 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0061]: this function takes 5 arguments but 6 arguments were supplied [INFO] [stdout] --> src/pthread_scheduler.rs:132:18 [INFO] [stdout] | [INFO] [stdout] 132 | let sp = SchedulePthread::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | None, [INFO] [stdout] | ---- unexpected argument #6 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/pthread_scheduler.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 137 - false, [INFO] [stdout] 138 - None, [INFO] [stdout] 137 + false, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 5 arguments but 6 arguments were supplied [INFO] [stdout] --> src/pthread_scheduler.rs:168:18 [INFO] [stdout] | [INFO] [stdout] 168 | let sp = SchedulePthread::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | None, [INFO] [stdout] | ---- unexpected argument #6 of type `Option<_>` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/pthread_scheduler.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 173 - false, [INFO] [stdout] 174 - None, [INFO] [stdout] 173 + false, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argv` [INFO] [stdout] --> src/module.rs:48:29 [INFO] [stdout] | [INFO] [stdout] 48 | fn test_func(argc: u32, argv: *const &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_argv` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rx2` [INFO] [stdout] --> src/channel.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | let rx2 = rx.clone(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rpos` (lib test) due to 2 previous errors; 10 warnings emitted [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/channel.rs:254:18 [INFO] [stdout] | [INFO] [stdout] 254 | let (tx, mut rx) = Channel::::new(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/channel.rs:298:18 [INFO] [stdout] | [INFO] [stdout] 298 | let (tx, mut rx) = Channel::::new(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/channel.rs:295:22 [INFO] [stdout] | [INFO] [stdout] 295 | fn test_func(msg: &TestStruct) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6bf748101de0a5763a0eef5f2d6d03a0ecd14eb050238729357c56a05024d9c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bf748101de0a5763a0eef5f2d6d03a0ecd14eb050238729357c56a05024d9c9", kill_on_drop: false }` [INFO] [stdout] 6bf748101de0a5763a0eef5f2d6d03a0ecd14eb050238729357c56a05024d9c9