[INFO] cloning repository https://github.com/bitzl/media-sitegen
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bitzl/media-sitegen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbitzl%2Fmedia-sitegen", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbitzl%2Fmedia-sitegen'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 44faaa91af2000e1c5e45ac823f305986a021197
[INFO] checking bitzl/media-sitegen against master#ab26b175979ee7b2cb3302dce204b99df96f7efb for pr-157696
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbitzl%2Fmedia-sitegen" "/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/bitzl/media-sitegen
[INFO] finished tweaking git repo https://github.com/bitzl/media-sitegen
[INFO] tweaked toml for git repo https://github.com/bitzl/media-sitegen written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/bitzl/media-sitegen on toolchain ab26b175979ee7b2cb3302dce204b99df96f7efb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/bitzl/media-sitegen 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" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "fetch" "--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]  Downloading crates ...
[INFO] [stderr]   Downloaded matches v0.1.8
[INFO] [stderr]   Downloaded percent-encoding v1.0.1
[INFO] [stderr]   Downloaded url v1.7.2
[INFO] [stderr]   Downloaded unic-char-range v0.7.0
[INFO] [stderr]   Downloaded unic-char-property v0.7.0
[INFO] [stderr]   Downloaded slug v0.1.4
[INFO] [stderr]   Downloaded unic-common v0.7.0
[INFO] [stderr]   Downloaded unicode-xid v0.1.0
[INFO] [stderr]   Downloaded tera v0.11.20
[INFO] [stderr]   Downloaded unic-ucd-version v0.7.0
[INFO] [stderr]   Downloaded utf8-ranges v1.0.2
[INFO] [stderr]   Downloaded lazy_static v1.3.0
[INFO] [stderr]   Downloaded sha-1 v0.8.1
[INFO] [stderr]   Downloaded digest v0.8.0
[INFO] [stderr]   Downloaded phf_codegen v0.7.24
[INFO] [stderr]   Downloaded unicode-bidi v0.3.4
[INFO] [stderr]   Downloaded serde_derive v1.0.91
[INFO] [stderr]   Downloaded quote v0.6.12
[INFO] [stderr]   Downloaded thread_local v0.3.6
[INFO] [stderr]   Downloaded pest_derive v2.1.0
[INFO] [stderr]   Downloaded fake-simd v0.1.2
[INFO] [stderr]   Downloaded block-padding v0.1.4
[INFO] [stderr]   Downloaded humansize v1.1.0
[INFO] [stderr]   Downloaded cfg-if v0.1.9
[INFO] [stderr]   Downloaded rand_hc v0.1.0
[INFO] [stderr]   Downloaded vec_map v0.8.1
[INFO] [stderr]   Downloaded opaque-debug v0.2.2
[INFO] [stderr]   Downloaded maplit v1.0.1
[INFO] [stderr]   Downloaded rand_isaac v0.1.1
[INFO] [stderr]   Downloaded atty v0.2.11
[INFO] [stderr]   Downloaded numtoa v0.1.0
[INFO] [stderr]   Downloaded pest_generator v2.1.0
[INFO] [stderr]   Downloaded byte-tools v0.3.1
[INFO] [stderr]   Downloaded phf_shared v0.7.24
[INFO] [stderr]   Downloaded rdrand v0.4.0
[INFO] [stderr]   Downloaded bitflags v1.0.4
[INFO] [stderr]   Downloaded mime v0.2.6
[INFO] [stderr]   Downloaded phf v0.7.24
[INFO] [stderr]   Downloaded itoa v0.4.4
[INFO] [stderr]   Downloaded redox_syscall v0.1.54
[INFO] [stderr]   Downloaded phf_generator v0.7.24
[INFO] [stderr]   Downloaded rand_xorshift v0.1.1
[INFO] [stderr]   Downloaded rand_pcg v0.1.2
[INFO] [stderr]   Downloaded strsim v0.8.0
[INFO] [stderr]   Downloaded autocfg v0.1.4
[INFO] [stderr]   Downloaded unicase v1.4.2
[INFO] [stderr]   Downloaded redox_termios v0.1.1
[INFO] [stderr]   Downloaded smallvec v0.6.9
[INFO] [stderr]   Downloaded pest_meta v2.1.1
[INFO] [stderr]   Downloaded block-buffer v0.7.3
[INFO] [stderr]   Downloaded siphasher v0.2.3
[INFO] [stderr]   Downloaded rand_chacha v0.1.1
[INFO] [stderr]   Downloaded version_check v0.1.5
[INFO] [stderr]   Downloaded unic-ucd-segment v0.7.0
[INFO] [stderr]   Downloaded ucd-util v0.1.3
[INFO] [stderr]   Downloaded memchr v2.2.0
[INFO] [stderr]   Downloaded typenum v1.10.0
[INFO] [stderr]   Downloaded log v0.3.9
[INFO] [stderr]   Downloaded unicode-width v0.1.5
[INFO] [stderr]   Downloaded error-chain v0.12.1
[INFO] [stderr]   Downloaded rand_core v0.4.0
[INFO] [stderr]   Downloaded unic-segment v0.7.0
[INFO] [stderr]   Downloaded num-integer v0.1.41
[INFO] [stderr]   Downloaded mime_guess v1.8.7
[INFO] [stderr]   Downloaded textwrap v0.11.0
[INFO] [stderr]   Downloaded termion v1.5.2
[INFO] [stderr]   Downloaded glob v0.2.11
[INFO] [stderr]   Downloaded ryu v0.2.8
[INFO] [stderr]   Downloaded rand_jitter v0.1.4
[INFO] [stderr]   Downloaded ansi_term v0.11.0
[INFO] [stderr]   Downloaded byteorder v1.3.1
[INFO] [stderr]   Downloaded rustc-demangle v0.1.14
[INFO] [stderr]   Downloaded time v0.1.42
[INFO] [stderr]   Downloaded serde v1.0.91
[INFO] [stderr]   Downloaded proc-macro2 v0.4.30
[INFO] [stderr]   Downloaded generic-array v0.12.0
[INFO] [stderr]   Downloaded ucd-trie v0.1.1
[INFO] [stderr]   Downloaded backtrace v0.3.26
[INFO] [stderr]   Downloaded unicode-normalization v0.1.8
[INFO] [stderr]   Downloaded aho-corasick v0.7.3
[INFO] [stderr]   Downloaded num-traits v0.2.8
[INFO] [stderr]   Downloaded log v0.4.6
[INFO] [stderr]   Downloaded cc v1.0.37
[INFO] [stderr]   Downloaded serde_json v1.0.39
[INFO] [stderr]   Downloaded rand_os v0.1.3
[INFO] [stderr]   Downloaded pest v2.1.1
[INFO] [stderr]   Downloaded idna v0.1.5
[INFO] [stderr]   Downloaded deunicode v0.4.3
[INFO] [stderr]   Downloaded rand v0.6.5
[INFO] [stderr]   Downloaded syn v0.15.34
[INFO] [stderr]   Downloaded chrono v0.4.6
[INFO] [stderr]   Downloaded clap v2.33.0
[INFO] [stderr]   Downloaded regex v1.1.6
[INFO] [stderr]   Downloaded regex-syntax v0.6.6
[INFO] [stderr]   Downloaded libc v0.2.55
[INFO] [stderr]   Downloaded backtrace-sys v0.1.28
[INFO] [stderr]   Downloaded winapi v0.3.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 96a8bf2b83d144a2bbd44f6b3c6cf90749bd0b9ad99517c261791002a5fc2e0e
[INFO] running `Command { std: "docker" "start" "96a8bf2b83d144a2bbd44f6b3c6cf90749bd0b9ad99517c261791002a5fc2e0e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "96a8bf2b83d144a2bbd44f6b3c6cf90749bd0b9ad99517c261791002a5fc2e0e" "/opt/rustwide/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "96a8bf2b83d144a2bbd44f6b3c6cf90749bd0b9ad99517c261791002a5fc2e0e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "96a8bf2b83d144a2bbd44f6b3c6cf90749bd0b9ad99517c261791002a5fc2e0e" "/opt/rustwide/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.4
[INFO] [stderr]    Compiling libc v0.2.55
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling rand_core v0.4.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling syn v0.15.34
[INFO] [stderr]     Checking cfg-if v0.1.9
[INFO] [stderr]    Compiling siphasher v0.2.3
[INFO] [stderr]    Compiling cc v1.0.37
[INFO] [stderr]    Compiling memchr v2.2.0
[INFO] [stderr]    Compiling ucd-trie v0.1.1
[INFO] [stderr]     Checking smallvec v0.6.9
[INFO] [stderr]     Checking unic-char-range v0.7.0
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]     Checking unic-common v0.7.0
[INFO] [stderr]    Compiling serde v1.0.91
[INFO] [stderr]    Compiling maplit v1.0.1
[INFO] [stderr]    Compiling ryu v0.2.8
[INFO] [stderr]     Checking unic-char-property v0.7.0
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]     Checking unic-ucd-version v0.7.0
[INFO] [stderr]     Checking unicode-bidi v0.3.4
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling pest v2.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling backtrace v0.3.26
[INFO] [stderr]    Compiling unicase v1.4.2
[INFO] [stderr]    Compiling error-chain v0.12.1
[INFO] [stderr]     Checking unicode-normalization v0.1.8
[INFO] [stderr]     Checking log v0.4.6
[INFO] [stderr]     Checking rustc-demangle v0.1.14
[INFO] [stderr]     Checking ucd-util v0.1.3
[INFO] [stderr]    Compiling regex v1.1.6
[INFO] [stderr]     Checking lazy_static v1.3.0
[INFO] [stderr]     Checking aho-corasick v0.7.3
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling phf_shared v0.7.24
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]    Compiling pest_meta v2.1.1
[INFO] [stderr]     Checking regex-syntax v0.6.6
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]     Checking unic-ucd-segment v0.7.0
[INFO] [stderr]     Checking unicode-width v0.1.5
[INFO] [stderr]     Checking utf8-ranges v1.0.2
[INFO] [stderr]     Checking deunicode v0.4.3
[INFO] [stderr]     Checking percent-encoding v1.0.1
[INFO] [stderr]     Checking itoa v0.4.4
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]     Checking phf v0.7.24
[INFO] [stderr]     Checking mime v0.2.6
[INFO] [stderr]     Checking atty v0.2.11
[INFO] [stderr]     Checking strsim v0.8.0
[INFO] [stderr]     Checking glob v0.2.11
[INFO] [stderr]     Checking humansize v1.1.0
[INFO] [stderr]     Checking slug v0.1.4
[INFO] [stderr]    Compiling backtrace-sys v0.1.28
[INFO] [stderr]     Checking vec_map v0.8.1
[INFO] [stderr]     Checking ansi_term v0.11.0
[INFO] [stderr]     Checking bitflags v1.0.4
[INFO] [stderr]     Checking unic-segment v0.7.0
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]     Checking chrono v0.4.6
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]    Compiling pest_generator v2.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.91
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]    Compiling mime_guess v1.8.7
[INFO] [stderr]    Compiling pest_derive v2.1.0
[INFO] [stderr]     Checking serde_json v1.0.39
[INFO] [stderr]     Checking tera v0.11.20
[INFO] [stderr]     Checking media-sitegen v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> src/main.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[derive(Serialize)]
[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 `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 `Serialize` (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/main.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Serialize)]
[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 `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[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: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> src/main.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[derive(Serialize)]
[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 `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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 `Serialize` (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/main.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Serialize)]
[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 `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[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/main.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[derive(Serialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_MediaGroup`
[INFO] [stdout] 12 | enum MediaGroup {
[INFO] [stdout]    |      ---------- `MediaGroup` is not local
[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/main.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Serialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_MediaFile`
[INFO] [stdout] 20 | pub struct MediaFile {
[INFO] [stdout]    |            --------- `MediaFile` is not local
[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: 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/main.rs:11:10
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[derive(Serialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_MediaGroup`
[INFO] [stdout] 12 | enum MediaGroup {
[INFO] [stdout]    |      ---------- `MediaGroup` is not local
[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/main.rs:19:10
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Serialize)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_MediaFile`
[INFO] [stdout] 20 | pub struct MediaFile {
[INFO] [stdout]    |            --------- `MediaFile` is not local
[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: this warning originates in the derive macro `Serialize` (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 17.19s
[INFO] running `Command { std: "docker" "inspect" "96a8bf2b83d144a2bbd44f6b3c6cf90749bd0b9ad99517c261791002a5fc2e0e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "96a8bf2b83d144a2bbd44f6b3c6cf90749bd0b9ad99517c261791002a5fc2e0e", kill_on_drop: false }`
[INFO] [stdout] 96a8bf2b83d144a2bbd44f6b3c6cf90749bd0b9ad99517c261791002a5fc2e0e
