[INFO] cloning repository https://github.com/akainth015/aers [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/akainth015/aers" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakainth015%2Faers", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakainth015%2Faers'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a40c527a5d87736ca6b414964cca20752a8fdafb [INFO] checking akainth015/aers against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakainth015%2Faers" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/akainth015/aers on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/akainth015/aers [INFO] finished tweaking git repo https://github.com/akainth015/aers [INFO] tweaked toml for git repo https://github.com/akainth015/aers written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/akainth015/aers already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded atsamd-hal v0.12.0 [INFO] [stderr] Downloaded atsamd51j v0.9.0 [INFO] [stderr] Downloaded feather_m4 v0.7.0 [INFO] running `Command { std: "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" "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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] da3b451ceeca63ae0ff0ff0ecb80e1206a5b18b1c006f97ba49f602aa1ce22e6 [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" "da3b451ceeca63ae0ff0ff0ecb80e1206a5b18b1c006f97ba49f602aa1ce22e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "da3b451ceeca63ae0ff0ff0ecb80e1206a5b18b1c006f97ba49f602aa1ce22e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da3b451ceeca63ae0ff0ff0ecb80e1206a5b18b1c006f97ba49f602aa1ce22e6", kill_on_drop: false }` [INFO] [stdout] da3b451ceeca63ae0ff0ff0ecb80e1206a5b18b1c006f97ba49f602aa1ce22e6 [INFO] running `Command { std: "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" "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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c03ccbec08f003586f391d2778d1715b26ac78edc2f925e7ecc1961d46f8329 [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" "9c03ccbec08f003586f391d2778d1715b26ac78edc2f925e7ecc1961d46f8329", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling cortex-m v0.7.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling atsamd51j v0.9.0 [INFO] [stderr] Compiling feather_m4 v0.7.0 [INFO] [stderr] Checking panic-halt v0.2.0 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Checking embedded-hal v0.2.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling cortex-m v0.6.7 [INFO] [stderr] Compiling cortex-m-semihosting v0.3.7 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking as-slice v0.1.4 [INFO] [stderr] Checking aligned v0.3.4 [INFO] [stderr] Compiling cortex-m-rt-macros v0.1.8 [INFO] [stderr] Checking cortex-m-rt v0.6.13 [INFO] [stderr] Checking atsamd-hal v0.12.0 [INFO] [stderr] Checking aers v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `usb_device` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use usb_device::prelude::*; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `usb_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `usb_device` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use usb_device::bus::UsbBusAllocator; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `usb_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `hal::usb`, `usb_device::bus::UsbBusAllocator` [INFO] [stdout] --> src/main.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | use hal::usb::UsbBus; [INFO] [stdout] | ^^^ could not find `usb` in `hal` [INFO] [stdout] 11 | [INFO] [stdout] 12 | use usb_device::bus::UsbBusAllocator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `usbd_serial` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use usbd_serial::{SerialPort, USB_CLASS_CDC}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `usbd_serial` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UsbDeviceBuilder` [INFO] [stdout] --> src/main.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | UsbDeviceBuilder::new(&bus_allocator, UsbVidPid(0x16c0, 0x27dd)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `UsbDeviceBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usb_allocator` in crate `hal` [INFO] [stdout] --> src/main.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | USB_ALLOCATOR = Some(hal::usb_allocator( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `usb_device` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use usb_device::prelude::*; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `usb_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `usb_device` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use usb_device::bus::UsbBusAllocator; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `usb_device` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UsbVidPid` in this scope [INFO] [stdout] --> src/main.rs:47:51 [INFO] [stdout] | [INFO] [stdout] 47 | UsbDeviceBuilder::new(&bus_allocator, UsbVidPid(0x16c0, 0x27dd)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `hal::usb`, `usb_device::bus::UsbBusAllocator` [INFO] [stdout] --> src/main.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | use hal::usb::UsbBus; [INFO] [stdout] | ^^^ could not find `usb` in `hal` [INFO] [stdout] 11 | [INFO] [stdout] 12 | use usb_device::bus::UsbBusAllocator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbBusAllocator` in this scope [INFO] [stdout] --> src/main.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | static mut USB_ALLOCATOR: Option> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `usbd_serial` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use usbd_serial::{SerialPort, USB_CLASS_CDC}; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `usbd_serial` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbDevice` in this scope [INFO] [stdout] --> src/main.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 72 | static mut USB_BUS: Option> = None; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: language item required, but not found: `eh_personality` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UsbDeviceBuilder` [INFO] [stdout] --> src/main.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | UsbDeviceBuilder::new(&bus_allocator, UsbVidPid(0x16c0, 0x27dd)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `UsbDeviceBuilder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `usb_allocator` in crate `hal` [INFO] [stdout] --> src/main.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | USB_ALLOCATOR = Some(hal::usb_allocator( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `hal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UsbVidPid` in this scope [INFO] [stdout] --> src/main.rs:47:51 [INFO] [stdout] | [INFO] [stdout] 47 | UsbDeviceBuilder::new(&bus_allocator, UsbVidPid(0x16c0, 0x27dd)) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbBusAllocator` in this scope [INFO] [stdout] --> src/main.rs:71:34 [INFO] [stdout] | [INFO] [stdout] 71 | static mut USB_ALLOCATOR: Option> = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UsbDevice` in this scope [INFO] [stdout] --> src/main.rs:72:28 [INFO] [stdout] | [INFO] [stdout] 72 | static mut USB_BUS: Option> = None; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: duplicate lang item in crate `std` (which `test` depends on): `panic_impl`. [INFO] [stdout] | [INFO] [stdout] = note: the lang item is first defined in crate `panic_halt` (which `aers` depends on) [INFO] [stdout] = note: first definition in `panic_halt` loaded from /opt/rustwide/target/debug/deps/libpanic_halt-736d556224107bc3.rmeta [INFO] [stdout] = note: second definition in `std` loaded from /opt/rustwide/rustup-home/toolchains/45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-61556e43b375c2c0.rlib [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aers` [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: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9c03ccbec08f003586f391d2778d1715b26ac78edc2f925e7ecc1961d46f8329", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c03ccbec08f003586f391d2778d1715b26ac78edc2f925e7ecc1961d46f8329", kill_on_drop: false }` [INFO] [stdout] 9c03ccbec08f003586f391d2778d1715b26ac78edc2f925e7ecc1961d46f8329