[INFO] fetching crate rustodrive 0.1.0... [INFO] checking rustodrive-0.1.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate rustodrive 0.1.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate rustodrive 0.1.0 [INFO] finished tweaking crates.io crate rustodrive 0.1.0 [INFO] tweaked toml for crates.io crate rustodrive 0.1.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rustodrive 0.1.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 85 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.6.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] [stderr] Adding socketcan v1.7.0 (available: v3.5.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6234dd3c860b57469571c211c255ad5e8317d2af5cdd4724bd1f629b52c5181 [INFO] running `Command { std: "docker" "start" "-a" "e6234dd3c860b57469571c211c255ad5e8317d2af5cdd4724bd1f629b52c5181", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6234dd3c860b57469571c211c255ad5e8317d2af5cdd4724bd1f629b52c5181", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6234dd3c860b57469571c211c255ad5e8317d2af5cdd4724bd1f629b52c5181", kill_on_drop: false }` [INFO] [stdout] e6234dd3c860b57469571c211c255ad5e8317d2af5cdd4724bd1f629b52c5181 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1b15d6bc04beef58e5026f21e13dfa8b0a81dc7a9ae1d743fe7a597b673bedf [INFO] running `Command { std: "docker" "start" "-a" "a1b15d6bc04beef58e5026f21e13dfa8b0a81dc7a9ae1d743fe7a597b673bedf", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking hex v0.2.0 [INFO] [stderr] Checking nix v0.5.1 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking try_from v0.2.2 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking socketcan v1.7.0 [INFO] [stderr] Checking rustodrive v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `other` [INFO] [stdout] --> src/macros.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | cfg_match! { other => $rest } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/cansocket.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / cfg_match! { [INFO] [stdout] 7 | | feature = "mock-socket" => { [INFO] [stdout] 8 | | [INFO] [stdout] 9 | | /// Mock implementation [INFO] [stdout] ... | [INFO] [stdout] 54 | | }, [INFO] [stdout] 55 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(other)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(other)");` to the top of the `build.rs` [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 macro `cfg_match` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/cansocket.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CANFrame` and `CANSocketOpenError` [INFO] [stdout] --> src/cansocket.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use socketcan::{CANSocketOpenError, CANFrame}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `canframe::CANRequest` and `state::ODriveCommand` [INFO] [stdout] --> src/cansocket.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{cfg_match, canframe::CANRequest, state::ODriveCommand}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/odrivegroup.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | fn get_axis(&self, id: &AxisID) -> &Axis { [INFO] [stdout] | ^^^^^ ----- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 147 | fn get_axis(&self, id: &AxisID) -> &Axis<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stdout] warning: unused imports: `Criterion` and `black_box` [INFO] [stdout] --> benches/rustodrive-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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `other` [INFO] [stdout] --> src/macros.rs:40:26 [INFO] [stdout] | [INFO] [stdout] 40 | cfg_match! { other => $rest } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/cansocket.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | / cfg_match! { [INFO] [stdout] 7 | | feature = "mock-socket" => { [INFO] [stdout] 8 | | [INFO] [stdout] 9 | | /// Mock implementation [INFO] [stdout] ... | [INFO] [stdout] 54 | | }, [INFO] [stdout] 55 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(other)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(other)");` to the top of the `build.rs` [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 macro `cfg_match` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/cansocket.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> benches/rustodrive-bench.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | criterion_group!(benches, bench_can_proxy); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unexpected argument of type `&mut Criterion` [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> benches/rustodrive-bench.rs:50:4 [INFO] [stdout] | [INFO] [stdout] 50 | fn bench_can_proxy() {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this error originates in the macro `$crate::criterion_group` which comes from the expansion of the macro `criterion_group` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CANFrame` and `CANSocketOpenError` [INFO] [stdout] --> src/cansocket.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use socketcan::{CANSocketOpenError, CANFrame}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `canframe::CANRequest` and `state::ODriveCommand` [INFO] [stdout] --> src/cansocket.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{cfg_match, canframe::CANRequest, state::ODriveCommand}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustodrive` (bench "rustodrive-bench") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/odrivegroup.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | fn get_axis(&self, id: &AxisID) -> &Axis { [INFO] [stdout] | ^^^^^ ----- [INFO] [stdout] | | || [INFO] [stdout] | | |the lifetimes get resolved as `'_` [INFO] [stdout] | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 147 | fn get_axis(&self, id: &AxisID) -> &Axis<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a1b15d6bc04beef58e5026f21e13dfa8b0a81dc7a9ae1d743fe7a597b673bedf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1b15d6bc04beef58e5026f21e13dfa8b0a81dc7a9ae1d743fe7a597b673bedf", kill_on_drop: false }` [INFO] [stdout] a1b15d6bc04beef58e5026f21e13dfa8b0a81dc7a9ae1d743fe7a597b673bedf