[INFO] fetching crate easy-jsonrpc 0.5.3... [INFO] checking easy-jsonrpc-0.5.3 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate easy-jsonrpc 0.5.3 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate easy-jsonrpc 0.5.3 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 crates.io crate easy-jsonrpc 0.5.3 [INFO] finished tweaking crates.io crate easy-jsonrpc 0.5.3 [INFO] tweaked toml for crates.io crate easy-jsonrpc 0.5.3 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate crates.io crate easy-jsonrpc 0.5.3 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] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.5 [INFO] [stderr] Downloaded publicsuffix v1.5.3 [INFO] [stderr] Downloaded cc v1.0.45 [INFO] [stderr] Downloaded flate2 v1.0.12 [INFO] [stderr] Downloaded miniz_oxide v0.3.3 [INFO] [stderr] Downloaded indexmap v1.2.0 [INFO] [stderr] Downloaded unicase v2.5.1 [INFO] [stderr] Downloaded openssl-sys v0.9.50 [INFO] [stderr] Downloaded warp v0.1.20 [INFO] [stderr] Downloaded backtrace v0.3.38 [INFO] [stderr] Downloaded pkg-config v0.3.16 [INFO] [stderr] Downloaded tokio-udp v0.1.5 [INFO] [stderr] Downloaded arrayvec v0.4.12 [INFO] [stderr] Downloaded easy-jsonrpc-proc-macro v0.5.0 [INFO] [stderr] Downloaded headers v0.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] e4f27d86611553f9ccaa1f9c2e6c40f374599c0ce4bab3eb52c00c4b8f8b4152 [INFO] running `Command { std: "docker" "start" "-a" "e4f27d86611553f9ccaa1f9c2e6c40f374599c0ce4bab3eb52c00c4b8f8b4152", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4f27d86611553f9ccaa1f9c2e6c40f374599c0ce4bab3eb52c00c4b8f8b4152", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4f27d86611553f9ccaa1f9c2e6c40f374599c0ce4bab3eb52c00c4b8f8b4152", kill_on_drop: false }` [INFO] [stdout] e4f27d86611553f9ccaa1f9c2e6c40f374599c0ce4bab3eb52c00c4b8f8b4152 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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] 5f24f0bf55dd91338708a0ab260dc5ce86926097fc1759978160817c84940f10 [INFO] running `Command { std: "docker" "start" "-a" "5f24f0bf55dd91338708a0ab260dc5ce86926097fc1759978160817c84940f10", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [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] log v0.4.8: std [INFO] [stderr] serde v1.0.101: derive, serde_derive [INFO] [stderr] syn v0.15.44 (as host dependency): extra-traits, visit [INFO] [stderr] [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling proc-macro2 v1.0.5 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Checking indexmap v1.2.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking siphasher v0.2.3 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking dtoa v0.4.4 [INFO] [stderr] Checking mime v0.3.14 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking safemem v0.3.2 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking urlencoding v1.0.0 [INFO] [stderr] Checking lock_api v0.3.1 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking try_from v0.3.2 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Checking tokio-sync v0.1.6 [INFO] [stderr] Compiling unicase v2.5.1 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking miniz_oxide v0.3.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.50 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking block-padding v0.1.4 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking http v0.1.18 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking input_buffer v0.2.0 [INFO] [stderr] Checking tokio-executor v0.1.8 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking flate2 v1.0.12 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking mio v0.6.19 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Checking tokio-timer v0.2.11 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Checking tokio-current-thread v0.1.6 [INFO] [stderr] Checking mime v0.2.6 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking phf v0.7.24 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking backtrace v0.3.38 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking headers-core v0.1.1 [INFO] [stderr] Checking sha-1 v0.8.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking tokio-reactor v0.1.10 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking headers v0.2.3 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-udp v0.1.5 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tungstenite v0.9.1 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Checking tokio-threadpool v0.1.16 [INFO] [stderr] Checking publicsuffix v1.5.3 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Checking multipart v0.16.1 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling easy-jsonrpc-proc-macro v0.5.0 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking jsonrpc-core v10.1.0 [INFO] [stderr] Checking warp v0.1.20 [INFO] [stderr] Checking reqwest v0.9.22 [INFO] [stderr] Checking easy-jsonrpc v0.5.3 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/udp_connect.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/http_listen.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/http_connect.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/tcp_listen.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/udp_listen.rs from 2018 edition to 2021 [INFO] [stderr] Migrating examples/tcp_connect.rs from 2018 edition to 2021 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `udp_connect` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * examples/common/mod.rs [INFO] [stderr] * examples/udp_connect.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected identifier, found `<` [INFO] [stderr] --> examples/common/mod.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | pub trait : Sync + Send { [INFO] [stderr] | ^ expected identifier [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `common::frob_machine` [INFO] [stderr] --> examples/udp_connect.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use common::frob_machine; // client helpers generated automatically [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `frob_machine` in `common` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/common/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait FrobMachine: Sync + Send { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn FrobMachine` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/common/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait FrobMachine: Sync + Send { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn FrobMachine` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/common/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait FrobMachine: Sync + Send { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/common/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait FrobMachine: Sync + Send { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn FrobMachine` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/common/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait FrobMachine: Sync + Send { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn FrobMachine` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/common/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait FrobMachine: Sync + Send { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `<` [INFO] [stdout] --> examples/common/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait : Sync + Send { [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `http_connect` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * examples/common/mod.rs [INFO] [stderr] * examples/http_connect.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected identifier, found `<` [INFO] [stderr] --> examples/common/mod.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | pub trait : Sync + Send { [INFO] [stderr] | ^ expected identifier [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `common::frob_machine` [INFO] [stderr] --> examples/http_connect.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use common::frob_machine; // client helpers generated automatically [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no `frob_machine` in `common` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] error[E0432]: unresolved import `crate::common::create_frob_server` [INFO] [stdout] --> examples/udp_listen.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::common::create_frob_server; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `create_frob_server` in `common` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Handler` [INFO] [stdout] --> examples/udp_listen.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use easy_jsonrpc::{Handler, MaybeReply}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `easy-jsonrpc` due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/common/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait FrobMachine: Sync + Send { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn FrobMachine` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/common/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait FrobMachine: Sync + Send { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn FrobMachine` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/common/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait FrobMachine: Sync + Send { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/common/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait FrobMachine: Sync + Send { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn FrobMachine` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/common/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait FrobMachine: Sync + Send { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn FrobMachine` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/common/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait FrobMachine: Sync + Send { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `tcp_listen` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * examples/common/mod.rs [INFO] [stderr] * examples/tcp_listen.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected identifier, found `<` [INFO] [stderr] --> examples/common/mod.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | pub trait : Sync + Send { [INFO] [stderr] | ^ expected identifier [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::common::create_frob_server` [INFO] [stderr] --> examples/tcp_listen.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::common::create_frob_server; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `create_frob_server` in `common` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Handler` [INFO] [stderr] --> examples/tcp_listen.rs:5:20 [INFO] [stderr] | [INFO] [stderr] 5 | use easy_jsonrpc::{Handler, MaybeReply}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0432`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/common/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait FrobMachine: Sync + Send { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn FrobMachine` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/common/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait FrobMachine: Sync + Send { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn FrobMachine` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/common/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait FrobMachine: Sync + Send { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `easy_jsonrpc` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lib.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: expected identifier, found `<` [INFO] [stderr] --> src/lib.rs:676:15 [INFO] [stderr] | [INFO] [stderr] 676 | pub trait { [INFO] [stderr] | ^ expected identifier [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:676:15 [INFO] [stdout] | [INFO] [stdout] 676 | pub trait Adder { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Adder` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:676:15 [INFO] [stdout] | [INFO] [stdout] 676 | pub trait Adder { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Adder` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1041:15 [INFO] [stdout] | [INFO] [stdout] 1041 | trait Adder { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Adder` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1094:15 [INFO] [stdout] | [INFO] [stdout] 1094 | trait Adder { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Adder` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1170:15 [INFO] [stdout] | [INFO] [stdout] 1170 | trait Bar { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Bar` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:676:15 [INFO] [stdout] | [INFO] [stdout] 676 | pub trait Adder { [INFO] [stdout] | ^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1041:15 [INFO] [stdout] | [INFO] [stdout] 1041 | trait Adder { [INFO] [stdout] | ^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1094:15 [INFO] [stdout] | [INFO] [stdout] 1094 | trait Adder { [INFO] [stdout] | ^^^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:1170:15 [INFO] [stdout] | [INFO] [stdout] 1170 | trait Bar { [INFO] [stdout] | ^^^ help: use `dyn`: `` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "5f24f0bf55dd91338708a0ab260dc5ce86926097fc1759978160817c84940f10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f24f0bf55dd91338708a0ab260dc5ce86926097fc1759978160817c84940f10", kill_on_drop: false }` [INFO] [stdout] 5f24f0bf55dd91338708a0ab260dc5ce86926097fc1759978160817c84940f10