[INFO] updating cached repository https://github.com/oniGino/lenovo_throttled [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 11f352f587dc4d27b9a504c436e8feb2e063cdde [INFO] testing oniGino/lenovo_throttled against beta-2019-09-28 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2FoniGino%2Flenovo_throttled" "work/builds/worker-0/source"` [INFO] [stderr] Cloning into 'work/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/oniGino/lenovo_throttled on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "read-manifest" "--manifest-path" "Cargo.toml"` [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 work/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/oniGino/lenovo_throttled already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "build" "--frozen"` [INFO] [stdout] 71854830f71ee40394f752431916f779830d86d5e88164e02e08fe6db9ecfd60 [INFO] running `"docker" "start" "-a" "71854830f71ee40394f752431916f779830d86d5e88164e02e08fe6db9ecfd60"` [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling proc-macro2 v0.4.13 [INFO] [stderr] Compiling serde v1.0.71 [INFO] [stderr] Compiling pkg-config v0.3.13 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling ryu v0.2.4 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling rust-ini v0.12.2 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling byteorder v0.3.13 [INFO] [stderr] Compiling lazy_static v1.1.0 [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 num-traits v0.1.43 [INFO] [stderr] Compiling yaml-rust v0.4.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling libdbus-sys v0.1.3 [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 linked-hash-map v0.3.0 [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 quote v0.6.6 [INFO] [stderr] Compiling mio v0.6.15 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling syn v0.14.8 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v1.0.2 [INFO] [stderr] Compiling dbus v0.6.2 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling serde-hjson v0.8.1 [INFO] [stderr] Compiling serde_derive v1.0.71 [INFO] [stderr] Compiling toml v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.26 [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] [stderr] error[E0425]: cannot find value `exit_event` in this scope [INFO] [stderr] --> src/main.rs:82:76 [INFO] [stderr] | [INFO] [stderr] 82 | let th_handler = th_builder.spawn(move || power_thread(settings, regs, exit_event, power)).unwrap(); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `exit_event` in this scope [INFO] [stderr] --> src/main.rs:131:9 [INFO] [stderr] | [INFO] [stderr] 131 | exit_event.set(true); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `exit_event` in this scope [INFO] [stderr] --> src/main.rs:156:5 [INFO] [stderr] | [INFO] [stderr] 156 | exit_event.set(); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `event_loop` in this scope [INFO] [stderr] --> src/main.rs:157:5 [INFO] [stderr] | [INFO] [stderr] 157 | event_loop.close(); [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `mchbar_mmio` in this scope [INFO] [stderr] --> src/main.rs:452:9 [INFO] [stderr] | [INFO] [stderr] 452 | mchbar_mmio.write32(0, write_value & 0xffffffff); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `mchbar_mmio` in this scope [INFO] [stderr] --> src/main.rs:453:9 [INFO] [stderr] | [INFO] [stderr] 453 | mchbar_mmio.write32(4, write_value >> 32); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `mchbar_mmio` in this scope [INFO] [stderr] --> src/main.rs:455:30 [INFO] [stderr] | [INFO] [stderr] 455 | let read_value = mchbar_mmio.read32(0) | (mchbar_mmio.read32(4) << 32); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `mchbar_mmio` in this scope [INFO] [stderr] --> src/main.rs:455:55 [INFO] [stderr] | [INFO] [stderr] 455 | let read_value = mchbar_mmio.read32(0) | (mchbar_mmio.read32(4) << 32); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:397:81 [INFO] [stderr] | [INFO] [stderr] 397 | fn power_thread(config: Config, regs: HashMap<(String,String),u64>, exit_event: mio::Evented, power: HashMap<&str,&str>) { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn mio::Evented` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/main.rs:156:5 [INFO] [stderr] | [INFO] [stderr] 143 | / loop { [INFO] [stderr] 144 | | event_poller.poll(&mut events, None).unwrap(); [INFO] [stderr] 145 | | [INFO] [stderr] 146 | | for event in events.iter() { [INFO] [stderr] ... | [INFO] [stderr] 153 | | } [INFO] [stderr] 154 | | } [INFO] [stderr] | |_____- any code following this expression is unreachable [INFO] [stderr] 155 | //On exit from loop do [INFO] [stderr] 156 | exit_event.set(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `(dyn mio::Evented + 'static)` cannot be known at compilation time [INFO] [stderr] --> src/main.rs:82:47 [INFO] [stderr] | [INFO] [stderr] 82 | let th_handler = th_builder.spawn(move || power_thread(settings, regs, exit_event, power)).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `(dyn mio::Evented + 'static)` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: all function arguments must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [INFO] [stderr] [INFO] [stderr] error[E0277]: the size for values of type `(dyn mio::Evented + 'static)` cannot be known at compilation time [INFO] [stderr] --> src/main.rs:397:69 [INFO] [stderr] | [INFO] [stderr] 397 | fn power_thread(config: Config, regs: HashMap<(String,String),u64>, exit_event: mio::Evented, power: HashMap<&str,&str>) { [INFO] [stderr] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::marker::Sized` is not implemented for `(dyn mio::Evented + 'static)` [INFO] [stderr] = note: to learn more, visit [INFO] [stderr] = note: all local variables must have a statically known size [INFO] [stderr] = help: unsized locals are gated as an unstable feature [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `is_set` found for type `(dyn mio::Evented + 'static)` in the current scope [INFO] [stderr] --> src/main.rs:408:23 [INFO] [stderr] | [INFO] [stderr] 408 | while !exit_event.is_set() { [INFO] [stderr] | ^^^^^^ method not found in `(dyn mio::Evented + 'static)` [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `u64` with `std::vec::Vec` [INFO] [stderr] --> src/main.rs:421:46 [INFO] [stderr] | [INFO] [stderr] 421 | let mat = *write_value >> 24 == read_value; [INFO] [stderr] | ^^ no implementation for `u64 == std::vec::Vec` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq>` is not implemented for `u64` [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `u64` with `std::vec::Vec` [INFO] [stderr] --> src/main.rs:434:40 [INFO] [stderr] | [INFO] [stderr] 434 | let mat = *write_value == read_value; [INFO] [stderr] | ^^ no implementation for `u64 == std::vec::Vec` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq>` is not implemented for `u64` [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `u64` with `std::vec::Vec` [INFO] [stderr] --> src/main.rs:446:36 [INFO] [stderr] | [INFO] [stderr] 446 | let mat = *write_value == read_value; [INFO] [stderr] | ^^ no implementation for `u64 == std::vec::Vec` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq>` is not implemented for `u64` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `wait` found for type `(dyn mio::Evented + 'static)` in the current scope [INFO] [stderr] --> src/main.rs:471:28 [INFO] [stderr] | [INFO] [stderr] 471 | exit_event.wait(wait_t); [INFO] [stderr] | ^^^^ method not found in `(dyn mio::Evented + 'static)` [INFO] [stderr] [INFO] [stderr] error: aborting due to 15 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0425, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `lenovo_throttled`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "71854830f71ee40394f752431916f779830d86d5e88164e02e08fe6db9ecfd60"` [INFO] running `"docker" "rm" "-f" "71854830f71ee40394f752431916f779830d86d5e88164e02e08fe6db9ecfd60"` [INFO] [stdout] 71854830f71ee40394f752431916f779830d86d5e88164e02e08fe6db9ecfd60