[INFO] cloning repository https://github.com/0xf4b1/quars [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xf4b1/quars" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xf4b1%2Fquars", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xf4b1%2Fquars'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 87cfeb24dba0d46258e617323105ce61a10d9a55 [INFO] checking 0xf4b1/quars against 656a9da186dacaf3bf8f7f7296a825d256cb4ae3 for pr-158915 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xf4b1%2Fquars" "/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/0xf4b1/quars [INFO] finished tweaking git repo https://github.com/0xf4b1/quars [INFO] tweaked toml for git repo https://github.com/0xf4b1/quars written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/0xf4b1/quars on toolchain 656a9da186dacaf3bf8f7f7296a825d256cb4ae3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+656a9da186dacaf3bf8f7f7296a825d256cb4ae3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/0xf4b1/quars 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" "+656a9da186dacaf3bf8f7f7296a825d256cb4ae3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.0.68 [INFO] [stderr] Downloaded vcpkg v0.2.13 [INFO] [stderr] Downloaded rusb v0.8.0 [INFO] [stderr] Downloaded libusb1-sys v0.5.0 [INFO] [stderr] Downloaded libc v0.2.95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] de98f6308a8e50ad409d349eb86ee0fc138e9c54b5419e98be5d4380e0ed9b7f [INFO] running `Command { std: "docker" "start" "de98f6308a8e50ad409d349eb86ee0fc138e9c54b5419e98be5d4380e0ed9b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de98f6308a8e50ad409d349eb86ee0fc138e9c54b5419e98be5d4380e0ed9b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "de98f6308a8e50ad409d349eb86ee0fc138e9c54b5419e98be5d4380e0ed9b7f" "/opt/rustwide/cargo-home/bin/cargo" "+656a9da186dacaf3bf8f7f7296a825d256cb4ae3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de98f6308a8e50ad409d349eb86ee0fc138e9c54b5419e98be5d4380e0ed9b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "de98f6308a8e50ad409d349eb86ee0fc138e9c54b5419e98be5d4380e0ed9b7f" "/opt/rustwide/cargo-home/bin/cargo" "+656a9da186dacaf3bf8f7f7296a825d256cb4ae3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling rusb v0.8.0 [INFO] [stderr] Compiling libusb1-sys v0.5.0 [INFO] [stderr] Checking quars v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `config`, `iface`, and `setting` are never read [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct Endpoint { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 36 | config: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | iface: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | setting: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Endpoint` 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: fields `config`, `iface`, and `setting` are never read [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct Endpoint { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 36 | config: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 37 | iface: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 38 | setting: u8, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Endpoint` 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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/main.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 242 | &'a mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 243 | path: &str, [INFO] [stdout] 244 | ) -> Result<&(Vec, Vec), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 244 | ) -> Result<&'a (Vec, Vec), std::io::Error> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/main.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 242 | &'a mut self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 243 | path: &str, [INFO] [stdout] 244 | ) -> Result<&(Vec, Vec), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 244 | ) -> Result<&'a (Vec, Vec), std::io::Error> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/main.rs:282:62 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn open_file<'a>(&'a mut self, path: &str) -> Result<&File, std::io::Error> { [INFO] [stdout] | -- the lifetime is named here ^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 282 | pub fn open_file<'a>(&'a mut self, path: &str) -> Result<&'a File, std::io::Error> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/main.rs:282:62 [INFO] [stdout] | [INFO] [stdout] 282 | pub fn open_file<'a>(&'a mut self, path: &str) -> Result<&File, std::io::Error> { [INFO] [stdout] | -- the lifetime is named here ^^^^^ the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 282 | pub fn open_file<'a>(&'a mut self, path: &str) -> Result<&'a File, std::io::Error> { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `Command { std: "docker" "inspect" "de98f6308a8e50ad409d349eb86ee0fc138e9c54b5419e98be5d4380e0ed9b7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de98f6308a8e50ad409d349eb86ee0fc138e9c54b5419e98be5d4380e0ed9b7f", kill_on_drop: false }` [INFO] [stdout] de98f6308a8e50ad409d349eb86ee0fc138e9c54b5419e98be5d4380e0ed9b7f