[INFO] cloning repository https://github.com/oniGino/lenovo_throttled [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oniGino/lenovo_throttled" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FoniGino%2Flenovo_throttled", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FoniGino%2Flenovo_throttled'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 11f352f587dc4d27b9a504c436e8feb2e063cdde [INFO] testing oniGino/lenovo_throttled against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FoniGino%2Flenovo_throttled" "/workspace/builds/worker-24/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-24/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oniGino/lenovo_throttled on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/oniGino/lenovo_throttled [INFO] finished tweaking git repo https://github.com/oniGino/lenovo_throttled [INFO] tweaked toml for git repo https://github.com/oniGino/lenovo_throttled written to /workspace/builds/worker-24/source/Cargo.toml [INFO] crate git repo https://github.com/oniGino/lenovo_throttled already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/borntyping/rust-psutil` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded log v0.4.4 [INFO] [stderr] Downloaded proc-macro2 v0.4.13 [INFO] [stderr] Downloaded config v0.9.0 [INFO] [stderr] Downloaded docopt v1.0.0 [INFO] [stderr] Downloaded serde-hjson v0.8.1 [INFO] [stderr] Downloaded rust-ini v0.12.2 [INFO] [stderr] Downloaded bytebuffer v0.2.1 [INFO] [stderr] Downloaded nom v4.0.0 [INFO] [stderr] Downloaded serde_json v1.0.26 [INFO] [stderr] Downloaded libdbus-sys v0.1.3 [INFO] [stderr] Downloaded dbus v0.6.2 [INFO] [stderr] Downloaded ryu v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06a2b02cedbc3c728f7875c36bc939f90cf342d1dbffd8691e7bba270e728112 [INFO] running `Command { std: "docker" "start" "-a" "06a2b02cedbc3c728f7875c36bc939f90cf342d1dbffd8691e7bba270e728112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06a2b02cedbc3c728f7875c36bc939f90cf342d1dbffd8691e7bba270e728112", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06a2b02cedbc3c728f7875c36bc939f90cf342d1dbffd8691e7bba270e728112", kill_on_drop: false }` [INFO] [stdout] 06a2b02cedbc3c728f7875c36bc939f90cf342d1dbffd8691e7bba270e728112 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b8f272a8dc856da56a285281aca3bbd27c9a20f979e2a2383c7ea88502ec820 [INFO] running `Command { std: "docker" "start" "-a" "4b8f272a8dc856da56a285281aca3bbd27c9a20f979e2a2383c7ea88502ec820", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling proc-macro2 v0.4.13 [INFO] [stderr] Compiling serde v1.0.71 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling pkg-config v0.3.13 [INFO] [stderr] Compiling ryu v0.2.4 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Compiling itoa v0.4.2 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling rust-ini v0.12.2 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling byteorder v0.3.13 [INFO] [stderr] Compiling lazycell v0.6.0 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling serde_test v0.8.23 [INFO] [stderr] Compiling log v0.4.4 [INFO] [stderr] Compiling bytebuffer v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.2 [INFO] [stderr] Compiling yaml-rust v0.4.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling memmap v0.6.2 [INFO] [stderr] Compiling psutil v1.1.1 (https://github.com/borntyping/rust-psutil#d7b49884) [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling libdbus-sys v0.1.3 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling aho-corasick v0.6.6 [INFO] [stderr] Compiling nom v4.0.0 [INFO] [stderr] Compiling mio v0.6.15 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling quote v0.6.6 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling dbus v0.6.2 [INFO] [stderr] Compiling syn v0.14.8 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling serde-hjson v0.8.1 [INFO] [stderr] Compiling serde_json v1.0.26 [INFO] [stderr] Compiling toml v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.71 [INFO] [stderr] Compiling config v0.9.0 [INFO] [stderr] Compiling docopt v1.0.0 [INFO] [stderr] Compiling lenovo_throttled v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `exit_event` in this scope [INFO] [stdout] --> src/main.rs:82:76 [INFO] [stdout] | [INFO] [stdout] 82 | let th_handler = th_builder.spawn(move || power_thread(settings, regs, exit_event, power)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `exit_event` in this scope [INFO] [stdout] --> src/main.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | exit_event.set(true); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `exit_event` in this scope [INFO] [stdout] --> src/main.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | exit_event.set(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `event_loop` in this scope [INFO] [stdout] --> src/main.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | event_loop.close(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mchbar_mmio` in this scope [INFO] [stdout] --> src/main.rs:452:9 [INFO] [stdout] | [INFO] [stdout] 452 | mchbar_mmio.write32(0, write_value & 0xffffffff); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mchbar_mmio` in this scope [INFO] [stdout] --> src/main.rs:453:9 [INFO] [stdout] | [INFO] [stdout] 453 | mchbar_mmio.write32(4, write_value >> 32); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mchbar_mmio` in this scope [INFO] [stdout] --> src/main.rs:455:30 [INFO] [stdout] | [INFO] [stdout] 455 | let read_value = mchbar_mmio.read32(0) | (mchbar_mmio.read32(4) << 32); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mchbar_mmio` in this scope [INFO] [stdout] --> src/main.rs:455:55 [INFO] [stdout] | [INFO] [stdout] 455 | let read_value = mchbar_mmio.read32(0) | (mchbar_mmio.read32(4) << 32); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:132:6 [INFO] [stdout] | [INFO] [stdout] 132 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:397:81 [INFO] [stdout] | [INFO] [stdout] 397 | fn power_thread(config: Config, regs: HashMap<(String,String),u64>, exit_event: mio::Evented, power: HashMap<&str,&str>) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 397 - fn power_thread(config: Config, regs: HashMap<(String,String),u64>, exit_event: mio::Evented, power: HashMap<&str,&str>) { [INFO] [stdout] 397 + fn power_thread(config: Config, regs: HashMap<(String,String),u64>, exit_event: dyn mio::Evented, power: HashMap<&str,&str>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 143 | / loop { [INFO] [stdout] 144 | | event_poller.poll(&mut events, None).unwrap(); [INFO] [stdout] 145 | | [INFO] [stdout] 146 | | for event in events.iter() { [INFO] [stdout] ... | [INFO] [stdout] 153 | | } [INFO] [stdout] 154 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 155 | //On exit from loop do [INFO] [stdout] 156 | exit_event.set(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn Evented + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:82:76 [INFO] [stdout] | [INFO] [stdout] 82 | let th_handler = th_builder.spawn(move || power_thread(settings, regs, exit_event, power)).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn Evented + 'static)` [INFO] [stdout] = note: all function arguments must have a statically known size [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn Evented + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:397:69 [INFO] [stdout] | [INFO] [stdout] 397 | fn power_thread(config: Config, regs: HashMap<(String,String),u64>, exit_event: mio::Evented, power: HashMap<&str,&str>) { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn Evented + 'static)` [INFO] [stdout] help: function arguments must have a statically known size, borrowed types always have a known size [INFO] [stdout] | [INFO] [stdout] 397 | fn power_thread(config: Config, regs: HashMap<(String,String),u64>, exit_event: &mio::Evented, power: HashMap<&str,&str>) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_set` found for trait object `(dyn Evented + 'static)` in the current scope [INFO] [stdout] --> src/main.rs:408:23 [INFO] [stdout] | [INFO] [stdout] 408 | while !exit_event.is_set() { [INFO] [stdout] | ^^^^^^ method not found in `(dyn Evented + 'static)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `u64` with `Vec` [INFO] [stdout] --> src/main.rs:421:46 [INFO] [stdout] | [INFO] [stdout] 421 | let mat = *write_value >> 24 == read_value; [INFO] [stdout] | ^^ no implementation for `u64 == Vec` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq>` is not implemented for `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `u64` with `Vec` [INFO] [stdout] --> src/main.rs:434:40 [INFO] [stdout] | [INFO] [stdout] 434 | let mat = *write_value == read_value; [INFO] [stdout] | ^^ no implementation for `u64 == Vec` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq>` is not implemented for `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `u64` with `Vec` [INFO] [stdout] --> src/main.rs:446:36 [INFO] [stdout] | [INFO] [stdout] 446 | let mat = *write_value == read_value; [INFO] [stdout] | ^^ no implementation for `u64 == Vec` [INFO] [stdout] | [INFO] [stdout] = help: the trait `PartialEq>` is not implemented for `u64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `wait` found for trait object `(dyn Evented + 'static)` in the current scope [INFO] [stdout] --> src/main.rs:471:28 [INFO] [stdout] | [INFO] [stdout] 471 | exit_event.wait(wait_t); [INFO] [stdout] | ^^^^ method not found in `(dyn Evented + 'static)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lenovo_throttled` due to 16 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4b8f272a8dc856da56a285281aca3bbd27c9a20f979e2a2383c7ea88502ec820", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b8f272a8dc856da56a285281aca3bbd27c9a20f979e2a2383c7ea88502ec820", kill_on_drop: false }` [INFO] [stdout] 4b8f272a8dc856da56a285281aca3bbd27c9a20f979e2a2383c7ea88502ec820