[INFO] fetching crate ksway 0.1.0... [INFO] testing ksway-0.1.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate ksway 0.1.0 into /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ksway 0.1.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 104 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.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e3632943fabdf35428b53c5b1c86519ae68d86d79a613b771a4ce6a2d55a29c [INFO] running `Command { std: "docker" "start" "-a" "1e3632943fabdf35428b53c5b1c86519ae68d86d79a613b771a4ce6a2d55a29c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e3632943fabdf35428b53c5b1c86519ae68d86d79a613b771a4ce6a2d55a29c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e3632943fabdf35428b53c5b1c86519ae68d86d79a613b771a4ce6a2d55a29c", kill_on_drop: false }` [INFO] [stdout] 1e3632943fabdf35428b53c5b1c86519ae68d86d79a613b771a4ce6a2d55a29c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37a8ca2d93d6a96db69224f495498075ffac492b0424e0574e8129b182b1a232 [INFO] running `Command { std: "docker" "start" "-a" "37a8ca2d93d6a96db69224f495498075ffac492b0424e0574e8129b182b1a232", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling ignore v0.4.23 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling globwalk v0.7.3 [INFO] [stderr] Compiling 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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.11s [INFO] running `Command { std: "docker" "inspect" "37a8ca2d93d6a96db69224f495498075ffac492b0424e0574e8129b182b1a232", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37a8ca2d93d6a96db69224f495498075ffac492b0424e0574e8129b182b1a232", kill_on_drop: false }` [INFO] [stdout] 37a8ca2d93d6a96db69224f495498075ffac492b0424e0574e8129b182b1a232 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02cad01e1ad34e5008cae657b8a5e1001df80fb5269dab081a049ca4b790840f [INFO] running `Command { std: "docker" "start" "-a" "02cad01e1ad34e5008cae657b8a5e1001df80fb5269dab081a049ca4b790840f", 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] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling redis v0.10.0 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling json v0.11.15 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling 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: 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] [stderr] Compiling tokio-tcp v0.1.4 [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] [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 14.77s [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 1` [INFO] running `Command { std: "docker" "inspect" "02cad01e1ad34e5008cae657b8a5e1001df80fb5269dab081a049ca4b790840f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02cad01e1ad34e5008cae657b8a5e1001df80fb5269dab081a049ca4b790840f", kill_on_drop: false }` [INFO] [stdout] 02cad01e1ad34e5008cae657b8a5e1001df80fb5269dab081a049ca4b790840f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ab834161aadcc564131d5f329a8ebabc3835fcea2ab2c98158b0c9889967e7b8 [INFO] running `Command { std: "docker" "start" "-a" "ab834161aadcc564131d5f329a8ebabc3835fcea2ab2c98158b0c9889967e7b8", 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] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:11:28 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Serialize, Debug, num_derive::FromPrimitive)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = 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] [stderr] = help: try referring to `num_derive::FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = 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] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `num_derive::FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/lib.rs:11:28 [INFO] [stderr] | [INFO] [stderr] 11 | #[derive(Serialize, Debug, num_derive::FromPrimitive)] [INFO] [stderr] | ^------------------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_IpcEvent` [INFO] [stderr] 12 | #[serde(rename_all = "snake_case")] [INFO] [stderr] 13 | pub enum IpcEvent { [INFO] [stderr] | -------- `IpcEvent` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `num_derive::FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [stderr] = 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] [stderr] = 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] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `num_derive::FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `ksway` (lib) generated 2 warnings [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/sway-focus-next.rs:19:23 [INFO] [stderr] | [INFO] [stderr] 19 | type Expression = Box bool>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 19 | type Expression = Box bool>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> examples/watch-sway-windows.rs:245:5 [INFO] [stderr] | [INFO] [stderr] 180 | / loop { [INFO] [stderr] 181 | | while let Ok((payload_type, payload)) = rx.try_recv() { [INFO] [stderr] 182 | | match payload_type { [INFO] [stderr] 183 | | IpcEvent::Window => { [INFO] [stderr] ... | [INFO] [stderr] 243 | | client.poll()?; [INFO] [stderr] 244 | | } [INFO] [stderr] | |_____- any code following this expression is unreachable [INFO] [stderr] 245 | Ok(()) [INFO] [stderr] | ^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variants `CenterX` and `CenterY` are never constructed [INFO] [stderr] --> examples/watch-sway-windows.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 30 | enum AlignmentVerbs { [INFO] [stderr] | -------------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 36 | CenterX, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 37 | CenterY, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AlignmentVerbs` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `extract_path` is never used [INFO] [stderr] --> examples/utils.rs:33:8 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn extract_path<'a, 'b, S: AsRef, I: IntoIterator>( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ksway` (example "sway-focus-next") generated 1 warning (run `cargo fix --example "sway-focus-next"` to apply 1 suggestion) [INFO] [stderr] warning: `ksway` (example "watch-sway-windows") generated 3 warnings [INFO] [stderr] warning: `ksway` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [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 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ksway-6d3e55a1aaa0b95d) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::criteria_command ... ok [INFO] [stdout] test tests::ipc_command_write ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests ksway [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/client.rs - client::Client::subscribe (line 131) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ab834161aadcc564131d5f329a8ebabc3835fcea2ab2c98158b0c9889967e7b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab834161aadcc564131d5f329a8ebabc3835fcea2ab2c98158b0c9889967e7b8", kill_on_drop: false }` [INFO] [stdout] ab834161aadcc564131d5f329a8ebabc3835fcea2ab2c98158b0c9889967e7b8