[INFO] fetching crate serde-xdr 0.6.0... [INFO] testing serde-xdr-0.6.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate serde-xdr 0.6.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate serde-xdr 0.6.0 [INFO] finished tweaking crates.io crate serde-xdr 0.6.0 [INFO] tweaked toml for crates.io crate serde-xdr 0.6.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate serde-xdr 0.6.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 31 packages to latest compatible versions [INFO] [stderr] Adding ordered-float v0.5.2 (available: v5.1.0) [INFO] [stderr] Adding serde_bytes v0.10.5 (available: v0.11.19) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ordered-float v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4509df3d80b7cfef6b388d625cc1e53a94fb73d96eea113ee28045c83b844eb9 [INFO] running `Command { std: "docker" "start" "-a" "4509df3d80b7cfef6b388d625cc1e53a94fb73d96eea113ee28045c83b844eb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4509df3d80b7cfef6b388d625cc1e53a94fb73d96eea113ee28045c83b844eb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4509df3d80b7cfef6b388d625cc1e53a94fb73d96eea113ee28045c83b844eb9", kill_on_drop: false }` [INFO] [stdout] 4509df3d80b7cfef6b388d625cc1e53a94fb73d96eea113ee28045c83b844eb9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dcf044211a7258abb4fb013dcbc0b74b529b463c503f9ae755a8d0b9b502b5db [INFO] running `Command { std: "docker" "start" "-a" "dcf044211a7258abb4fb013dcbc0b74b529b463c503f9ae755a8d0b9b502b5db", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling serde-xdr v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/de/errors.rs:181:16 [INFO] [stdout] | [INFO] [stdout] 181 | self.0.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ser/errors.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | self.0.description() [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/de/errors.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_DeserializationError` [INFO] [stdout] 14 | pub enum DeserializationError { [INFO] [stdout] | -------------------- `DeserializationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/de/errors.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_DeserializationError` [INFO] [stdout] 14 | pub enum DeserializationError { [INFO] [stdout] | -------------------- `DeserializationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/ser/errors.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_SerializationError` [INFO] [stdout] 13 | pub enum SerializationError { [INFO] [stdout] | ------------------ `SerializationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/ser/errors.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_SerializationError` [INFO] [stdout] 13 | pub enum SerializationError { [INFO] [stdout] | ------------------ `SerializationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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 8.68s [INFO] running `Command { std: "docker" "inspect" "dcf044211a7258abb4fb013dcbc0b74b529b463c503f9ae755a8d0b9b502b5db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcf044211a7258abb4fb013dcbc0b74b529b463c503f9ae755a8d0b9b502b5db", kill_on_drop: false }` [INFO] [stdout] dcf044211a7258abb4fb013dcbc0b74b529b463c503f9ae755a8d0b9b502b5db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a41bf71e5d50aa87019e172c3ef96bd7e37240f35964cbe8960de137d5c30772 [INFO] running `Command { std: "docker" "start" "-a" "a41bf71e5d50aa87019e172c3ef96bd7e37240f35964cbe8960de137d5c30772", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling serde_bytes v0.10.5 [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/de/errors.rs:181:16 [INFO] [stdout] | [INFO] [stdout] 181 | self.0.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ser/errors.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | self.0.description() [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/de/errors.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_DeserializationError` [INFO] [stdout] 14 | pub enum DeserializationError { [INFO] [stdout] | -------------------- `DeserializationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/de/errors.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_DeserializationError` [INFO] [stdout] 14 | pub enum DeserializationError { [INFO] [stdout] | -------------------- `DeserializationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/ser/errors.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_SerializationError` [INFO] [stdout] 13 | pub enum SerializationError { [INFO] [stdout] | ------------------ `SerializationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/ser/errors.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_SerializationError` [INFO] [stdout] 13 | pub enum SerializationError { [INFO] [stdout] | ------------------ `SerializationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling ordered-float v0.5.2 [INFO] [stderr] Compiling serde-xdr v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/de/errors.rs:181:16 [INFO] [stdout] | [INFO] [stdout] 181 | self.0.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/ser/errors.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | self.0.description() [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/de/errors.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_DeserializationError` [INFO] [stdout] 14 | pub enum DeserializationError { [INFO] [stdout] | -------------------- `DeserializationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/de/errors.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_DeserializationError` [INFO] [stdout] 14 | pub enum DeserializationError { [INFO] [stdout] | -------------------- `DeserializationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/ser/serializer/tests.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | bits = mem::transmute::(value); [INFO] [stdout] | --------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/ser/serializer/tests.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | bits = mem::transmute::(value); [INFO] [stdout] | --------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [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/ser/errors.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_SerializationError` [INFO] [stdout] 13 | pub enum SerializationError { [INFO] [stdout] | ------------------ `SerializationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/ser/errors.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_SerializationError` [INFO] [stdout] 13 | pub enum SerializationError { [INFO] [stdout] | ------------------ `SerializationError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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.06s [INFO] running `Command { std: "docker" "inspect" "a41bf71e5d50aa87019e172c3ef96bd7e37240f35964cbe8960de137d5c30772", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a41bf71e5d50aa87019e172c3ef96bd7e37240f35964cbe8960de137d5c30772", kill_on_drop: false }` [INFO] [stdout] a41bf71e5d50aa87019e172c3ef96bd7e37240f35964cbe8960de137d5c30772 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e4b1eef780b7cf1573dd430075605188fa10b6b2ec7b6b16a981d0603308e88c [INFO] running `Command { std: "docker" "start" "-a" "e4b1eef780b7cf1573dd430075605188fa10b6b2ec7b6b16a981d0603308e88c", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/de/errors.rs:181:16 [INFO] [stderr] | [INFO] [stderr] 181 | self.0.description() [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/ser/errors.rs:119:16 [INFO] [stderr] | [INFO] [stderr] 119 | self.0.description() [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/de/errors.rs:13:17 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_DeserializationError` [INFO] [stderr] 14 | pub enum DeserializationError { [INFO] [stderr] | -------------------- `DeserializationError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/de/errors.rs:13:17 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_DeserializationError` [INFO] [stderr] 14 | pub enum DeserializationError { [INFO] [stderr] | -------------------- `DeserializationError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/ser/errors.rs:12:17 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Fail` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_SerializationError` [INFO] [stderr] 13 | pub enum SerializationError { [INFO] [stderr] | ------------------ `SerializationError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (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/ser/errors.rs:12:17 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Fail)] [INFO] [stderr] | ^--- [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_SerializationError` [INFO] [stderr] 13 | pub enum SerializationError { [INFO] [stderr] | ------------------ `SerializationError` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_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 `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/ser/serializer/tests.rs:35:16 [INFO] [stderr] | [INFO] [stderr] 35 | bits = mem::transmute::(value); [INFO] [stderr] | --------------------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f32::to_bits` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/ser/serializer/tests.rs:45:16 [INFO] [stderr] | [INFO] [stderr] 45 | bits = mem::transmute::(value); [INFO] [stderr] | --------------------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f64::to_bits` [INFO] [stderr] [INFO] [stderr] warning: `serde-xdr` (lib) generated 6 warnings [INFO] [stderr] warning: `serde-xdr` (lib test) generated 8 warnings (6 duplicates) (run `cargo fix --lib -p serde-xdr --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/serde_xdr-da4b19c9cafa917d) [INFO] [stdout] [INFO] [stdout] running 83 tests [INFO] [stdout] test de::deserializer::enum_deserializer::tests::deserialize_inexistent_enum_variant ... ok [INFO] [stdout] test de::deserializer::enum_deserializer::tests::deserialize_third_enum_variant ... ok [INFO] [stdout] test de::deserializer::sequence_deserializer::tests::deserialize_tuple ... ok [INFO] [stdout] test de::deserializer::sequence_deserializer::tests::deserialize_sequence ... ok [INFO] [stdout] test de::deserializer::enum_deserializer::tests::deserialize_second_enum_variant ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_false ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_char ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_i16 ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_i32 ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_i64 ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_f32 ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_i8 ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_newtype_struct ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_none ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_opaque_with_1_byte_padding ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_opaque_with_2_byte_padding ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_opaque_with_3_byte_padding ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_opaque_without_padding ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_some ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_str_with_1_byte_padding ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_str_with_2_byte_padding ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_str_with_3_byte_padding ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_str_without_padding ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_true ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_u16 ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_u64 ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_u8 ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_f64 ... ok [INFO] [stdout] test opaque_data::tests::fixed_length::deserialize_bytes_with_2_byte_padding ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_u32 ... ok [INFO] [stdout] test opaque_data::tests::fixed_length::deserialize_bytes_without_padding ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_unit ... ok [INFO] [stdout] test de::deserializer::struct_deserializer::tests::deserialize_struct ... ok [INFO] [stdout] test opaque_data::tests::fixed_length::serialize_bytes_with_2_byte_padding ... ok [INFO] [stdout] test opaque_data::tests::fixed_length::serialize_bytes_with_3_byte_padding ... ok [INFO] [stdout] test opaque_data::tests::fixed_length::serialize_bytes_without_padding ... ok [INFO] [stdout] test opaque_data::tests::fixed_length::deserialize_bytes_with_1_byte_padding ... ok [INFO] [stdout] test opaque_data::tests::fixed_length::serialize_bytes_with_1_byte_padding ... ok [INFO] [stdout] test ser::serializer::sequence_serializer::type_name::tests::tuple_variant ... ok [INFO] [stdout] test ser::serializer::sequence_serializer::tests::serialize_sequence ... ok [INFO] [stdout] test ser::serializer::sequence_serializer::tests::serialize_tuple ... ok [INFO] [stdout] test ser::serializer::struct_serializer::tests::serialize_struct ... ok [INFO] [stdout] test ser::serializer::struct_serializer::type_name::tests::struct_name ... ok [INFO] [stdout] test ser::serializer::struct_serializer::type_name::tests::tuple_variant ... ok [INFO] [stdout] test opaque_data::tests::fixed_length::deserialize_bytes_with_3_byte_padding ... ok [INFO] [stdout] test ser::serializer::tests::serialize_char ... ok [INFO] [stdout] test ser::serializer::sequence_serializer::type_name::tests::tuple_struct ... ok [INFO] [stdout] test ser::serializer::tests::serialize_enum ... ok [INFO] [stdout] test ser::serializer::sequence_serializer::type_name::tests::sequence ... ok [INFO] [stdout] test ser::serializer::sequence_serializer::type_name::tests::tuple ... ok [INFO] [stdout] test ser::serializer::tests::serialize_f32 ... ok [INFO] [stdout] test ser::serializer::tests::serialize_f64 ... ok [INFO] [stdout] test de::deserializer::enum_deserializer::tests::deserialize_first_enum_variant ... ok [INFO] [stdout] test ser::serializer::tests::serialize_false ... ok [INFO] [stdout] test ser::serializer::tests::serialize_none ... ok [INFO] [stdout] test ser::serializer::tests::serialize_i16 ... ok [INFO] [stdout] test ser::serializer::tests::serialize_i32 ... ok [INFO] [stdout] test ser::serializer::tests::serialize_i64 ... ok [INFO] [stdout] test ser::serializer::tests::serialize_i8 ... ok [INFO] [stdout] test ser::serializer::tests::serialize_opaque_with_1_byte_padding ... ok [INFO] [stdout] test ser::serializer::tests::serialize_opaque_with_2_byte_padding ... ok [INFO] [stdout] test ser::serializer::tests::serialize_opaque_with_3_byte_padding ... ok [INFO] [stdout] test ser::serializer::tests::serialize_opaque_without_padding ... ok [INFO] [stdout] test ser::serializer::tests::serialize_some ... ok [INFO] [stdout] test ser::serializer::tests::serialize_string_with_1_byte_padding ... ok [INFO] [stdout] test ser::serializer::tests::serialize_string_with_2_byte_padding ... ok [INFO] [stdout] test ser::serializer::tests::serialize_string_with_3_byte_padding ... ok [INFO] [stdout] test ser::serializer::tests::serialize_string_without_padding ... ok [INFO] [stdout] test ser::serializer::tests::serialize_struct_variant ... ok [INFO] [stdout] test ser::serializer::tests::serialize_true ... ok [INFO] [stdout] test ser::serializer::tests::serialize_tuple_variant ... ok [INFO] [stdout] test ser::serializer::tests::serialize_u16 ... ok [INFO] [stdout] test ser::serializer::tests::serialize_u32 ... ok [INFO] [stdout] test ser::serializer::tests::serialize_u8 ... ok [INFO] [stdout] test ser::serializer::tests::serialize_union ... ok [INFO] [stdout] test ser::serializer::tests::serialize_unit_struct ... ok [INFO] [stdout] test ser::serializer::tests::serialize_void ... ok [INFO] [stdout] test ser::serializer::tests::serialize_wrapped_type ... ok [INFO] [stdout] test tests::deserialization_functions_are_equivalent ... ok [INFO] [stdout] test tests::serialized_bytes ... ok [INFO] [stdout] test tests::serialization_functions_are_equivalent ... ok [INFO] [stdout] test tests::serialize_deserialize ... ok [INFO] [stdout] test ser::serializer::tests::serialize_u64 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 83 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests serde_xdr [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/opaque_data/mod.rs - opaque_data::fixed_length (line 9) ... ok [INFO] [stdout] test src/lib.rs - (line 18) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.59s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e4b1eef780b7cf1573dd430075605188fa10b6b2ec7b6b16a981d0603308e88c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4b1eef780b7cf1573dd430075605188fa10b6b2ec7b6b16a981d0603308e88c", kill_on_drop: false }` [INFO] [stdout] e4b1eef780b7cf1573dd430075605188fa10b6b2ec7b6b16a981d0603308e88c