[INFO] fetching crate rx-editor 0.3.0... [INFO] checking rx-editor-0.3.0 against master#092a284ba0421695f2032c947765429fd7095796 for pr-139763 [INFO] extracting crate rx-editor 0.3.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate rx-editor 0.3.0 on toolchain 092a284ba0421695f2032c947765429fd7095796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rx-editor 0.3.0 [INFO] finished tweaking crates.io crate rx-editor 0.3.0 [INFO] tweaked toml for crates.io crate rx-editor 0.3.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate rx-editor 0.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-sys v0.23.5 [INFO] [stderr] Downloaded wayland-scanner v0.23.5 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.50 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.50 [INFO] [stderr] Downloaded pico-args v0.3.0 [INFO] [stderr] Downloaded wayland-commons v0.23.5 [INFO] [stderr] Downloaded blake2b_simd v0.5.7 [INFO] [stderr] Downloaded metal v0.17.0 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.50 [INFO] [stderr] Downloaded wayland-protocols v0.23.5 [INFO] [stderr] Downloaded wasm-bindgen v0.2.50 [INFO] [stderr] Downloaded syn v1.0.3 [INFO] [stderr] Downloaded smithay-client-toolkit v0.6.3 [INFO] [stderr] Downloaded gfx-backend-metal v0.4.0 [INFO] [stderr] Downloaded js-sys v0.3.27 [INFO] [stderr] Downloaded gfx-hal v0.4.0 [INFO] [stderr] Downloaded backtrace v0.3.34 [INFO] [stderr] Downloaded wgpu-native v0.4.1 [INFO] [stderr] Downloaded rgx v0.5.0 [INFO] [stderr] Downloaded glfw-sys v3.3.0 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.50 [INFO] [stderr] Downloaded meowhash v0.1.2 [INFO] [stderr] Downloaded rendy-descriptor v0.5.0 [INFO] [stderr] Downloaded rendy-memory v0.5.0 [INFO] [stderr] Downloaded snap v0.2.5 [INFO] [stderr] Downloaded gfx-backend-dx11 v0.4.1 [INFO] [stderr] Downloaded nonempty v0.1.4 [INFO] [stderr] Downloaded wayland-client v0.23.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44a529e77ba94c19070961cb6d3b7fd486adcd433bb5f3c1cc400e4116a0787c [INFO] running `Command { std: "docker" "start" "-a" "44a529e77ba94c19070961cb6d3b7fd486adcd433bb5f3c1cc400e4116a0787c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44a529e77ba94c19070961cb6d3b7fd486adcd433bb5f3c1cc400e4116a0787c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44a529e77ba94c19070961cb6d3b7fd486adcd433bb5f3c1cc400e4116a0787c", kill_on_drop: false }` [INFO] [stdout] 44a529e77ba94c19070961cb6d3b7fd486adcd433bb5f3c1cc400e4116a0787c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 001edddc1721f006ccfb8de5977f688f2781ebc7464f2737936192d0fef7f97f [INFO] running `Command { std: "docker" "start" "-a" "001edddc1721f006ccfb8de5977f688f2781ebc7464f2737936192d0fef7f97f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling cc v1.0.40 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking atom v0.3.5 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling x11 v2.18.1 [INFO] [stderr] Checking hibitset v0.6.2 [INFO] [stderr] Checking lock_api v0.3.1 [INFO] [stderr] Checking raw-window-handle v0.3.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Checking gfx-hal v0.4.0 [INFO] [stderr] Checking ash v0.29.0 [INFO] [stderr] Compiling cmake v0.1.41 [INFO] [stderr] Checking colorful v0.2.1 [INFO] [stderr] Compiling autocfg v0.1.5 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling glfw-sys v3.3.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking backtrace v0.3.34 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking relevant v0.4.2 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking copyless v0.1.4 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Checking regex-syntax v0.6.11 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking humantime v1.2.0 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Checking regex v1.2.1 [INFO] [stderr] Checking rendy-memory v0.5.0 [INFO] [stderr] Checking rendy-descriptor v0.5.0 [INFO] [stderr] Checking gfx-backend-empty v0.4.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling syn v1.0.3 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking nonempty v0.1.4 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Checking directories v2.0.2 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking meowhash v0.1.2 [INFO] [stderr] Checking snap v0.2.5 [INFO] [stderr] Checking pico-args v0.3.0 [INFO] [stderr] Compiling zerocopy-derive v0.1.4 [INFO] [stderr] Checking zerocopy v0.2.8 [INFO] [stderr] Checking glfw v0.34.0 [INFO] [stderr] Checking gfx-backend-vulkan v0.4.0 [INFO] [stderr] Checking wgpu-native v0.4.1 [INFO] [stderr] Checking toml v0.5.5 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Checking wgpu v0.4.0 [INFO] [stderr] Checking rgx v0.5.0 [INFO] [stderr] Checking rx-editor v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `winit` [INFO] [stdout] --> src/session.rs:503:23 [INFO] [stdout] | [INFO] [stdout] 503 | #[cfg(winit)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "winit"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(winit)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(winit)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `mutable_borrow_reservation_conflict` has been removed: now allowed, see issue #59159 for more information [INFO] [stdout] --> src/session.rs:2512:21 [INFO] [stdout] | [INFO] [stdout] 2512 | #[allow(mutable_borrow_reservation_conflict)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/parser.rs:328:13 [INFO] [stdout] | [INFO] [stdout] 328 | (c.is_ascii_lowercase() [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 331 | || [':', '/', '_', '+', '-', '!', '?'].contains(&c)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 328 ~ c.is_ascii_lowercase() [INFO] [stdout] 329 | || c.is_ascii_uppercase() [INFO] [stdout] 330 | || c.is_ascii_digit() [INFO] [stdout] 331 ~ || [':', '/', '_', '+', '-', '!', '?'].contains(&c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `winit` [INFO] [stdout] --> src/session.rs:503:23 [INFO] [stdout] | [INFO] [stdout] 503 | #[cfg(winit)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "winit"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(winit)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(winit)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `mutable_borrow_reservation_conflict` has been removed: now allowed, see issue #59159 for more information [INFO] [stdout] --> src/session.rs:2512:21 [INFO] [stdout] | [INFO] [stdout] 2512 | #[allow(mutable_borrow_reservation_conflict)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/parser.rs:328:13 [INFO] [stdout] | [INFO] [stdout] 328 | (c.is_ascii_lowercase() [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 331 | || [':', '/', '_', '+', '-', '!', '?'].contains(&c)) [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 328 ~ c.is_ascii_lowercase() [INFO] [stdout] 329 | || c.is_ascii_uppercase() [INFO] [stdout] 330 | || c.is_ascii_digit() [INFO] [stdout] 331 ~ || [':', '/', '_', '+', '-', '!', '?'].contains(&c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `logical` is never read [INFO] [stdout] --> src/lib.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | logical = w.size(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/main.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `glfw`, and `winit` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> tests/main.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `glfw`, and `winit` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/main.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Config` [INFO] [stdout] 15 | struct Config { [INFO] [stdout] | ------ `Config` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> tests/main.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | #[derive(Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_WindowConfig` [INFO] [stdout] 20 | struct WindowConfig { [INFO] [stdout] | ------------ `WindowConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value captured by `logical` is never read [INFO] [stdout] --> src/lib.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | logical = w.size(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 45.38s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: snap v0.2.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "001edddc1721f006ccfb8de5977f688f2781ebc7464f2737936192d0fef7f97f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "001edddc1721f006ccfb8de5977f688f2781ebc7464f2737936192d0fef7f97f", kill_on_drop: false }` [INFO] [stdout] 001edddc1721f006ccfb8de5977f688f2781ebc7464f2737936192d0fef7f97f