[INFO] fetching crate ksway 0.1.0... [INFO] checking ksway-0.1.0 against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] extracting crate ksway 0.1.0 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ksway 0.1.0 on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "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" "+b1f2594eac607c1f051534800237eeedb5590a49" "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.1.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: v1.0.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df8b214ccc4917d88f28f55946411a50f57153fc167cdc84f580ee40fe2e89dc [INFO] running `Command { std: "docker" "start" "-a" "df8b214ccc4917d88f28f55946411a50f57153fc167cdc84f580ee40fe2e89dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df8b214ccc4917d88f28f55946411a50f57153fc167cdc84f580ee40fe2e89dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df8b214ccc4917d88f28f55946411a50f57153fc167cdc84f580ee40fe2e89dc", kill_on_drop: false }` [INFO] [stdout] df8b214ccc4917d88f28f55946411a50f57153fc167cdc84f580ee40fe2e89dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f926452bb38bbea470433d62df52dc43d66c36289f441acba9dc86a2346653f7 [INFO] running `Command { std: "docker" "start" "-a" "f926452bb38bbea470433d62df52dc43d66c36289f441acba9dc86a2346653f7", 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.6 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling redis v0.10.0 [INFO] [stderr] Checking ascii v0.9.3 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking json v0.11.15 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking bstr v1.12.1 [INFO] [stderr] Checking combine v3.8.1 [INFO] [stderr] Checking serde_json v1.0.149 [INFO] [stderr] Checking crossbeam-channel v0.3.9 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking globset v0.4.18 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking ignore v0.4.25 [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 serde v1.0.228 [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: 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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: 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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 24.93s [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 6` [INFO] running `Command { std: "docker" "inspect" "f926452bb38bbea470433d62df52dc43d66c36289f441acba9dc86a2346653f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f926452bb38bbea470433d62df52dc43d66c36289f441acba9dc86a2346653f7", kill_on_drop: false }` [INFO] [stdout] f926452bb38bbea470433d62df52dc43d66c36289f441acba9dc86a2346653f7