[INFO] cloning repository https://github.com/dbasedow/cantact [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dbasedow/cantact" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdbasedow%2Fcantact", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdbasedow%2Fcantact'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9f5f1564a25e04535c750976cf618eeb58159db9 [INFO] checking dbasedow/cantact against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdbasedow%2Fcantact" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dbasedow/cantact on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dbasedow/cantact [INFO] finished tweaking git repo https://github.com/dbasedow/cantact [INFO] tweaked toml for git repo https://github.com/dbasedow/cantact written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/dbasedow/cantact already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f95dd1cb8d3435bac7ffedf4b2e4632d76d6ca58be7565f89c2008af713140e6 [INFO] running `Command { std: "docker" "start" "-a" "f95dd1cb8d3435bac7ffedf4b2e4632d76d6ca58be7565f89c2008af713140e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f95dd1cb8d3435bac7ffedf4b2e4632d76d6ca58be7565f89c2008af713140e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f95dd1cb8d3435bac7ffedf4b2e4632d76d6ca58be7565f89c2008af713140e6", kill_on_drop: false }` [INFO] [stdout] f95dd1cb8d3435bac7ffedf4b2e4632d76d6ca58be7565f89c2008af713140e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 333c95731cda5688caf289235d06af743ea37b78fd7bbb14952f5a5e71cd8c6a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "333c95731cda5688caf289235d06af743ea37b78fd7bbb14952f5a5e71cd8c6a", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Checking serial-core v0.4.0 [INFO] [stderr] Checking ioctl-rs v0.1.6 [INFO] [stderr] Checking serial-unix v0.4.0 [INFO] [stderr] Checking serial v0.4.0 [INFO] [stderr] Checking cantact v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | try!(port.reconfigure(&|settings| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | try!(port.set_timeout(Duration::from_millis(1000))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | try!(port.write(b"C\r")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | try!(port.write(b"S6\r")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | try!(port.write(b"O\r")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | try!(settings.set_baud_rate(serial::Baud115200)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/slcan.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | b'0'...b'9' => hex & 0x0f, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/slcan.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | b'a'...b'f' | b'A'...b'F' => (hex & 0x0f) + 9, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/slcan.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | b'a'...b'f' | b'A'...b'F' => (hex & 0x0f) + 9, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | try!(port.reconfigure(&|settings| { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | try!(port.set_timeout(Duration::from_millis(1000))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | try!(port.write(b"C\r")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | try!(port.write(b"S6\r")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | try!(port.write(b"O\r")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | try!(settings.set_baud_rate(serial::Baud115200)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/slcan.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | b'0'...b'9' => hex & 0x0f, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/slcan.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | b'a'...b'f' | b'A'...b'F' => (hex & 0x0f) + 9, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/slcan.rs:56:27 [INFO] [stdout] | [INFO] [stdout] 56 | b'a'...b'f' | b'A'...b'F' => (hex & 0x0f) + 9, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/main.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | let frame = slcan::parse_serial_line(&frame_buf[0..i]); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_address` [INFO] [stdout] --> src/protocols/transport/isotp.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | source_address: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_address` [INFO] [stdout] --> src/protocols/transport/isotp.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | target_address: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/protocols/transport/isotp.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | data: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `IsoTp` [INFO] [stdout] --> src/protocols/transport/isotp.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct IsoTp {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `MessageType` [INFO] [stdout] --> src/protocols/transport/isotp.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | enum MessageType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `TargetAddressType` [INFO] [stdout] --> src/protocols/transport/isotp.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | enum TargetAddressType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ResultType` [INFO] [stdout] --> src/protocols/transport/isotp.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | enum ResultType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Message` [INFO] [stdout] --> src/protocols/transport/isotp.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct Message {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `requestTransfer` [INFO] [stdout] --> src/protocols/transport/isotp.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn requestTransfer( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `requestTransfer` should have a snake case name [INFO] [stdout] --> src/protocols/transport/isotp.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn requestTransfer( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `request_transfer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/main.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | let frame = slcan::parse_serial_line(&frame_buf[0..i]); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `source_address` [INFO] [stdout] --> src/protocols/transport/isotp.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | source_address: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_source_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target_address` [INFO] [stdout] --> src/protocols/transport/isotp.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | target_address: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/protocols/transport/isotp.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | data: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `IsoTp` [INFO] [stdout] --> src/protocols/transport/isotp.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct IsoTp {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `MessageType` [INFO] [stdout] --> src/protocols/transport/isotp.rs:16:6 [INFO] [stdout] | [INFO] [stdout] 16 | enum MessageType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `TargetAddressType` [INFO] [stdout] --> src/protocols/transport/isotp.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | enum TargetAddressType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ResultType` [INFO] [stdout] --> src/protocols/transport/isotp.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 26 | enum ResultType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Message` [INFO] [stdout] --> src/protocols/transport/isotp.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | struct Message {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `requestTransfer` [INFO] [stdout] --> src/protocols/transport/isotp.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn requestTransfer( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `requestTransfer` should have a snake case name [INFO] [stdout] --> src/protocols/transport/isotp.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | fn requestTransfer( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `request_transfer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.77s [INFO] running `Command { std: "docker" "inspect" "333c95731cda5688caf289235d06af743ea37b78fd7bbb14952f5a5e71cd8c6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "333c95731cda5688caf289235d06af743ea37b78fd7bbb14952f5a5e71cd8c6a", kill_on_drop: false }` [INFO] [stdout] 333c95731cda5688caf289235d06af743ea37b78fd7bbb14952f5a5e71cd8c6a