[INFO] fetching crate rustodrive 0.1.0... [INFO] checking rustodrive-0.1.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate rustodrive 0.1.0 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rustodrive 0.1.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 86 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.7.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 550fbfc55ffbd452efd61cfef52eb07ea87190381220ef5e18bfb5df23dd80a3 [INFO] running `Command { std: "docker" "start" "-a" "550fbfc55ffbd452efd61cfef52eb07ea87190381220ef5e18bfb5df23dd80a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "550fbfc55ffbd452efd61cfef52eb07ea87190381220ef5e18bfb5df23dd80a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "550fbfc55ffbd452efd61cfef52eb07ea87190381220ef5e18bfb5df23dd80a3", kill_on_drop: false }` [INFO] [stdout] 550fbfc55ffbd452efd61cfef52eb07ea87190381220ef5e18bfb5df23dd80a3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92a622351ae4eab4f746a91356e689012e4f9b978b0d0eec5f4b1bfbfce15d4f [INFO] running `Command { std: "docker" "start" "-a" "92a622351ae4eab4f746a91356e689012e4f9b978b0d0eec5f4b1bfbfce15d4f", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v0.4.0 [INFO] [stderr] Checking hex v0.2.0 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Checking try_from v0.2.2 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Checking nix v0.5.1 [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] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 147 | fn get_axis(&self, id: &AxisID) -> &Axis<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [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] 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] For more information about this error, try `rustc --explain E0061`. [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] 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] 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type 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" "92a622351ae4eab4f746a91356e689012e4f9b978b0d0eec5f4b1bfbfce15d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92a622351ae4eab4f746a91356e689012e4f9b978b0d0eec5f4b1bfbfce15d4f", kill_on_drop: false }` [INFO] [stdout] 92a622351ae4eab4f746a91356e689012e4f9b978b0d0eec5f4b1bfbfce15d4f