[INFO] fetching crate ksway 0.1.0... [INFO] checking ksway-0.1.0 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate ksway 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate ksway 0.1.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate ksway 0.1.0 [INFO] tweaked toml for crates.io crate ksway 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ksway 0.1.0 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 112 packages to latest compatible versions [INFO] [stderr] Adding crossbeam-channel v0.3.9 (available: v0.5.15) [INFO] [stderr] Adding derive_more v0.15.0 (available: v2.0.1) [INFO] [stderr] Adding env_logger v0.6.2 (available: v0.11.8) [INFO] [stderr] Adding globwalk v0.7.3 (available: v0.9.1) [INFO] [stderr] Adding itertools v0.8.2 (available: v0.14.0) [INFO] [stderr] Adding json v0.11.15 (available: v0.12.4) [INFO] [stderr] Adding num-derive v0.2.5 (available: v0.4.2) [INFO] [stderr] Adding redis v0.10.0 (available: v0.32.5) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] acded70b9b65298d0edb31086f0c2b76cd6e2e4389c21b26ad74f04ef11bcde5 [INFO] running `Command { std: "docker" "start" "-a" "acded70b9b65298d0edb31086f0c2b76cd6e2e4389c21b26ad74f04ef11bcde5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acded70b9b65298d0edb31086f0c2b76cd6e2e4389c21b26ad74f04ef11bcde5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acded70b9b65298d0edb31086f0c2b76cd6e2e4389c21b26ad74f04ef11bcde5", kill_on_drop: false }` [INFO] [stdout] acded70b9b65298d0edb31086f0c2b76cd6e2e4389c21b26ad74f04ef11bcde5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32b502c0de45c630458703556669f771db11492d6f49748c460b1946f5ad26b0 [INFO] running `Command { std: "docker" "start" "-a" "32b502c0de45c630458703556669f771db11492d6f49748c460b1946f5ad26b0", kill_on_drop: false }` [INFO] [stderr] warning: invalid feature `this-isnt-a-real-example` in required-features of target `utils`: `this-isnt-a-real-example` is not present in [features] section [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking bstr v1.12.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling redis v0.10.0 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking num-traits v0.2.19 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking json v0.11.15 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking globset v0.4.16 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking globwalk v0.7.3 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Checking ksway v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Debug, num_derive::FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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 `num_derive::FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `num_derive::FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `num_derive::FromPrimitive` (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] --> src/lib.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Debug, num_derive::FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [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 `num_derive::FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `num_derive::FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `num_derive::FromPrimitive` (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] --> src/lib.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Debug, num_derive::FromPrimitive)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_IpcEvent` [INFO] [stdout] 12 | #[serde(rename_all = "snake_case")] [INFO] [stdout] 13 | pub enum IpcEvent { [INFO] [stdout] | -------- `IpcEvent` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `num_derive::FromPrimitive` (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] --> src/lib.rs:11:28 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Debug, num_derive::FromPrimitive)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_IpcEvent` [INFO] [stdout] 12 | #[serde(rename_all = "snake_case")] [INFO] [stdout] 13 | pub enum IpcEvent { [INFO] [stdout] | -------- `IpcEvent` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_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 `num_derive::FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/sway-focus-next.rs:19:23 [INFO] [stdout] | [INFO] [stdout] 19 | type Expression = Box bool>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | type Expression = Box bool>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> examples/watch-sway-windows.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 180 | / loop { [INFO] [stdout] 181 | | while let Ok((payload_type, payload)) = rx.try_recv() { [INFO] [stdout] 182 | | match payload_type { [INFO] [stdout] 183 | | IpcEvent::Window => { [INFO] [stdout] ... | [INFO] [stdout] 243 | | client.poll()?; [INFO] [stdout] 244 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 245 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `CenterX` and `CenterY` are never constructed [INFO] [stdout] --> examples/watch-sway-windows.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 30 | enum AlignmentVerbs { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 36 | CenterX, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 37 | CenterY, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AlignmentVerbs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extract_path` is never used [INFO] [stdout] --> examples/utils.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn extract_path<'a, 'b, S: AsRef, I: IntoIterator>( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.89s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.10.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 7` [INFO] running `Command { std: "docker" "inspect" "32b502c0de45c630458703556669f771db11492d6f49748c460b1946f5ad26b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32b502c0de45c630458703556669f771db11492d6f49748c460b1946f5ad26b0", kill_on_drop: false }` [INFO] [stdout] 32b502c0de45c630458703556669f771db11492d6f49748c460b1946f5ad26b0