[INFO] cloning repository https://github.com/sigmaris/avcontrol-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sigmaris/avcontrol-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsigmaris%2Favcontrol-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsigmaris%2Favcontrol-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f696da06fd063a30c2210b21304d185b6f066178 [INFO] checking sigmaris/avcontrol-rs against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsigmaris%2Favcontrol-rs" "/workspace/builds/worker-47/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-47/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sigmaris/avcontrol-rs on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sigmaris/avcontrol-rs [INFO] finished tweaking git repo https://github.com/sigmaris/avcontrol-rs [INFO] tweaked toml for git repo https://github.com/sigmaris/avcontrol-rs written to /workspace/builds/worker-47/source/Cargo.toml [INFO] crate git repo https://github.com/sigmaris/avcontrol-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] caf05b0ebb44087d167eb4f903254332dc095890d53b881157c848eab079c1e0 [INFO] running `Command { std: "docker" "start" "-a" "caf05b0ebb44087d167eb4f903254332dc095890d53b881157c848eab079c1e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "caf05b0ebb44087d167eb4f903254332dc095890d53b881157c848eab079c1e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caf05b0ebb44087d167eb4f903254332dc095890d53b881157c848eab079c1e0", kill_on_drop: false }` [INFO] [stdout] caf05b0ebb44087d167eb4f903254332dc095890d53b881157c848eab079c1e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eea8b0e23eb68bff6b81456fad6d5ce61de42452258524250d67d5cdea01ba94 [INFO] running `Command { std: "docker" "start" "-a" "eea8b0e23eb68bff6b81456fad6d5ce61de42452258524250d67d5cdea01ba94", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] libc v0.2.81: align, use_std [INFO] [stderr] libc v0.2.81 (as host dependency): align, default, std, use_std [INFO] [stderr] rand v0.7.3: rand_pcg, small_rng [INFO] [stderr] tokio v0.2.13: winapi [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling siphasher v0.3.1 [INFO] [stderr] Checking arc-swap v0.4.4 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking regex-syntax v0.6.16 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking phf_shared v0.8.0 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Checking aho-corasick v0.7.9 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking regex v1.3.4 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Checking serialport v3.3.0 [INFO] [stderr] Checking mio-serial v3.3.0 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling derivative v2.1.1 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Checking tokio v0.2.13 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking num_enum v0.5.1 [INFO] [stderr] Checking mqtt-protocol v0.8.1 [INFO] [stderr] Checking tokio-serial v4.3.3 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking avcontrol-rs v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/serial.rs (1 fix) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.53s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking libudev-sys v0.1.4 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio v0.2.13 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Checking serialport v3.3.0 [INFO] [stderr] Checking mio-serial v3.3.0 [INFO] [stderr] Checking tokio-serial v4.3.3 [INFO] [stderr] Checking mqtt-protocol v0.8.1 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking avcontrol-rs v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClearBuffer` [INFO] [stdout] --> src/serial.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | self.port.clear(ClearBuffer::Input)?; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ClearBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ClearBuffer` [INFO] [stdout] --> src/serial.rs:102:25 [INFO] [stdout] | [INFO] [stdout] 102 | self.port.clear(ClearBuffer::Input)?; [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ClearBuffer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clear` found for struct `Serial` in the current scope [INFO] [stdout] --> src/serial.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | self.port.clear(ClearBuffer::Input)?; [INFO] [stdout] | ^^^^^ method not found in `Serial` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serialport-3.3.0/src/lib.rs:445:8 [INFO] [stdout] | [INFO] [stdout] 445 | fn clear(&self, buffer_to_clear: ClearBuffer) -> Result<()>; [INFO] [stdout] | ----- the method is available for `Serial` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use tokio_serial::SerialPort;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clear` found for struct `Serial` in the current scope [INFO] [stdout] --> src/serial.rs:102:19 [INFO] [stdout] | [INFO] [stdout] 102 | self.port.clear(ClearBuffer::Input)?; [INFO] [stdout] | ^^^^^ method not found in `Serial` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serialport-3.3.0/src/lib.rs:445:8 [INFO] [stdout] | [INFO] [stdout] 445 | fn clear(&self, buffer_to_clear: ClearBuffer) -> Result<()>; [INFO] [stdout] | ----- the method is available for `Serial` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use tokio_serial::SerialPort;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `avcontrol-rs` due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "eea8b0e23eb68bff6b81456fad6d5ce61de42452258524250d67d5cdea01ba94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eea8b0e23eb68bff6b81456fad6d5ce61de42452258524250d67d5cdea01ba94", kill_on_drop: false }` [INFO] [stdout] eea8b0e23eb68bff6b81456fad6d5ce61de42452258524250d67d5cdea01ba94