[INFO] cloning repository https://github.com/therealfarfetchd/tabletsupport [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/therealfarfetchd/tabletsupport" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftherealfarfetchd%2Ftabletsupport", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftherealfarfetchd%2Ftabletsupport'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e17750f8fb2692c2b0c471e2c35bd71c3164464e [INFO] checking therealfarfetchd/tabletsupport against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftherealfarfetchd%2Ftabletsupport" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/therealfarfetchd/tabletsupport on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/therealfarfetchd/tabletsupport [INFO] finished tweaking git repo https://github.com/therealfarfetchd/tabletsupport [INFO] tweaked toml for git repo https://github.com/therealfarfetchd/tabletsupport written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/therealfarfetchd/tabletsupport 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dbus v0.6.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00de329e83682c52f1867ffafd79012e408007b363f417e7f318fe1e51bcfd24 [INFO] running `Command { std: "docker" "start" "-a" "00de329e83682c52f1867ffafd79012e408007b363f417e7f318fe1e51bcfd24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00de329e83682c52f1867ffafd79012e408007b363f417e7f318fe1e51bcfd24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00de329e83682c52f1867ffafd79012e408007b363f417e7f318fe1e51bcfd24", kill_on_drop: false }` [INFO] [stdout] 00de329e83682c52f1867ffafd79012e408007b363f417e7f318fe1e51bcfd24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 810384dcaf6fe132c77cc13959a160e4496f6e7eb5e5e0459977b731fe656fd1 [INFO] running `Command { std: "docker" "start" "-a" "810384dcaf6fe132c77cc13959a160e4496f6e7eb5e5e0459977b731fe656fd1", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling libc v0.2.59 [INFO] [stderr] Compiling libdbus-sys v0.1.5 [INFO] [stderr] Checking dbus v0.6.4 [INFO] [stderr] Checking tabletsupport v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sensorproxy.rs:9:108 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sensorproxy.rs:9:108 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self::Err>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sensorproxy.rs:28:108 [INFO] [stdout] | [INFO] [stdout] 28 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sensorproxy.rs:28:108 [INFO] [stdout] | [INFO] [stdout] 28 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self::Err> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sensorproxy.rs:54:82 [INFO] [stdout] | [INFO] [stdout] 54 | pub changed_properties: ::std::collections::HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | pub changed_properties: ::std::collections::HashMap>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sensorproxy.rs:54:82 [INFO] [stdout] | [INFO] [stdout] 54 | pub changed_properties: ::std::collections::HashMap>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | pub changed_properties: ::std::collections::HashMap>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sensorproxy.rs:35:78 [INFO] [stdout] | [INFO] [stdout] 35 | let properties: ::std::collections::HashMap>> = i.read()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | let properties: ::std::collections::HashMap>> = i.read()?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/sensorproxy.rs:35:78 [INFO] [stdout] | [INFO] [stdout] 35 | let properties: ::std::collections::HashMap>> = i.read()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | let properties: ::std::collections::HashMap>> = i.read()?; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `get_all`, and `set` are never used [INFO] [stdout] --> src/sensorproxy.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait OrgFreedesktopDBusProperties { [INFO] [stdout] | ---------------------------- methods in this trait [INFO] [stdout] 7 | type Err; [INFO] [stdout] 8 | fn get arg::Get<'b>>(&self, interface_name: &str, property_name: &str) -> Result, Self::Err>; [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | fn set(&self, interface_name: &str, property_name: &str, value: arg::Variant) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `get_all`, and `set` are never used [INFO] [stdout] --> src/sensorproxy.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait OrgFreedesktopDBusProperties { [INFO] [stdout] | ---------------------------- methods in this trait [INFO] [stdout] 7 | type Err; [INFO] [stdout] 8 | fn get arg::Get<'b>>(&self, interface_name: &str, property_name: &str) -> Result, Self::Err>; [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | fn get_all(&self, interface_name: &str) -> Result<::std::collections::HashMap>>, Self... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | fn set(&self, interface_name: &str, property_name: &str, value: arg::Variant) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `introspect` is never used [INFO] [stdout] --> src/sensorproxy.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait OrgFreedesktopDBusIntrospectable { [INFO] [stdout] | -------------------------------- method in this trait [INFO] [stdout] 75 | type Err; [INFO] [stdout] 76 | fn introspect(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `introspect` is never used [INFO] [stdout] --> src/sensorproxy.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub trait OrgFreedesktopDBusIntrospectable { [INFO] [stdout] | -------------------------------- method in this trait [INFO] [stdout] 75 | type Err; [INFO] [stdout] 76 | fn introspect(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ping` and `get_machine_id` are never used [INFO] [stdout] --> src/sensorproxy.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait OrgFreedesktopDBusPeer { [INFO] [stdout] | ---------------------- methods in this trait [INFO] [stdout] 93 | type Err; [INFO] [stdout] 94 | fn ping(&self) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 95 | fn get_machine_id(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `ping` and `get_machine_id` are never used [INFO] [stdout] --> src/sensorproxy.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 92 | pub trait OrgFreedesktopDBusPeer { [INFO] [stdout] | ---------------------- methods in this trait [INFO] [stdout] 93 | type Err; [INFO] [stdout] 94 | fn ping(&self) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^ [INFO] [stdout] 95 | fn get_machine_id(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `release_accelerometer`, `claim_light`, `release_light`, `get_has_ambient_light`, `get_light_level_unit`, and `get_light_level` are never used [INFO] [stdout] --> src/sensorproxy.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub trait NetHadessSensorProxy { [INFO] [stdout] | -------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 121 | fn release_accelerometer(&self) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 122 | fn claim_light(&self) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 123 | fn release_light(&self) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn get_has_ambient_light(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 127 | fn get_light_level_unit(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 128 | fn get_light_level(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `release_accelerometer`, `claim_light`, `release_light`, `get_has_ambient_light`, `get_light_level_unit`, and `get_light_level` are never used [INFO] [stdout] --> src/sensorproxy.rs:121:8 [INFO] [stdout] | [INFO] [stdout] 118 | pub trait NetHadessSensorProxy { [INFO] [stdout] | -------------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 121 | fn release_accelerometer(&self) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 122 | fn claim_light(&self) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 123 | fn release_light(&self) -> Result<(), Self::Err>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 126 | fn get_has_ambient_light(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 127 | fn get_light_level_unit(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 128 | fn get_light_level(&self) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/main.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | for rd in fs::read_dir(CONF_PATH) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 48 | while let Ok(rd) = fs::read_dir(CONF_PATH) { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 48 | if let Ok(rd) = fs::read_dir(CONF_PATH) { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/main.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | for rd in fs::read_dir(CONF_PATH) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 48 | while let Ok(rd) = fs::read_dir(CONF_PATH) { [INFO] [stdout] | ~~~~~~~~~~~~~ ~~~ [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 48 | if let Ok(rd) = fs::read_dir(CONF_PATH) { [INFO] [stdout] | ~~~~~~~~~~ ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.10s [INFO] running `Command { std: "docker" "inspect" "810384dcaf6fe132c77cc13959a160e4496f6e7eb5e5e0459977b731fe656fd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "810384dcaf6fe132c77cc13959a160e4496f6e7eb5e5e0459977b731fe656fd1", kill_on_drop: false }` [INFO] [stdout] 810384dcaf6fe132c77cc13959a160e4496f6e7eb5e5e0459977b731fe656fd1