[INFO] cloning repository https://github.com/Joeyh021/hyperloop-tests [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Joeyh021/hyperloop-tests" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoeyh021%2Fhyperloop-tests", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoeyh021%2Fhyperloop-tests'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3adb32c3bc71fe6daa13263d05ae30eb78e358b7 [INFO] testing Joeyh021/hyperloop-tests against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoeyh021%2Fhyperloop-tests" "/workspace/builds/worker-105/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-105/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Joeyh021/hyperloop-tests on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Joeyh021/hyperloop-tests [INFO] finished tweaking git repo https://github.com/Joeyh021/hyperloop-tests [INFO] tweaked toml for git repo https://github.com/Joeyh021/hyperloop-tests written to /workspace/builds/worker-105/source/Cargo.toml [INFO] crate git repo https://github.com/Joeyh021/hyperloop-tests already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c807bb6d1604fe1b518e266b39e511c0195f4901dabb8f668109b935e2625e44 [INFO] running `Command { std: "docker" "start" "-a" "c807bb6d1604fe1b518e266b39e511c0195f4901dabb8f668109b935e2625e44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c807bb6d1604fe1b518e266b39e511c0195f4901dabb8f668109b935e2625e44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c807bb6d1604fe1b518e266b39e511c0195f4901dabb8f668109b935e2625e44", kill_on_drop: false }` [INFO] [stdout] c807bb6d1604fe1b518e266b39e511c0195f4901dabb8f668109b935e2625e44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-105/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 796a62ce7bb103a27555eb02b1c6210712be03fb56f443bed6c2ff5cd09194f5 [INFO] running `Command { std: "docker" "start" "-a" "796a62ce7bb103a27555eb02b1c6210712be03fb56f443bed6c2ff5cd09194f5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling rppal v0.13.1 [INFO] [stderr] Compiling component-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `degrees` in this scope [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | fn angle(u32: degrees) -> Duration { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `degrees` in this scope [INFO] [stdout] --> src/main.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | if (degrees > 180) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `degrees` in this scope [INFO] [stdout] --> src/main.rs:13:58 [INFO] [stdout] | [INFO] [stdout] 13 | return pulse_min + ((pulse_max - pulse_min) / 180) * degrees; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | if (degrees > 180) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 10 - if (degrees > 180) { [INFO] [stdout] 10 + if degrees > 180 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | let pulse_min = Duration::from_millis(0.75); [INFO] [stdout] | ^^^^ expected `u64`, found floating-point number [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:7:46 [INFO] [stdout] | [INFO] [stdout] 7 | let pulse_center = Duration::from_millis(1.5); [INFO] [stdout] | ^^^ expected `u64`, found floating-point number [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | let pulse_max = Duration::from_millis(2.25); [INFO] [stdout] | ^^^^ expected `u64`, found floating-point number [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/main.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 15 | / fn main() { [INFO] [stdout] 16 | | let servo = Pwm::with_period( [INFO] [stdout] 17 | | Channel::Pwm0, [INFO] [stdout] 18 | | Duration::from_millis(20), [INFO] [stdout] ... | [INFO] [stdout] 22 | | )?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 28 | | } [INFO] [stdout] 29 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `component-test` due to 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "796a62ce7bb103a27555eb02b1c6210712be03fb56f443bed6c2ff5cd09194f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "796a62ce7bb103a27555eb02b1c6210712be03fb56f443bed6c2ff5cd09194f5", kill_on_drop: false }` [INFO] [stdout] 796a62ce7bb103a27555eb02b1c6210712be03fb56f443bed6c2ff5cd09194f5