[INFO] fetching crate ksway 0.1.0... [INFO] checking ksway-0.1.0 against try#09ea730c380b8b9acb96ff87b724c45df920f793 for pr-134272 [INFO] extracting crate ksway 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate ksway 0.1.0 on toolchain 09ea730c380b8b9acb96ff87b724c45df920f793 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 111 packages to latest compatible versions [INFO] [stderr] Adding crossbeam-channel v0.3.9 (available: v0.5.14) [INFO] [stderr] Adding derive_more v0.15.0 (available: v1.0.0) [INFO] [stderr] Adding env_logger v0.6.2 (available: v0.11.5) [INFO] [stderr] Adding globwalk v0.7.3 (available: v0.9.1) [INFO] [stderr] Adding itertools v0.8.2 (available: v0.13.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.27.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1ed06f1bb182bb4849fe393a9bccefd25b08cdb0a0df66e7406cc22231bc5ad5 [INFO] running `Command { std: "docker" "start" "-a" "1ed06f1bb182bb4849fe393a9bccefd25b08cdb0a0df66e7406cc22231bc5ad5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1ed06f1bb182bb4849fe393a9bccefd25b08cdb0a0df66e7406cc22231bc5ad5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ed06f1bb182bb4849fe393a9bccefd25b08cdb0a0df66e7406cc22231bc5ad5", kill_on_drop: false }` [INFO] [stdout] 1ed06f1bb182bb4849fe393a9bccefd25b08cdb0a0df66e7406cc22231bc5ad5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+09ea730c380b8b9acb96ff87b724c45df920f793" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 392b4e79f19a521d1ef891f76031e082735430e80609e0fc9562a8eed9461fdb [INFO] running `Command { std: "docker" "start" "-a" "392b4e79f19a521d1ef891f76031e082735430e80609e0fc9562a8eed9461fdb", 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 memchr v2.7.4 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking bstr v1.11.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Compiling redis v0.10.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking json v0.11.15 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Checking globset v0.4.15 [INFO] [stderr] Checking regex v1.11.1 [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] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [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] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [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 18.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 1` [INFO] running `Command { std: "docker" "inspect" "392b4e79f19a521d1ef891f76031e082735430e80609e0fc9562a8eed9461fdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "392b4e79f19a521d1ef891f76031e082735430e80609e0fc9562a8eed9461fdb", kill_on_drop: false }` [INFO] [stdout] 392b4e79f19a521d1ef891f76031e082735430e80609e0fc9562a8eed9461fdb