[INFO] fetching crate etch 0.4.2... [INFO] testing etch-0.4.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_0 [INFO] extracting crate etch 0.4.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate etch 0.4.2 [INFO] finished tweaking crates.io crate etch 0.4.2 [INFO] tweaked toml for crates.io crate etch 0.4.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate etch 0.4.2 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate etch 0.4.2 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winapi-util v0.1.2 [INFO] [stderr] Downloaded same-file v1.0.4 [INFO] [stderr] Downloaded serde_json v1.0.39 [INFO] [stderr] Downloaded walkdir v2.2.7 [INFO] [stderr] Downloaded paste v0.1.5 [INFO] [stderr] Downloaded bork v0.2.1 [INFO] [stderr] Downloaded paste-impl v0.1.5 [INFO] [stderr] Downloaded adler32 v1.0.3 [INFO] [stderr] Downloaded cfg-if v0.1.9 [INFO] [stderr] Downloaded bincode v1.1.4 [INFO] [stderr] Downloaded yaml-rust v0.4.3 [INFO] [stderr] Downloaded linked-hash-map v0.5.2 [INFO] [stderr] Downloaded itoa v0.4.4 [INFO] [stderr] Downloaded autocfg v0.1.7 [INFO] [stderr] Downloaded bitflags v1.0.4 [INFO] [stderr] Downloaded lazy_static v1.3.0 [INFO] [stderr] Downloaded pkg-config v0.3.14 [INFO] [stderr] Downloaded humantime v1.2.0 [INFO] [stderr] Downloaded quote v0.6.12 [INFO] [stderr] Downloaded byteorder v1.3.1 [INFO] [stderr] Downloaded ucd-util v0.1.3 [INFO] [stderr] Downloaded serde v1.0.91 [INFO] [stderr] Downloaded quick-error v1.2.2 [INFO] [stderr] Downloaded safemem v0.3.0 [INFO] [stderr] Downloaded serde_derive v1.0.91 [INFO] [stderr] Downloaded glue v0.8.7 [INFO] [stderr] Downloaded miniz_oxide v0.2.1 [INFO] [stderr] Downloaded cc v1.0.37 [INFO] [stderr] Downloaded flate2 v1.0.7 [INFO] [stderr] Downloaded xml-rs v0.8.0 [INFO] [stderr] Downloaded miniz-sys v0.1.12 [INFO] [stderr] Downloaded ryu v0.2.8 [INFO] [stderr] Downloaded onig v4.3.2 [INFO] [stderr] Downloaded proc-macro2 v0.4.29 [INFO] [stderr] Downloaded syn v0.15.33 [INFO] [stderr] Downloaded miniz_oxide_c_api v0.2.1 [INFO] [stderr] Downloaded regex-syntax v0.6.6 [INFO] [stderr] Downloaded plist v0.4.1 [INFO] [stderr] Downloaded onig_sys v69.1.0 [INFO] [stderr] Downloaded proc-macro-hack v0.5.5 [INFO] [stderr] Downloaded winapi v0.3.7 [INFO] [stderr] Downloaded syntect v3.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 385650a5252e84d6924e329f6eb20cbb822cc39b167b2178d99cd5d85cde5d1d [INFO] running `Command { std: "docker" "start" "-a" "385650a5252e84d6924e329f6eb20cbb822cc39b167b2178d99cd5d85cde5d1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "385650a5252e84d6924e329f6eb20cbb822cc39b167b2178d99cd5d85cde5d1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "385650a5252e84d6924e329f6eb20cbb822cc39b167b2178d99cd5d85cde5d1d", kill_on_drop: false }` [INFO] [stdout] 385650a5252e84d6924e329f6eb20cbb822cc39b167b2178d99cd5d85cde5d1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5c2c72f6dbea3c374afd15b284cb44f06926ae4ad7a08ee7866738f27bfff41e [INFO] running `Command { std: "docker" "start" "-a" "5c2c72f6dbea3c374afd15b284cb44f06926ae4ad7a08ee7866738f27bfff41e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.29 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.33 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling bincode v1.1.4 [INFO] [stderr] Compiling line-wrap v0.1.1 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling same-file v1.0.4 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling walkdir v2.2.7 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling miniz-sys v0.1.12 [INFO] [stderr] Compiling onig_sys v69.1.0 [INFO] [stderr] Compiling bork v0.2.1 [INFO] [stderr] Compiling flate2 v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.91 [INFO] [stderr] Compiling proc-macro-hack v0.5.5 [INFO] [stderr] Compiling paste-impl v0.1.5 [INFO] [stderr] Compiling paste v0.1.5 [INFO] [stderr] Compiling glue v0.8.7 [INFO] [stderr] Compiling onig v4.3.2 [INFO] [stderr] Compiling plist v0.4.1 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling syntect v3.2.0 [INFO] [stderr] Compiling etch v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/nodes.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `syntect`, and `syntect-plugin` [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] = help: 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: 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 `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/nodes.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, PartialEq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Node` [INFO] [stdout] 13 | pub enum Node { [INFO] [stdout] | ---- `Node` 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.58s [INFO] running `Command { std: "docker" "inspect" "5c2c72f6dbea3c374afd15b284cb44f06926ae4ad7a08ee7866738f27bfff41e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c2c72f6dbea3c374afd15b284cb44f06926ae4ad7a08ee7866738f27bfff41e", kill_on_drop: false }` [INFO] [stdout] 5c2c72f6dbea3c374afd15b284cb44f06926ae4ad7a08ee7866738f27bfff41e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5aff1fd33846f337f74fddfb9b96df6db80855e2864911878ce6b05936372ed8 [INFO] running `Command { std: "docker" "start" "-a" "5aff1fd33846f337f74fddfb9b96df6db80855e2864911878ce6b05936372ed8", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/nodes.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `syntect`, and `syntect-plugin` [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] = help: 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: 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 `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling etch v0.4.2 (/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/nodes.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, PartialEq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Node` [INFO] [stdout] 13 | pub enum Node { [INFO] [stdout] | ---- `Node` 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: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/nodes.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, PartialEq, Serialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `syntect`, and `syntect-plugin` [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] = help: 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: 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 `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/nodes.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, PartialEq, Serialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Node` [INFO] [stdout] 13 | pub enum Node { [INFO] [stdout] | ---- `Node` 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.45s [INFO] running `Command { std: "docker" "inspect" "5aff1fd33846f337f74fddfb9b96df6db80855e2864911878ce6b05936372ed8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5aff1fd33846f337f74fddfb9b96df6db80855e2864911878ce6b05936372ed8", kill_on_drop: false }` [INFO] [stdout] 5aff1fd33846f337f74fddfb9b96df6db80855e2864911878ce6b05936372ed8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 11e3bbbf60b7ed274abdb354d0772f009c051f9b235285fe2f85a28dcfc116f9 [INFO] running `Command { std: "docker" "start" "-a" "11e3bbbf60b7ed274abdb354d0772f009c051f9b235285fe2f85a28dcfc116f9", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/nodes.rs:12:35 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone, PartialEq, Serialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `default`, `syntect`, and `syntect-plugin` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: 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: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `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/nodes.rs:12:35 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone, PartialEq, Serialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Node` [INFO] [stderr] 13 | pub enum Node { [INFO] [stderr] | ---- `Node` is not local [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: `etch` (lib) generated 2 warnings [INFO] [stderr] warning: `etch` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/etch-f13048c6a14b396b) [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test parsers::block::numbered_list_parses ... ok [INFO] [stdout] test parsers::block::paragraph_parses ... ok [INFO] [stdout] test parsers::block::heading_parses ... ok [INFO] [stdout] test parsers::block::preformatted_parses ... ok [INFO] [stdout] test parsers::block::tag_declaration_parses ... ok [INFO] [stdout] test parsers::inline::quoted_parses ... ok [INFO] [stdout] test parsers::inline::emphasis_parses ... ok [INFO] [stdout] test parsers::block::quotation_parses ... ok [INFO] [stdout] test parsers::block::figure_parses ... ok [INFO] [stdout] test parsers::tags::tag_href_value_parses ... ok [INFO] [stdout] test parsers::tags::tag_id_value_parses ... ok [INFO] [stdout] test parsers::block::bulleted_list_parses ... ok [INFO] [stdout] test parsers::inline::preformatted_parses ... ok [INFO] [stdout] test parsers::inline::span_parses ... ok [INFO] [stdout] test parsers::tags::tag_unnamed_parses ... ok [INFO] [stdout] test parsers::tags::tag_values_parses ... ok [INFO] [stdout] test parsers::tags::tag_reference_parses ... ok [INFO] [stdout] test parsers::inline::word_parses ... ok [INFO] [stdout] test parsers::tags::tag_class_value_parses ... ok [INFO] [stdout] test parsers::tags::tag_named_parses ... ok [INFO] [stdout] test parsers::tags::tag_named_value_parses ... ok [INFO] [stderr] Running unittests src/bin/etch.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/etch-759003d617b69ab0) [INFO] [stdout] test example ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [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] running `Command { std: "docker" "inspect" "11e3bbbf60b7ed274abdb354d0772f009c051f9b235285fe2f85a28dcfc116f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11e3bbbf60b7ed274abdb354d0772f009c051f9b235285fe2f85a28dcfc116f9", kill_on_drop: false }` [INFO] [stdout] 11e3bbbf60b7ed274abdb354d0772f009c051f9b235285fe2f85a28dcfc116f9