[INFO] cloning repository https://github.com/nkconnor/xi-yew-wasm-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nkconnor/xi-yew-wasm-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnkconnor%2Fxi-yew-wasm-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnkconnor%2Fxi-yew-wasm-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eb6e1ba437feaf41972a441bd95d9cfec63a3e21 [INFO] checking nkconnor/xi-yew-wasm-rs against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnkconnor%2Fxi-yew-wasm-rs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nkconnor/xi-yew-wasm-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/nkconnor/xi-yew-wasm-rs [INFO] finished tweaking git repo https://github.com/nkconnor/xi-yew-wasm-rs [INFO] tweaked toml for git repo https://github.com/nkconnor/xi-yew-wasm-rs written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/nkconnor/xi-yew-wasm-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] Downloading crates ... [INFO] [stderr] Downloaded kv-log-macro v1.0.4 [INFO] [stderr] Downloaded webview-sys v0.4.0 [INFO] [stderr] Downloaded yew v0.11.0 [INFO] [stderr] Downloaded once_cell v1.3.0 [INFO] [stderr] Downloaded web-view v0.6.0 [INFO] [stderr] Downloaded wasm-bindgen-webidl v0.2.58 [INFO] [stderr] Downloaded async-task v1.2.1 [INFO] [stderr] Downloaded regex v1.3.3 [INFO] [stderr] Downloaded xi-rope v0.3.0 [INFO] [stderr] Downloaded plist v0.4.2 [INFO] [stderr] Downloaded js-sys v0.3.35 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.58 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.8 [INFO] [stderr] Downloaded regex-syntax v0.6.13 [INFO] [stderr] Downloaded syntect v3.3.0 [INFO] [stderr] Downloaded xi-trace v0.2.0 [INFO] [stderr] Downloaded backtrace v0.3.41 [INFO] [stderr] Downloaded xi-rpc v0.3.0 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.58 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.58 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.58 [INFO] [stderr] Downloaded wasm-bindgen v0.2.58 [INFO] [stderr] Downloaded yew-macro v0.11.0 [INFO] [stderr] Downloaded bumpalo v3.1.2 [INFO] [stderr] Downloaded web-sys v0.3.35 [INFO] [stderr] Downloaded async-std v1.4.0 [INFO] [stderr] Downloaded simple_logger v1.4.0 [INFO] [stderr] Downloaded async-tungstenite v0.3.1 [INFO] [stderr] Downloaded xi-core-lib v0.3.0 [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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2a591724b21f584669b8b094a94ff5bd955732982de417462fa85fbbeed85808 [INFO] running `Command { std: "docker" "start" "-a" "2a591724b21f584669b8b094a94ff5bd955732982de417462fa85fbbeed85808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a591724b21f584669b8b094a94ff5bd955732982de417462fa85fbbeed85808", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a591724b21f584669b8b094a94ff5bd955732982de417462fa85fbbeed85808", kill_on_drop: false }` [INFO] [stdout] 2a591724b21f584669b8b094a94ff5bd955732982de417462fa85fbbeed85808 [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] 1135ed21c525191eaacda661b5053d3c960cae6da29aedd969f8b613644acd15 [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" "1135ed21c525191eaacda661b5053d3c960cae6da29aedd969f8b613644acd15", 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] log v0.4.8 (as host dependency): kv_unstable, max_level_debug, release_max_level_debug, std [INFO] [stderr] serde v1.0.104 (as host dependency): derive, rc, serde_derive [INFO] [stderr] [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling stdweb-internal-runtime v0.1.5 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling base-x v0.2.6 [INFO] [stderr] Checking bytes v0.5.3 [INFO] [stderr] Checking futures-core v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.58 [INFO] [stderr] Compiling yew v0.11.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling openssl v0.10.26 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking smallvec v1.1.0 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking futures-task v0.3.1 [INFO] [stderr] Compiling bumpalo v3.1.2 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking xml-rs v0.8.0 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking regex-syntax v0.6.13 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.58 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking pin-project-lite v0.1.2 [INFO] [stderr] Checking futures-timer v2.0.2 [INFO] [stderr] Checking once_cell v1.3.0 [INFO] [stderr] Checking xi-unicode v0.2.0 [INFO] [stderr] Checking urlencoding v1.0.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking futures-channel v0.3.1 [INFO] [stderr] Checking miniz_oxide v0.3.5 [INFO] [stderr] Checking http v0.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling yew-macro v0.11.0 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unicode-normalization v0.1.11 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Compiling webview-sys v0.4.0 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking kv-log-macro v1.0.4 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling stdweb v0.4.20 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.2.8 [INFO] [stderr] Checking flate2 v1.0.13 [INFO] [stderr] Checking async-task v1.2.1 [INFO] [stderr] Checking num_cpus v1.11.1 [INFO] [stderr] Checking crossbeam-channel v0.4.0 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking colored v1.9.2 [INFO] [stderr] Checking inotify v0.7.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking regex v1.3.3 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking backtrace v0.3.41 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking input_buffer v0.2.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking web-view v0.6.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking async-std v1.4.0 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking simple_logger v1.4.0 [INFO] [stderr] Checking tungstenite v0.9.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.58 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling pin-project-internal v0.4.6 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.58 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.58 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Checking pin-project v0.4.6 [INFO] [stderr] Checking futures-util v0.3.1 [INFO] [stderr] Checking futures-executor v0.3.1 [INFO] [stderr] Checking futures v0.3.1 [INFO] [stderr] Checking async-tungstenite v0.3.1 [INFO] [stderr] Checking serde_json v1.0.44 [INFO] [stderr] Checking bincode v1.2.1 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking plist v0.4.2 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking xi-rope v0.3.0 [INFO] [stderr] Compiling stdweb-derive v0.5.3 [INFO] [stderr] Checking zn-core v0.0.1 (/tmp/fixit/crates/core) [INFO] [stderr] Checking xi-trace v0.2.0 [INFO] [stderr] Checking syntect v3.3.0 [INFO] [stderr] Migrating crates/core/src/lib.rs from 2015 edition to 2018 [INFO] [stderr] Compiling stdweb-internal-macros v0.2.9 [INFO] [stderr] Checking xi-rpc v0.3.0 [INFO] [stderr] Checking xi-core-lib v0.3.0 [INFO] [stderr] Checking zn-client v0.0.1 (/tmp/fixit/crates/client) [INFO] [stderr] Checking zn v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating crates/client/src/lib.rs from 2015 edition to 2018 [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `zn_client` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * crates/client/src/view.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[E0026]: struct `UpdateUpdateParams` does not have fields named `_annotations`, `_pristine` [INFO] [stderr] --> crates/client/src/view.rs:86:25 [INFO] [stderr] | [INFO] [stderr] 86 | _annotations, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 87 | ops, [INFO] [stderr] 88 | _pristine, [INFO] [stderr] | ^^^^^^^^^ struct `UpdateUpdateParams` does not have these fields [INFO] [stderr] [INFO] [stderr] error[E0027]: pattern does not mention fields `annotations`, `pristine` [INFO] [stderr] --> crates/client/src/view.rs:85:21 [INFO] [stderr] | [INFO] [stderr] 85 | / UpdateUpdateParams { [INFO] [stderr] 86 | | _annotations, [INFO] [stderr] 87 | | ops, [INFO] [stderr] 88 | | _pristine, [INFO] [stderr] 89 | | }, [INFO] [stderr] | |_____________________^ missing fields `annotations`, `pristine` [INFO] [stderr] | [INFO] [stderr] help: include the missing fields in the pattern [INFO] [stderr] | [INFO] [stderr] 88 | _pristine, annotations, pristine }, [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] help: if you don't care about these missing fields, you can explicitly ignore them [INFO] [stderr] | [INFO] [stderr] 88 | _pristine, .. }, [INFO] [stderr] | ~~~~~~ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0026, E0027. [INFO] [stderr] For more information about an error, try `rustc --explain E0026`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> crates/client/src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use socket::*; [INFO] [stdout] | ^^^^^^^^^ help: use `crate`: `crate::socket::*` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn absolute-paths-not-starting-with-crate` implied by `--force-warn rust-2018-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #53130 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> crates/client/src/line.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use bus; [INFO] [stdout] | ^^^ help: use `crate`: `crate::bus` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #53130 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> crates/client/src/line.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use bus::LineBus; [INFO] [stdout] | ^^^^^^^^^^^^ help: use `crate`: `crate::bus::LineBus` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #53130 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/client/src/line.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | linebus: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Bridge` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> crates/client/src/view.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use socket::*; [INFO] [stdout] | ^^^^^^^^^ help: use `crate`: `crate::socket::*` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #53130 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> crates/client/src/view.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use {bus, socket}; [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `crate`: `crate::{bus, socket}` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #53130 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> crates/client/src/view.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use bus::Output; [INFO] [stdout] | ^^^^^^^^^^^ help: use `crate`: `crate::bus::Output` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #53130 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> crates/client/src/view.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use line::Line; [INFO] [stdout] | ^^^^^^^^^^ help: use `crate`: `crate::line::Line` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #53130 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> crates/client/src/view.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use view::Message::Nothing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::view::Message::Nothing` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #53130 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/client/src/lib.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | socket: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Bridge` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> crates/client/src/bus.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | fn update(&mut self, msg: Self::Message) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender_id` [INFO] [stdout] --> crates/client/src/line.rs:44:58 [INFO] [stdout] | [INFO] [stdout] 44 | let callback = link.callback(|bus::Output::Event(sender_id, event)| Message::Event(event)); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `annotations` [INFO] [stdout] --> crates/client/src/view.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | annotations, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_annotations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pristine` [INFO] [stdout] --> crates/client/src/view.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | pristine, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pristine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `view_id` [INFO] [stdout] --> crates/client/src/view.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | view_id, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `view_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `linebus` [INFO] [stdout] --> crates/client/src/line.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | linebus: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `console` [INFO] [stdout] --> crates/client/src/line.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | console: ConsoleService, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> crates/client/src/view.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `keyboard` [INFO] [stdout] --> crates/client/src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | keyboard: KeyboardService, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> crates/client/src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | value: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating crates/client/src/main.rs from 2015 edition to 2018 [INFO] [stderr] Fixed src/xi.rs (5 fixes) [INFO] [stderr] Fixed src/lib.rs (3 fixes) [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/lib.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::{AsyncReadExt, SinkExt, StreamExt, TryFutureExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryFutureExt` [INFO] [stdout] --> src/lib.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::{AsyncReadExt, SinkExt, StreamExt, TryFutureExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_rpc_notification` [INFO] [stdout] --> src/xi.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn send_rpc_notification(&mut self, method: &str, params: &Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/lib.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::{AsyncReadExt, SinkExt, StreamExt, TryFutureExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryFutureExt` [INFO] [stdout] --> src/lib.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::{AsyncReadExt, SinkExt, StreamExt, TryFutureExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_rpc_notification` [INFO] [stdout] --> src/xi.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn send_rpc_notification(&mut self, method: &str, params: &Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `zn_client` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * crates/client/src/view.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[E0026]: struct `UpdateUpdateParams` does not have fields named `_annotations`, `_pristine` [INFO] [stderr] --> crates/client/src/view.rs:86:25 [INFO] [stderr] | [INFO] [stderr] 86 | _annotations, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 87 | ops, [INFO] [stderr] 88 | _pristine, [INFO] [stderr] | ^^^^^^^^^ struct `UpdateUpdateParams` does not have these fields [INFO] [stderr] [INFO] [stderr] error[E0027]: pattern does not mention fields `annotations`, `pristine` [INFO] [stderr] --> crates/client/src/view.rs:85:21 [INFO] [stderr] | [INFO] [stderr] 85 | / UpdateUpdateParams { [INFO] [stderr] 86 | | _annotations, [INFO] [stderr] 87 | | ops, [INFO] [stderr] 88 | | _pristine, [INFO] [stderr] 89 | | }, [INFO] [stderr] | |_____________________^ missing fields `annotations`, `pristine` [INFO] [stderr] | [INFO] [stderr] help: include the missing fields in the pattern [INFO] [stderr] | [INFO] [stderr] 88 | _pristine, annotations, pristine }, [INFO] [stderr] | ~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] help: if you don't care about these missing fields, you can explicitly ignore them [INFO] [stderr] | [INFO] [stderr] 88 | _pristine, .. }, [INFO] [stderr] | ~~~~~~ [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0026, E0027. [INFO] [stderr] For more information about an error, try `rustc --explain E0026`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> crates/client/src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use socket::*; [INFO] [stdout] | ^^^^^^^^^ help: use `crate`: `crate::socket::*` [INFO] [stdout] | [INFO] [stdout] = note: `--force-warn absolute-paths-not-starting-with-crate` implied by `--force-warn rust-2018-compatibility` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #53130 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> crates/client/src/line.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use bus; [INFO] [stdout] | ^^^ help: use `crate`: `crate::bus` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #53130 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> crates/client/src/line.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use bus::LineBus; [INFO] [stdout] | ^^^^^^^^^^^^ help: use `crate`: `crate::bus::LineBus` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #53130 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/client/src/line.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | linebus: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Bridge` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> crates/client/src/view.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use socket::*; [INFO] [stdout] | ^^^^^^^^^ help: use `crate`: `crate::socket::*` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #53130 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> crates/client/src/view.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use {bus, socket}; [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `crate`: `crate::{bus, socket}` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #53130 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> crates/client/src/view.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use bus::Output; [INFO] [stdout] | ^^^^^^^^^^^ help: use `crate`: `crate::bus::Output` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #53130 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> crates/client/src/view.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use line::Line; [INFO] [stdout] | ^^^^^^^^^^ help: use `crate`: `crate::line::Line` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #53130 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: absolute paths must start with `self`, `super`, `crate`, or an external crate name in the 2018 edition [INFO] [stdout] --> crates/client/src/view.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use view::Message::Nothing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `crate`: `crate::view::Message::Nothing` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #53130 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/client/src/lib.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | socket: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Bridge` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> crates/client/src/bus.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | fn update(&mut self, msg: Self::Message) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender_id` [INFO] [stdout] --> crates/client/src/line.rs:44:58 [INFO] [stdout] | [INFO] [stdout] 44 | let callback = link.callback(|bus::Output::Event(sender_id, event)| Message::Event(event)); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `annotations` [INFO] [stdout] --> crates/client/src/view.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | annotations, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_annotations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pristine` [INFO] [stdout] --> crates/client/src/view.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | pristine, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pristine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `view_id` [INFO] [stdout] --> crates/client/src/view.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | view_id, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `view_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `linebus` [INFO] [stdout] --> crates/client/src/line.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | linebus: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `console` [INFO] [stdout] --> crates/client/src/line.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | console: ConsoleService, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> crates/client/src/view.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `keyboard` [INFO] [stdout] --> crates/client/src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | keyboard: KeyboardService, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> crates/client/src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | value: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/main.rs (2 fixes) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 54s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.58 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.58 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.58 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling stdweb-derive v0.5.3 [INFO] [stderr] Checking wasm-bindgen v0.2.58 [INFO] [stderr] Compiling stdweb-internal-macros v0.2.9 [INFO] [stderr] Checking stdweb v0.4.20 [INFO] [stderr] Checking yew v0.11.0 [INFO] [stderr] Checking zn v0.1.0 (/tmp/fixit) [INFO] [stderr] Checking zn-client v0.0.1 (/tmp/fixit/crates/client) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> crates/client/src/line.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | linebus: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Bridge` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> crates/client/src/lib.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | socket: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Bridge` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> crates/client/src/line.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | linebus: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Bridge` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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] --> crates/client/src/lib.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | socket: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Bridge` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> crates/client/src/bus.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | fn update(&mut self, msg: Self::Message) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender_id` [INFO] [stdout] --> crates/client/src/line.rs:44:58 [INFO] [stdout] | [INFO] [stdout] 44 | let callback = link.callback(|bus::Output::Event(sender_id, event)| Message::Event(event)); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `annotations` [INFO] [stdout] --> crates/client/src/view.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | annotations, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_annotations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pristine` [INFO] [stdout] --> crates/client/src/view.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | pristine, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pristine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `view_id` [INFO] [stdout] --> crates/client/src/view.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | view_id, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `view_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `linebus` [INFO] [stdout] --> crates/client/src/line.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | linebus: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `console` [INFO] [stdout] --> crates/client/src/line.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | console: ConsoleService, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> crates/client/src/view.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `keyboard` [INFO] [stdout] --> crates/client/src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | keyboard: KeyboardService, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> crates/client/src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | value: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> crates/client/src/bus.rs:51:26 [INFO] [stdout] | [INFO] [stdout] 51 | fn update(&mut self, msg: Self::Message) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender_id` [INFO] [stdout] --> crates/client/src/line.rs:44:58 [INFO] [stdout] | [INFO] [stdout] 44 | let callback = link.callback(|bus::Output::Event(sender_id, event)| Message::Event(event)); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `annotations` [INFO] [stdout] --> crates/client/src/view.rs:86:25 [INFO] [stdout] | [INFO] [stdout] 86 | annotations, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_annotations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pristine` [INFO] [stdout] --> crates/client/src/view.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | pristine, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pristine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `view_id` [INFO] [stdout] --> crates/client/src/view.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | view_id, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `view_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `linebus` [INFO] [stdout] --> crates/client/src/line.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | linebus: Box>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `console` [INFO] [stdout] --> crates/client/src/line.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | console: ConsoleService, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> crates/client/src/view.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `keyboard` [INFO] [stdout] --> crates/client/src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | keyboard: KeyboardService, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> crates/client/src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | value: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/lib.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::{AsyncReadExt, SinkExt, StreamExt, TryFutureExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryFutureExt` [INFO] [stdout] --> src/lib.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::{AsyncReadExt, SinkExt, StreamExt, TryFutureExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/lib.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::{AsyncReadExt, SinkExt, StreamExt, TryFutureExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryFutureExt` [INFO] [stdout] --> src/lib.rs:5:49 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::{AsyncReadExt, SinkExt, StreamExt, TryFutureExt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_rpc_notification` [INFO] [stdout] --> src/xi.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn send_rpc_notification(&mut self, method: &str, params: &Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `send_rpc_notification` [INFO] [stdout] --> src/xi.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn send_rpc_notification(&mut self, method: &str, params: &Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "1135ed21c525191eaacda661b5053d3c960cae6da29aedd969f8b613644acd15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1135ed21c525191eaacda661b5053d3c960cae6da29aedd969f8b613644acd15", kill_on_drop: false }` [INFO] [stdout] 1135ed21c525191eaacda661b5053d3c960cae6da29aedd969f8b613644acd15