[INFO] cloning repository https://github.com/nthorne/rssnek [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nthorne/rssnek" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnthorne%2Frssnek", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnthorne%2Frssnek'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f877f5d1f4cc38ec22df1690e51d0566d57837c3 [INFO] testing nthorne/rssnek/f877f5d1f4cc38ec22df1690e51d0566d57837c3 against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnthorne%2Frssnek" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/nthorne/rssnek [INFO] finished tweaking git repo https://github.com/nthorne/rssnek [INFO] tweaked toml for git repo https://github.com/nthorne/rssnek written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/nthorne/rssnek on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/nthorne/rssnek 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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slog-json v1.2.1 [INFO] [stderr] Downloaded slog-term v1.5.0 [INFO] [stderr] Downloaded slog v1.7.1 [INFO] [stderr] Downloaded serde_derive v1.0.20 [INFO] [stderr] Downloaded serde v1.0.20 [INFO] [stderr] Downloaded slog-extra v0.1.2 [INFO] [stderr] Downloaded serde_json v1.0.6 [INFO] [stderr] Downloaded slog-serde v1.0.0-alpha9 [INFO] [stderr] Downloaded slog-stream v1.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 655baa1380613b8859b48ba9287519be85854ff5cba0d464cf5c53f3937284f5 [INFO] running `Command { std: "docker" "start" "-a" "655baa1380613b8859b48ba9287519be85854ff5cba0d464cf5c53f3937284f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "655baa1380613b8859b48ba9287519be85854ff5cba0d464cf5c53f3937284f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "655baa1380613b8859b48ba9287519be85854ff5cba0d464cf5c53f3937284f5", kill_on_drop: false }` [INFO] [stdout] 655baa1380613b8859b48ba9287519be85854ff5cba0d464cf5c53f3937284f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fec5cc50718fd67bc768035ce45b8d395a3f47e43132fb2a02533bf0c0fa03d1 [INFO] running `Command { std: "docker" "start" "-a" "fec5cc50718fd67bc768035ce45b8d395a3f47e43132fb2a02533bf0c0fa03d1", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling libc v0.2.33 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling slog v1.7.1 [INFO] [stderr] Compiling lazy_static v0.2.9 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling itoa v0.1.1 [INFO] [stderr] Compiling dtoa v0.2.2 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling serde v1.0.20 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling time v0.1.38 [INFO] [stderr] Compiling isatty v0.1.5 [INFO] [stderr] Compiling rand v0.3.18 [INFO] [stderr] Compiling slog-extra v0.1.2 [INFO] [stderr] Compiling slog-stream v1.2.1 [INFO] [stderr] Compiling ncurses v5.86.0 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling num v0.1.40 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling serde_derive_internals v0.17.0 [INFO] [stderr] Compiling serde_derive v1.0.20 [INFO] [stderr] Compiling slog-term v1.5.0 [INFO] [stderr] Compiling serde_json v0.8.6 [INFO] [stderr] Compiling slog-serde v1.0.0-alpha9 [INFO] [stderr] Compiling serde_json v1.0.6 [INFO] [stderr] Compiling slog-json v1.2.1 [INFO] [stderr] Compiling rssnek v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/game/mod.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | .and_then({|_| String::from_utf8(buf).map_err(ErrSum::ParseError)}) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 35 - .and_then({|_| String::from_utf8(buf).map_err(ErrSum::ParseError)}) [INFO] [stdout] 35 + .and_then(|_| String::from_utf8(buf).map_err(ErrSum::ParseError)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/game/mod.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | .and_then({|mut s| s.read_to_end(&mut buf).map_err(ErrSum::FileError)}) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 34 - .and_then({|mut s| s.read_to_end(&mut buf).map_err(ErrSum::FileError)}) [INFO] [stdout] 34 + .and_then(|mut s| s.read_to_end(&mut buf).map_err(ErrSum::FileError)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/mod.rs:105:15 [INFO] [stdout] | [INFO] [stdout] 105 | FileError(io::Error), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrSum` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 105 - FileError(io::Error), [INFO] [stdout] 105 + FileError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/mod.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | ParseError(string::FromUtf8Error), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrSum` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 106 - ParseError(string::FromUtf8Error), [INFO] [stdout] 106 + ParseError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/mod.rs:107:16 [INFO] [stdout] | [INFO] [stdout] 107 | SerdeError(serde_json::Error), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrSum` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 107 - SerdeError(serde_json::Error), [INFO] [stdout] 107 + SerdeError(()), [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/game/mod.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Serialize, Deserialize, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Score` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Score` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` 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 `Serialize` (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/game/mod.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Serialize, Deserialize, Clone, Debug)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Score` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Score` [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.37s [INFO] running `Command { std: "docker" "inspect" "fec5cc50718fd67bc768035ce45b8d395a3f47e43132fb2a02533bf0c0fa03d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fec5cc50718fd67bc768035ce45b8d395a3f47e43132fb2a02533bf0c0fa03d1", kill_on_drop: false }` [INFO] [stdout] fec5cc50718fd67bc768035ce45b8d395a3f47e43132fb2a02533bf0c0fa03d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fb5a372eec8530f66ef0b78910a97e54e32530ddc69fdd4985d6c7e0d27c642 [INFO] running `Command { std: "docker" "start" "-a" "2fb5a372eec8530f66ef0b78910a97e54e32530ddc69fdd4985d6c7e0d27c642", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/game/mod.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | .and_then({|_| String::from_utf8(buf).map_err(ErrSum::ParseError)}) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 35 - .and_then({|_| String::from_utf8(buf).map_err(ErrSum::ParseError)}) [INFO] [stdout] 35 + .and_then(|_| String::from_utf8(buf).map_err(ErrSum::ParseError)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/game/mod.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | .and_then({|mut s| s.read_to_end(&mut buf).map_err(ErrSum::FileError)}) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 34 - .and_then({|mut s| s.read_to_end(&mut buf).map_err(ErrSum::FileError)}) [INFO] [stdout] 34 + .and_then(|mut s| s.read_to_end(&mut buf).map_err(ErrSum::FileError)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/mod.rs:105:15 [INFO] [stdout] | [INFO] [stdout] 105 | FileError(io::Error), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrSum` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 105 - FileError(io::Error), [INFO] [stdout] 105 + FileError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/mod.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | ParseError(string::FromUtf8Error), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrSum` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 106 - ParseError(string::FromUtf8Error), [INFO] [stdout] 106 + ParseError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/mod.rs:107:16 [INFO] [stdout] | [INFO] [stdout] 107 | SerdeError(serde_json::Error), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrSum` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 107 - SerdeError(serde_json::Error), [INFO] [stdout] 107 + SerdeError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rssnek v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/game/mod.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Serialize, Deserialize, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Score` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Score` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` 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 `Serialize` (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/game/mod.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Serialize, Deserialize, Clone, Debug)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Score` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Score` [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: unnecessary braces around method argument [INFO] [stdout] --> src/game/mod.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | .and_then({|_| String::from_utf8(buf).map_err(ErrSum::ParseError)}) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 35 - .and_then({|_| String::from_utf8(buf).map_err(ErrSum::ParseError)}) [INFO] [stdout] 35 + .and_then(|_| String::from_utf8(buf).map_err(ErrSum::ParseError)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/game/mod.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | .and_then({|mut s| s.read_to_end(&mut buf).map_err(ErrSum::FileError)}) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 34 - .and_then({|mut s| s.read_to_end(&mut buf).map_err(ErrSum::FileError)}) [INFO] [stdout] 34 + .and_then(|mut s| s.read_to_end(&mut buf).map_err(ErrSum::FileError)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/mod.rs:105:15 [INFO] [stdout] | [INFO] [stdout] 105 | FileError(io::Error), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrSum` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 105 - FileError(io::Error), [INFO] [stdout] 105 + FileError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/mod.rs:106:16 [INFO] [stdout] | [INFO] [stdout] 106 | ParseError(string::FromUtf8Error), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrSum` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 106 - ParseError(string::FromUtf8Error), [INFO] [stdout] 106 + ParseError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/mod.rs:107:16 [INFO] [stdout] | [INFO] [stdout] 107 | SerdeError(serde_json::Error), [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ErrSum` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 107 - SerdeError(serde_json::Error), [INFO] [stdout] 107 + SerdeError(()), [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/game/mod.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Serialize, Deserialize, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Score` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Score` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` 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 `Serialize` (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/game/mod.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Serialize, Deserialize, Clone, Debug)] [INFO] [stdout] | -^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Score` is not local [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Score` [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "2fb5a372eec8530f66ef0b78910a97e54e32530ddc69fdd4985d6c7e0d27c642", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fb5a372eec8530f66ef0b78910a97e54e32530ddc69fdd4985d6c7e0d27c642", kill_on_drop: false }` [INFO] [stdout] 2fb5a372eec8530f66ef0b78910a97e54e32530ddc69fdd4985d6c7e0d27c642 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c557b9b5cf3ad6fd78ec30d299d65dff81b1310dd7c38106d3d1f0250201d624 [INFO] running `Command { std: "docker" "start" "-a" "c557b9b5cf3ad6fd78ec30d299d65dff81b1310dd7c38106d3d1f0250201d624", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unnecessary braces around method argument [INFO] [stderr] --> src/game/mod.rs:35:23 [INFO] [stderr] | [INFO] [stderr] 35 | .and_then({|_| String::from_utf8(buf).map_err(ErrSum::ParseError)}) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 35 - .and_then({|_| String::from_utf8(buf).map_err(ErrSum::ParseError)}) [INFO] [stderr] 35 + .and_then(|_| String::from_utf8(buf).map_err(ErrSum::ParseError)) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around method argument [INFO] [stderr] --> src/game/mod.rs:34:23 [INFO] [stderr] | [INFO] [stderr] 34 | .and_then({|mut s| s.read_to_end(&mut buf).map_err(ErrSum::FileError)}) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 34 - .and_then({|mut s| s.read_to_end(&mut buf).map_err(ErrSum::FileError)}) [INFO] [stderr] 34 + .and_then(|mut s| s.read_to_end(&mut buf).map_err(ErrSum::FileError)) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/game/mod.rs:105:15 [INFO] [stderr] | [INFO] [stderr] 105 | FileError(io::Error), [INFO] [stderr] | --------- ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ErrSum` 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] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 105 - FileError(io::Error), [INFO] [stderr] 105 + FileError(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/game/mod.rs:106:16 [INFO] [stderr] | [INFO] [stderr] 106 | ParseError(string::FromUtf8Error), [INFO] [stderr] | ---------- ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ErrSum` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 106 - ParseError(string::FromUtf8Error), [INFO] [stderr] 106 + ParseError(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/game/mod.rs:107:16 [INFO] [stderr] | [INFO] [stderr] 107 | SerdeError(serde_json::Error), [INFO] [stderr] | ---------- ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ErrSum` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 107 - SerdeError(serde_json::Error), [INFO] [stderr] 107 + SerdeError(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/game/mod.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Serialize, Deserialize, Clone, Debug)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Score` is not local [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Score` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_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 `Serialize` (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/game/mod.rs:18:21 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Serialize, Deserialize, Clone, Debug)] [INFO] [stderr] | -^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `Score` is not local [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Score` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `rssnek` (lib) generated 7 warnings (run `cargo fix --lib -p rssnek` to apply 2 suggestions) [INFO] [stderr] warning: `rssnek` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rssnek-c43867f4f6b112df) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] Jun 29 00:46:52.997 INFO Adding subscriber, channel: Sender { .. } [INFO] [stdout] Jun 29 00:46:52.997 INFO Adding subscriber, channel: Sender { .. } [INFO] [stdout] Jun 29 00:46:52.997 INFO Adding subscriber, channel: Sender { .. } [INFO] [stdout] Jun 29 00:46:52.998 INFO Adding subscriber, channel: Sender { .. } [INFO] [stdout] test events::tests::test_start_loop ... ok [INFO] [stdout] Jun 29 00:46:52.998 INFO Starting message dispatcher loop.. [INFO] [stdout] Jun 29 00:46:52.998 INFO Starting message dispatcher loop.. [INFO] [stdout] Jun 29 00:46:52.998 INFO Got message, msg: Event1 [INFO] [stdout] Jun 29 00:46:52.998 INFO Starting message dispatcher loop.. [INFO] [stdout] Jun 29 00:46:52.998 INFO Starting message dispatcher loop.. [INFO] [stdout] Jun 29 00:46:52.998 INFO Got message, msg: Event1 [INFO] [stdout] Jun 29 00:46:52.998 INFO Got message, msg: Event1 [INFO] [stdout] Jun 29 00:46:52.998 INFO Sending to channel, chan: Sender { .. } [INFO] [stdout] Jun 29 00:46:52.998 INFO Sending to channel, chan: Sender { .. } [INFO] [stdout] Jun 29 00:46:52.998 INFO Got message, msg: Event1 [INFO] [stdout] Jun 29 00:46:52.998 INFO Sending to channel, chan: Sender { .. } [INFO] [stdout] Jun 29 00:46:52.998 INFO Sending to channel, chan: Sender { .. } [INFO] [stdout] test events::tests::test_subscribing_to_multiple_messages ... ok [INFO] [stdout] test events::tests::test_subscribe ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rssnek-85a464eff4557e6b) [INFO] [stdout] Jun 29 00:46:52.998 INFO Got message, msg: Event2 [INFO] [stdout] Jun 29 00:46:52.998 INFO Sending to channel, chan: Sender { .. } [INFO] [stdout] Jun 29 00:46:52.998 INFO Got message, msg: Event3 [INFO] [stdout] Jun 29 00:46:52.998 INFO Sending to channel, chan: Sender { .. } [INFO] [stdout] test events::tests::test_dispatching_multiple_messages ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rssnek [INFO] [stderr] warning: unnecessary braces around method argument [INFO] [stderr] --> src/game/mod.rs:35:23 [INFO] [stderr] | [INFO] [stderr] 35 | .and_then({|_| String::from_utf8(buf).map_err(ErrSum::ParseError)}) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 35 - .and_then({|_| String::from_utf8(buf).map_err(ErrSum::ParseError)}) [INFO] [stderr] 35 + .and_then(|_| String::from_utf8(buf).map_err(ErrSum::ParseError)) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around method argument [INFO] [stderr] --> src/game/mod.rs:34:23 [INFO] [stderr] | [INFO] [stderr] 34 | .and_then({|mut s| s.read_to_end(&mut buf).map_err(ErrSum::FileError)}) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 34 - .and_then({|mut s| s.read_to_end(&mut buf).map_err(ErrSum::FileError)}) [INFO] [stderr] 34 + .and_then(|mut s| s.read_to_end(&mut buf).map_err(ErrSum::FileError)) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c557b9b5cf3ad6fd78ec30d299d65dff81b1310dd7c38106d3d1f0250201d624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c557b9b5cf3ad6fd78ec30d299d65dff81b1310dd7c38106d3d1f0250201d624", kill_on_drop: false }` [INFO] [stdout] c557b9b5cf3ad6fd78ec30d299d65dff81b1310dd7c38106d3d1f0250201d624