[INFO] cloning repository https://github.com/Mshivam2409/teensy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mshivam2409/teensy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMshivam2409%2Fteensy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMshivam2409%2Fteensy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f62a0f69b17a2871efb1b98c091a3e255006a8b4 [INFO] checking Mshivam2409/teensy against master#c5fbcd35a8217a17f6b63a22217ace06cf8f5f02 for pr-86194 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMshivam2409%2Fteensy" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mshivam2409/teensy on toolchain c5fbcd35a8217a17f6b63a22217ace06cf8f5f02 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-14/source/.cargo/config [INFO] started tweaking git repo https://github.com/Mshivam2409/teensy [INFO] finished tweaking git repo https://github.com/Mshivam2409/teensy [INFO] tweaked toml for git repo https://github.com/Mshivam2409/teensy written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/Mshivam2409/teensy already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 567d599eea3ab62a59cd2072f002182a9d6bb4ef9bfe81dd0c03f6751b57925e [INFO] running `Command { std: "docker" "start" "-a" "567d599eea3ab62a59cd2072f002182a9d6bb4ef9bfe81dd0c03f6751b57925e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "567d599eea3ab62a59cd2072f002182a9d6bb4ef9bfe81dd0c03f6751b57925e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "567d599eea3ab62a59cd2072f002182a9d6bb4ef9bfe81dd0c03f6751b57925e", kill_on_drop: false }` [INFO] [stdout] 567d599eea3ab62a59cd2072f002182a9d6bb4ef9bfe81dd0c03f6751b57925e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 42a77fb5a1ec02c2dbc7c5ce7c1102c3a02d85f30d79889a13eb134a7c0aaf7a [INFO] running `Command { std: "docker" "start" "-a" "42a77fb5a1ec02c2dbc7c5ce7c1102c3a02d85f30d79889a13eb134a7c0aaf7a", kill_on_drop: false }` [INFO] [stderr] Checking rduino2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected expression, found `+` [INFO] [stdout] --> src/port.rs:63:61 [INFO] [stdout] | [INFO] [stdout] 63 | pub unsafe fn new(port: PortName, pin: usize) -> Gpio {-++++ [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `core::arch::arm` [INFO] [stdout] --> src/watchdog.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use core::arch::arm::__nop; [INFO] [stdout] | ^^^ could not find `arm` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `+` [INFO] [stdout] --> src/port.rs:63:61 [INFO] [stdout] | [INFO] [stdout] 63 | pub unsafe fn new(port: PortName, pin: usize) -> Gpio {-++++ [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GpioBitband` in this scope [INFO] [stdout] --> src/port.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 35 | struct GpioBitBand { [INFO] [stdout] | ------------------ similarly named struct `GpioBitBand` defined here [INFO] [stdout] ... [INFO] [stdout] 40 | gpio: *mut GpioBitband, [INFO] [stdout] | ^^^^^^^^^^^ help: a struct with a similar name exists: `GpioBitBand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `core` [INFO] [stdout] --> src/port.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `core` [INFO] [stdout] --> src/sim.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/port.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe fn new(name: PortName) -> &'static mut Port { [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^ expected `&mut Port`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/port.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 29 | pub unsafe fn pin(&mut self, p: usize) -> Pin { [INFO] [stdout] | --- ^^^ expected struct `port::Pin`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/port.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | / unsafe { [INFO] [stdout] 56 | | // Set pin mode to 1 to enable gpio mode (section 11.14.1 MUX bits). [INFO] [stdout] 57 | | // Consume the pin into a gpio struct i.e. instantitate a gpio struct using the new function below. [INFO] [stdout] 58 | | } [INFO] [stdout] | |_________^ expected struct `Gpio`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/sim.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | pub unsafe fn new() -> &'static mut Sim { [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^ expected `&mut Sim`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rduino2` [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] error[E0432]: unresolved import `core::arch::arm` [INFO] [stdout] --> src/watchdog.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use core::arch::arm::__nop; [INFO] [stdout] | ^^^ could not find `arm` in `arch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GpioBitband` in this scope [INFO] [stdout] --> src/port.rs:40:16 [INFO] [stdout] | [INFO] [stdout] 35 | struct GpioBitBand { [INFO] [stdout] | ------------------ similarly named struct `GpioBitBand` defined here [INFO] [stdout] ... [INFO] [stdout] 40 | gpio: *mut GpioBitband, [INFO] [stdout] | ^^^^^^^^^^^ help: a struct with a similar name exists: `GpioBitBand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `core` [INFO] [stdout] --> src/port.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `core` [INFO] [stdout] --> src/sim.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0152]: found duplicate lang item `panic_impl` [INFO] [stdout] --> src/main.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | fn teensy_panic(_pi: &core::panic::PanicInfo) -> ! { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `std` (which `test` depends on) [INFO] [stdout] = note: first definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/c5fbcd35a8217a17f6b63a22217ace06cf8f5f02/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-363511a59ca6fedb.rlib [INFO] [stdout] = note: second definition in the local crate (`rduino2`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/port.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | pub unsafe fn new(name: PortName) -> &'static mut Port { [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^ expected `&mut Port`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/port.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 29 | pub unsafe fn pin(&mut self, p: usize) -> Pin { [INFO] [stdout] | --- ^^^ expected struct `port::Pin`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/port.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | / unsafe { [INFO] [stdout] 56 | | // Set pin mode to 1 to enable gpio mode (section 11.14.1 MUX bits). [INFO] [stdout] 57 | | // Consume the pin into a gpio struct i.e. instantitate a gpio struct using the new function below. [INFO] [stdout] 58 | | } [INFO] [stdout] | |_________^ expected struct `Gpio`, found `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/sim.rs:16:28 [INFO] [stdout] | [INFO] [stdout] 16 | pub unsafe fn new() -> &'static mut Sim { [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^ expected `&mut Sim`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0152, E0308, E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0152`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "42a77fb5a1ec02c2dbc7c5ce7c1102c3a02d85f30d79889a13eb134a7c0aaf7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42a77fb5a1ec02c2dbc7c5ce7c1102c3a02d85f30d79889a13eb134a7c0aaf7a", kill_on_drop: false }` [INFO] [stdout] 42a77fb5a1ec02c2dbc7c5ce7c1102c3a02d85f30d79889a13eb134a7c0aaf7a