[INFO] cloning repository https://github.com/jbg/macbookfan [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jbg/macbookfan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjbg%2Fmacbookfan"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjbg%2Fmacbookfan'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 283b884de1d772f7b2ab39fe548b43f129a67b10 [INFO] checking jbg/macbookfan against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjbg%2Fmacbookfan" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jbg/macbookfan on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/jbg/macbookfan [INFO] finished tweaking git repo https://github.com/jbg/macbookfan [INFO] tweaked toml for git repo https://github.com/jbg/macbookfan written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/jbg/macbookfan already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pid_control v0.7.2 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 95e7876fce8e2c4779466cac69ccb80d7b8c154f90e9c06e49b27a9cf485a5be [INFO] running `"docker" "start" "-a" "95e7876fce8e2c4779466cac69ccb80d7b8c154f90e9c06e49b27a9cf485a5be"` [INFO] [stderr] Checking libc v0.2.29 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking pid_control v0.7.2 [INFO] [stderr] Checking lazy_static v0.2.8 [INFO] [stderr] Checking term_size v0.3.0 [INFO] [stderr] Checking atty v0.2.2 [INFO] [stderr] Checking textwrap v0.7.0 [INFO] [stderr] Checking clap v2.26.0 [INFO] [stderr] Checking macbookfan v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:43:1 [INFO] [stderr] | [INFO] [stderr] 43 | / lazy_static! { [INFO] [stderr] 44 | | static ref SMC_SYSFS_DIRECTORY: PathBuf = { [INFO] [stderr] 45 | | Path::new("/sys/devices/platform").join(APPLE_SMC) [INFO] [stderr] 46 | | }; [INFO] [stderr] ... | [INFO] [stderr] 49 | | }; [INFO] [stderr] 50 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:43:1 [INFO] [stderr] | [INFO] [stderr] 43 | / lazy_static! { [INFO] [stderr] 44 | | static ref SMC_SYSFS_DIRECTORY: PathBuf = { [INFO] [stderr] 45 | | Path::new("/sys/devices/platform").join(APPLE_SMC) [INFO] [stderr] 46 | | }; [INFO] [stderr] ... | [INFO] [stderr] 49 | | }; [INFO] [stderr] 50 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:43:1 [INFO] [stderr] | [INFO] [stderr] 43 | / lazy_static! { [INFO] [stderr] 44 | | static ref SMC_SYSFS_DIRECTORY: PathBuf = { [INFO] [stderr] 45 | | Path::new("/sys/devices/platform").join(APPLE_SMC) [INFO] [stderr] 46 | | }; [INFO] [stderr] ... | [INFO] [stderr] 49 | | }; [INFO] [stderr] 50 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:43:1 [INFO] [stderr] | [INFO] [stderr] 43 | / lazy_static! { [INFO] [stderr] 44 | | static ref SMC_SYSFS_DIRECTORY: PathBuf = { [INFO] [stderr] 45 | | Path::new("/sys/devices/platform").join(APPLE_SMC) [INFO] [stderr] 46 | | }; [INFO] [stderr] ... | [INFO] [stderr] 49 | | }; [INFO] [stderr] 50 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:43:1 [INFO] [stderr] | [INFO] [stderr] 43 | / lazy_static! { [INFO] [stderr] 44 | | static ref SMC_SYSFS_DIRECTORY: PathBuf = { [INFO] [stderr] 45 | | Path::new("/sys/devices/platform").join(APPLE_SMC) [INFO] [stderr] 46 | | }; [INFO] [stderr] ... | [INFO] [stderr] 49 | | }; [INFO] [stderr] 50 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:43:1 [INFO] [stderr] | [INFO] [stderr] 43 | / lazy_static! { [INFO] [stderr] 44 | | static ref SMC_SYSFS_DIRECTORY: PathBuf = { [INFO] [stderr] 45 | | Path::new("/sys/devices/platform").join(APPLE_SMC) [INFO] [stderr] 46 | | }; [INFO] [stderr] ... | [INFO] [stderr] 49 | | }; [INFO] [stderr] 50 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:43:1 [INFO] [stderr] | [INFO] [stderr] 43 | / lazy_static! { [INFO] [stderr] 44 | | static ref SMC_SYSFS_DIRECTORY: PathBuf = { [INFO] [stderr] 45 | | Path::new("/sys/devices/platform").join(APPLE_SMC) [INFO] [stderr] 46 | | }; [INFO] [stderr] ... | [INFO] [stderr] 49 | | }; [INFO] [stderr] 50 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:43:1 [INFO] [stderr] | [INFO] [stderr] 43 | / lazy_static! { [INFO] [stderr] 44 | | static ref SMC_SYSFS_DIRECTORY: PathBuf = { [INFO] [stderr] 45 | | Path::new("/sys/devices/platform").join(APPLE_SMC) [INFO] [stderr] 46 | | }; [INFO] [stderr] ... | [INFO] [stderr] 49 | | }; [INFO] [stderr] 50 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i32` is invalid [INFO] [stderr] --> src/main.rs:124:13 [INFO] [stderr] | [INFO] [stderr] 124 | controller.update(current_temperature, delta).round() as i32 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] error[E0606]: casting `f64` as `i32` is invalid [INFO] [stderr] --> src/main.rs:124:13 [INFO] [stderr] | [INFO] [stderr] 124 | controller.update(current_temperature, delta).round() as i32 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: aborting due to previous error; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0606`. [INFO] [stderr] error: could not compile `macbookfan`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `macbookfan`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "95e7876fce8e2c4779466cac69ccb80d7b8c154f90e9c06e49b27a9cf485a5be"` [INFO] running `"docker" "rm" "-f" "95e7876fce8e2c4779466cac69ccb80d7b8c154f90e9c06e49b27a9cf485a5be"` [INFO] [stdout] 95e7876fce8e2c4779466cac69ccb80d7b8c154f90e9c06e49b27a9cf485a5be