[INFO] cloning repository https://github.com/samuelhem/rust-car
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/samuelhem/rust-car" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamuelhem%2Frust-car", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamuelhem%2Frust-car'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c8b41c545bde930a124b842d18b8d2787ddddca1
[INFO] checking samuelhem/rust-car against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamuelhem%2Frust-car" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/samuelhem/rust-car
[INFO] finished tweaking git repo https://github.com/samuelhem/rust-car
[INFO] tweaked toml for git repo https://github.com/samuelhem/rust-car written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/samuelhem/rust-car on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/samuelhem/rust-car 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded proc-macro2 v1.0.50
[INFO] [stderr]   Downloaded num-complex v0.4.3
[INFO] [stderr]   Downloaded aligned-array v1.0.1
[INFO] [stderr]   Downloaded network-interface v0.1.6
[INFO] [stderr]   Downloaded nix v0.26.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c5314e0bcc867e8ffb36251bfb6f374088b5750a9369d8ac45b371b1652ae464
[INFO] running `Command { std: "docker" "start" "-a" "c5314e0bcc867e8ffb36251bfb6f374088b5750a9369d8ac45b371b1652ae464", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c5314e0bcc867e8ffb36251bfb6f374088b5750a9369d8ac45b371b1652ae464", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c5314e0bcc867e8ffb36251bfb6f374088b5750a9369d8ac45b371b1652ae464", kill_on_drop: false }`
[INFO] [stdout] c5314e0bcc867e8ffb36251bfb6f374088b5750a9369d8ac45b371b1652ae464
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c234432cece0b30d774e01e0ab25f6af8148a52b5de53524813a877b5768dd2d
[INFO] running `Command { std: "docker" "start" "-a" "c234432cece0b30d774e01e0ab25f6af8148a52b5de53524813a877b5768dd2d", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling proc-macro2 v1.0.50
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling syn v1.0.107
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling libc v0.2.139
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling network-interface v0.1.6
[INFO] [stderr]     Checking generic-array v0.14.6
[INFO] [stderr]     Checking aligned-array v1.0.1
[INFO] [stderr]    Compiling quote v1.0.23
[INFO] [stderr]     Checking num-complex v0.4.3
[INFO] [stderr]     Checking nix v0.26.2
[INFO] [stderr]     Checking num v0.4.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.38
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]     Checking thiserror v1.0.38
[INFO] [stderr]     Checking rust-can-bindings v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]    --> src/cansocket.rs:121:5
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub struct BinaryModel {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] 121 |     value: String,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `BinaryModel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `source_id` is never read
[INFO] [stdout]   --> src/isotp.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct IsoTPSocket {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     source_id: u32,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Convertable` is never used
[INFO] [stdout]    --> src/isotp.rs:238:7
[INFO] [stdout]     |
[INFO] [stdout] 238 | trait Convertable {
[INFO] [stdout]     |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SingleFrame` is never constructed
[INFO] [stdout]    --> src/isotp.rs:242:8
[INFO] [stdout]     |
[INFO] [stdout] 242 | struct SingleFrame {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `idx` is never read
[INFO] [stdout]    --> src/isotp.rs:254:5
[INFO] [stdout]     |
[INFO] [stdout] 253 | struct ConsecutiveFrame {
[INFO] [stdout]     |        ---------------- field in this struct
[INFO] [stdout] 254 |     idx: u8,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `A8`, which is not FFI-safe
[INFO] [stdout]    --> src/cansocket.rs:165:32
[INFO] [stdout]     |
[INFO] [stdout] 165 |     fn write(socket: i32, buf: *const CanFrame, count: usize) -> i32;
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a member to this struct
[INFO] [stdout]     = note: this struct has no fields
[INFO] [stdout]     = note: `#[warn(improper_ctypes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `A8`, which is not FFI-safe
[INFO] [stdout]    --> src/cansocket.rs:169:31
[INFO] [stdout]     |
[INFO] [stdout] 169 |     fn read(socket: i32, buf: *mut CanFrame, size: usize) -> i32;
[INFO] [stdout]     |                               ^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a member to this struct
[INFO] [stdout]     = note: this struct has no fields
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/isotp.rs:292:10
[INFO] [stdout]     |
[INFO] [stdout] 292 | #[derive(FromPrimitive, Debug)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FlowControlType`
[INFO] [stdout] 293 | enum FlowControlType {
[INFO] [stdout]     |      --------------- `FlowControlType` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]    --> src/cansocket.rs:121:5
[INFO] [stdout]     |
[INFO] [stdout] 120 | pub struct BinaryModel {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] 121 |     value: String,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `BinaryModel` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `source_id` is never read
[INFO] [stdout]   --> src/isotp.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct IsoTPSocket {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 13 |     source_id: u32,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Convertable` is never used
[INFO] [stdout]    --> src/isotp.rs:238:7
[INFO] [stdout]     |
[INFO] [stdout] 238 | trait Convertable {
[INFO] [stdout]     |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SingleFrame` is never constructed
[INFO] [stdout]    --> src/isotp.rs:242:8
[INFO] [stdout]     |
[INFO] [stdout] 242 | struct SingleFrame {
[INFO] [stdout]     |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `idx` is never read
[INFO] [stdout]    --> src/isotp.rs:254:5
[INFO] [stdout]     |
[INFO] [stdout] 253 | struct ConsecutiveFrame {
[INFO] [stdout]     |        ---------------- field in this struct
[INFO] [stdout] 254 |     idx: u8,
[INFO] [stdout]     |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `A8`, which is not FFI-safe
[INFO] [stdout]    --> src/cansocket.rs:165:32
[INFO] [stdout]     |
[INFO] [stdout] 165 |     fn write(socket: i32, buf: *const CanFrame, count: usize) -> i32;
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a member to this struct
[INFO] [stdout]     = note: this struct has no fields
[INFO] [stdout]     = note: `#[warn(improper_ctypes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` block uses type `A8`, which is not FFI-safe
[INFO] [stdout]    --> src/cansocket.rs:169:31
[INFO] [stdout]     |
[INFO] [stdout] 169 |     fn read(socket: i32, buf: *mut CanFrame, size: usize) -> i32;
[INFO] [stdout]     |                               ^^^^^^^^^^^^^ not FFI-safe
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider adding a member to this struct
[INFO] [stdout]     = note: this struct has no fields
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]    --> src/isotp.rs:292:10
[INFO] [stdout]     |
[INFO] [stdout] 292 | #[derive(FromPrimitive, Debug)]
[INFO] [stdout]     |          ^------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          `FromPrimitive` is not local
[INFO] [stdout]     |          move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FlowControlType`
[INFO] [stdout] 293 | enum FlowControlType {
[INFO] [stdout]     |      --------------- `FlowControlType` is not local
[INFO] [stdout]     |
[INFO] [stdout]     = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]     = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]     = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]     = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]     = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]     = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[macro_use]
[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 `#[macro_use]` import
[INFO] [stdout]  --> src/main.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.26s
[INFO] running `Command { std: "docker" "inspect" "c234432cece0b30d774e01e0ab25f6af8148a52b5de53524813a877b5768dd2d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c234432cece0b30d774e01e0ab25f6af8148a52b5de53524813a877b5768dd2d", kill_on_drop: false }`
[INFO] [stdout] c234432cece0b30d774e01e0ab25f6af8148a52b5de53524813a877b5768dd2d
