[INFO] cloning repository https://github.com/Codetector1374/usb-host-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Codetector1374/usb-host-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodetector1374%2Fusb-host-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodetector1374%2Fusb-host-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 35b56877532f7163792646a994bf65b5b5df7001 [INFO] checking Codetector1374/usb-host-rs against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodetector1374%2Fusb-host-rs" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Codetector1374/usb-host-rs on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Codetector1374/usb-host-rs [INFO] finished tweaking git repo https://github.com/Codetector1374/usb-host-rs [INFO] tweaked toml for git repo https://github.com/Codetector1374/usb-host-rs written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Codetector1374/usb-host-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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] 5352b5abcd8674531f19a5f2e09417e5a5e88cd37293e5a33a8a936de20537f9 [INFO] running `Command { std: "docker" "start" "-a" "5352b5abcd8674531f19a5f2e09417e5a5e88cd37293e5a33a8a936de20537f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5352b5abcd8674531f19a5f2e09417e5a5e88cd37293e5a33a8a936de20537f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5352b5abcd8674531f19a5f2e09417e5a5e88cd37293e5a33a8a936de20537f9", kill_on_drop: false }` [INFO] [stdout] 5352b5abcd8674531f19a5f2e09417e5a5e88cd37293e5a33a8a936de20537f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8912aa26401699515f4c7110505d9f9d63f1223e9aa580a88edbe909ec043683 [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" "8912aa26401699515f4c7110505d9f9d63f1223e9aa580a88edbe909ec043683", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Checking const-random v0.1.8 [INFO] [stderr] Checking ahash v0.2.18 [INFO] [stderr] Checking usb-host v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:98:66 [INFO] [stdout] | [INFO] [stdout] 98 | fn reset_port(&mut self, device: &Arc>) -> Result<(), Error> { [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^ expected enum `core::result::Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `core::result::Result<(), items::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:98:66 [INFO] [stdout] | [INFO] [stdout] 98 | fn reset_port(&mut self, device: &Arc>) -> Result<(), Error> { [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), items::Error>` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `usb-host` [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 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "8912aa26401699515f4c7110505d9f9d63f1223e9aa580a88edbe909ec043683", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8912aa26401699515f4c7110505d9f9d63f1223e9aa580a88edbe909ec043683", kill_on_drop: false }` [INFO] [stdout] 8912aa26401699515f4c7110505d9f9d63f1223e9aa580a88edbe909ec043683