[INFO] cloning repository https://github.com/dhylands/usb-ser-mon-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dhylands/usb-ser-mon-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhylands%2Fusb-ser-mon-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhylands%2Fusb-ser-mon-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a43047e55b8069a482370cf3d8cc9f1a822075dc [INFO] checking dhylands/usb-ser-mon-rs against try#47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268 for pr-149058 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhylands%2Fusb-ser-mon-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dhylands/usb-ser-mon-rs [INFO] finished tweaking git repo https://github.com/dhylands/usb-ser-mon-rs [INFO] tweaked toml for git repo https://github.com/dhylands/usb-ser-mon-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dhylands/usb-ser-mon-rs on toolchain 47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dhylands/usb-ser-mon-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking dhylands/usb-ser-mon-rs against try#47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268 for pr-149058 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdhylands%2Fusb-ser-mon-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dhylands/usb-ser-mon-rs [INFO] finished tweaking git repo https://github.com/dhylands/usb-ser-mon-rs [INFO] tweaked toml for git repo https://github.com/dhylands/usb-ser-mon-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dhylands/usb-ser-mon-rs on toolchain 47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dhylands/usb-ser-mon-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wildmatch v2.3.4 [INFO] [stderr] Downloaded serialport v4.5.0 [INFO] [stderr] Downloaded libudev v0.3.0 [INFO] [stderr] Downloaded tokio-serial v5.4.4 [INFO] [stderr] Downloaded unescaper v0.1.5 [INFO] [stderr] Downloaded pin-project-internal v1.0.3 [INFO] [stderr] Downloaded pin-project v1.0.3 [INFO] [stderr] Downloaded mio-serial v5.0.5 [INFO] [stderr] Downloaded cc v1.1.8 [INFO] [stderr] Downloaded syn v2.0.72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d8f5bec19c47d28f46bc76df1304b8a52bf9636a82e2a1d83277a51767e995d [INFO] running `Command { std: "docker" "start" "-a" "7d8f5bec19c47d28f46bc76df1304b8a52bf9636a82e2a1d83277a51767e995d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d8f5bec19c47d28f46bc76df1304b8a52bf9636a82e2a1d83277a51767e995d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d8f5bec19c47d28f46bc76df1304b8a52bf9636a82e2a1d83277a51767e995d", kill_on_drop: false }` [INFO] [stdout] 7d8f5bec19c47d28f46bc76df1304b8a52bf9636a82e2a1d83277a51767e995d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "RUSTDOCFLAGS=--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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb55e9d30a5ca1464a8639de6bff27c627c0468fcafabdcb10c8ef944c6ac1e4 [INFO] running `Command { std: "docker" "start" "-a" "bb55e9d30a5ca1464a8639de6bff27c627c0468fcafabdcb10c8ef944c6ac1e4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling thiserror v1.0.39 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking lock_api v0.4.12 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking wildmatch v2.3.4 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking libudev v0.3.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v1.0.39 [INFO] [stderr] Compiling pin-project-internal v1.0.3 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking pin-project v1.0.3 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking unescaper v0.1.5 [INFO] [stderr] Checking serialport v4.5.0 [INFO] [stderr] Checking mio-serial v5.0.5 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking tokio-serial v5.4.4 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking serial-monitor v0.0.7 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `&u8: Default` is not satisfied [INFO] [stdout] --> src/string_decoder.rs:58:54 [INFO] [stdout] | [INFO] [stdout] 58 | buf[*index] = src.split_to(1).get(0).unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `&u8` [INFO] [stdout] | [INFO] [stdout] help: the trait `Default` is implemented for `u8` [INFO] [stdout] --> /rustc/47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268/library/core/src/default.rs:170:0 [INFO] [stdout] note: required by a bound in `Option::::unwrap_or_default` [INFO] [stdout] --> /rustc/47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268/library/core/src/option.rs:1093:4 [INFO] [stdout] = note: this error originates in the macro `default_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing this method call, as the receiver has type `BytesMut` and `BytesMut: Default` trivially holds [INFO] [stdout] | [INFO] [stdout] 58 - buf[*index] = src.split_to(1).get(0).unwrap_or_default(); [INFO] [stdout] 58 + buf[*index] = src.split_to(1).unwrap_or_default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&u8: Default` is not satisfied [INFO] [stdout] --> src/string_decoder.rs:58:54 [INFO] [stdout] | [INFO] [stdout] 58 | buf[*index] = src.split_to(1).get(0).unwrap_or_default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the trait `Default` is not implemented for `&u8` [INFO] [stdout] | [INFO] [stdout] help: the trait `Default` is implemented for `u8` [INFO] [stdout] --> /rustc/47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268/library/core/src/default.rs:170:0 [INFO] [stdout] note: required by a bound in `Option::::unwrap_or_default` [INFO] [stdout] --> /rustc/47eaa3b85fbe5fa2b3b731b5fecdc5954cbfc268/library/core/src/option.rs:1093:4 [INFO] [stdout] = note: this error originates in the macro `default_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider removing this method call, as the receiver has type `BytesMut` and `BytesMut: Default` trivially holds [INFO] [stdout] | [INFO] [stdout] 58 - buf[*index] = src.split_to(1).get(0).unwrap_or_default(); [INFO] [stdout] 58 + buf[*index] = src.split_to(1).unwrap_or_default(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/string_decoder.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | buf[*index] = src.split_to(1).get(0).unwrap_or_default(); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `&u8` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 58 | buf[*index] = *src.split_to(1).get(0).unwrap_or_default(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/string_decoder.rs:58:31 [INFO] [stdout] | [INFO] [stdout] 58 | buf[*index] = src.split_to(1).get(0).unwrap_or_default(); [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `&u8` [INFO] [stdout] | | [INFO] [stdout] | expected due to the type of this binding [INFO] [stdout] | [INFO] [stdout] help: consider dereferencing the borrow [INFO] [stdout] | [INFO] [stdout] 58 | buf[*index] = *src.split_to(1).get(0).unwrap_or_default(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `serial-monitor` (bin "serial-monitor" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `serial-monitor` (bin "serial-monitor") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "bb55e9d30a5ca1464a8639de6bff27c627c0468fcafabdcb10c8ef944c6ac1e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb55e9d30a5ca1464a8639de6bff27c627c0468fcafabdcb10c8ef944c6ac1e4", kill_on_drop: false }` [INFO] [stdout] bb55e9d30a5ca1464a8639de6bff27c627c0468fcafabdcb10c8ef944c6ac1e4