[INFO] cloning repository https://github.com/AnyLeaf/ph-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AnyLeaf/ph-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnyLeaf%2Fph-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnyLeaf%2Fph-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5b96992477f5c74bdb1d914d29b4ff6dd581931 [INFO] checking AnyLeaf/ph-rust against master#5e3f1b148db5bfa27fee52464ae1f5d34c49d77b for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnyLeaf%2Fph-rust" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AnyLeaf/ph-rust on toolchain 5e3f1b148db5bfa27fee52464ae1f5d34c49d77b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AnyLeaf/ph-rust [INFO] finished tweaking git repo https://github.com/AnyLeaf/ph-rust [INFO] tweaked toml for git repo https://github.com/AnyLeaf/ph-rust written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/AnyLeaf/ph-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 481122efbceaffb9ca82dd1fcf9b4618041abad373b5654cbb78c507048254db [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "481122efbceaffb9ca82dd1fcf9b4618041abad373b5654cbb78c507048254db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "481122efbceaffb9ca82dd1fcf9b4618041abad373b5654cbb78c507048254db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "481122efbceaffb9ca82dd1fcf9b4618041abad373b5654cbb78c507048254db", kill_on_drop: false }` [INFO] [stdout] 481122efbceaffb9ca82dd1fcf9b4618041abad373b5654cbb78c507048254db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3fdf29a639068a9e1298ef62e9c79b40c253215a878835c7d4e3c3379ee6d01 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e3fdf29a639068a9e1298ef62e9c79b40c253215a878835c7d4e3c3379ee6d01", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking nb v0.1.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Checking ads1x1x v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking num-integer v0.1.42 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Compiling paste-impl v0.1.15 [INFO] [stderr] Checking paste v0.1.15 [INFO] [stderr] Checking simba v0.1.2 [INFO] [stderr] Checking nalgebra v0.21.0 [INFO] [stderr] Checking filter v0.2.0 [INFO] [stderr] Checking anyleaf v0.1.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `raw` [INFO] [stdout] --> src/lib.rs:637:13 [INFO] [stdout] | [INFO] [stdout] 637 | let raw = self.sensor.read_raw(spi)?; [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_raw` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `T2` [INFO] [stdout] --> src/lib.rs:746:13 [INFO] [stdout] | [INFO] [stdout] 746 | let T2 = T.unwrap_or(20.); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_T2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp` [INFO] [stdout] --> src/ec.rs:335:28 [INFO] [stdout] | [INFO] [stdout] 335 | fn ec_from_voltage(V: f32, temp: f32) -> f32 { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `T` [INFO] [stdout] --> src/ec.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 304 | T: f32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_T` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_` [INFO] [stdout] --> src/max31865.rs:262:33 [INFO] [stdout] | [INFO] [stdout] 262 | fn lookup_temperature(val: u16, type_: RtdType) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_type_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `double_gain` found for struct `mcp4921::Command` in the current scope [INFO] [stdout] --> src/mcp4921.rs:397:38 [INFO] [stdout] | [INFO] [stdout] 270 | pub struct Command { [INFO] [stdout] | ------------------ method `double_gain` not found for this [INFO] [stdout] ... [INFO] [stdout] 397 | let cmd = Command::default().double_gain(); [INFO] [stdout] | ^^^^^^^^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 397 | let cmd = Command::default().double_gain; [INFO] [stdout] | -- [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 397 | let cmd = Command::default()._double_gain(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `double_gain` found for struct `mcp4921::Command` in the current scope [INFO] [stdout] --> src/mcp4921.rs:403:38 [INFO] [stdout] | [INFO] [stdout] 270 | pub struct Command { [INFO] [stdout] | ------------------ method `double_gain` not found for this [INFO] [stdout] ... [INFO] [stdout] 403 | let cmd = Command::default().double_gain().single_gain(); [INFO] [stdout] | ^^^^^^^^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 403 | let cmd = Command::default().double_gain.single_gain(); [INFO] [stdout] | -- [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 403 | let cmd = Command::default()._double_gain().single_gain(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `buffered` found for struct `mcp4921::Command` in the current scope [INFO] [stdout] --> src/mcp4921.rs:421:38 [INFO] [stdout] | [INFO] [stdout] 270 | pub struct Command { [INFO] [stdout] | ------------------ method `buffered` not found for this [INFO] [stdout] ... [INFO] [stdout] 421 | let cmd = Command::default().buffered(); [INFO] [stdout] | ^^^^^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 421 | let cmd = Command::default().buffered; [INFO] [stdout] | -- [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 421 | let cmd = Command::default()._buffered(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `buffered` found for struct `mcp4921::Command` in the current scope [INFO] [stdout] --> src/mcp4921.rs:427:38 [INFO] [stdout] | [INFO] [stdout] 270 | pub struct Command { [INFO] [stdout] | ------------------ method `buffered` not found for this [INFO] [stdout] ... [INFO] [stdout] 427 | let cmd = Command::default().buffered().unbuffered(); [INFO] [stdout] | ^^^^^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: remove the arguments [INFO] [stdout] | [INFO] [stdout] 427 | let cmd = Command::default().buffered.unbuffered(); [INFO] [stdout] | -- [INFO] [stdout] help: there is an associated function with a similar name [INFO] [stdout] | [INFO] [stdout] 427 | let cmd = Command::default()._buffered().unbuffered(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::float::FloatCore` [INFO] [stdout] --> src/lib.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | use num_traits::float::FloatCore; // Required to take absolute value in `no_std`. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num_traits::float::FloatCore` [INFO] [stdout] --> src/filter_.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use num_traits::float::FloatCore; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `raise` [INFO] [stdout] --> src/ec.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | fn raise(&self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ec_from_voltage` [INFO] [stdout] --> src/ec.rs:335:4 [INFO] [stdout] | [INFO] [stdout] 335 | fn ec_from_voltage(V: f32, temp: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `type_` [INFO] [stdout] --> src/lib.rs:561:5 [INFO] [stdout] | [INFO] [stdout] 561 | type_: RtdType, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `wires` [INFO] [stdout] --> src/lib.rs:562:5 [INFO] [stdout] | [INFO] [stdout] 562 | wires: RtdWires, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `anyleaf`. [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] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e3fdf29a639068a9e1298ef62e9c79b40c253215a878835c7d4e3c3379ee6d01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3fdf29a639068a9e1298ef62e9c79b40c253215a878835c7d4e3c3379ee6d01", kill_on_drop: false }` [INFO] [stdout] e3fdf29a639068a9e1298ef62e9c79b40c253215a878835c7d4e3c3379ee6d01