[INFO] fetching crate serde-xdr 0.6.0... [INFO] testing serde-xdr-0.6.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate serde-xdr 0.6.0 into /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate serde-xdr 0.6.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 352177e1b16e4436e3e00ec0e0efc0cbaf441cb98e6bb3c89128fcfd5dfc3617 [INFO] running `Command { std: "docker" "start" "-a" "352177e1b16e4436e3e00ec0e0efc0cbaf441cb98e6bb3c89128fcfd5dfc3617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "352177e1b16e4436e3e00ec0e0efc0cbaf441cb98e6bb3c89128fcfd5dfc3617", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "352177e1b16e4436e3e00ec0e0efc0cbaf441cb98e6bb3c89128fcfd5dfc3617", kill_on_drop: false }` [INFO] [stdout] 352177e1b16e4436e3e00ec0e0efc0cbaf441cb98e6bb3c89128fcfd5dfc3617 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0be6659ddf9582f78029782f4c085a2c9e09c3bbe6af94d41766133d48f9cc27 [INFO] running `Command { std: "docker" "start" "-a" "0be6659ddf9582f78029782f4c085a2c9e09c3bbe6af94d41766133d48f9cc27", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling object v0.37.3 [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 7.54s [INFO] running `Command { std: "docker" "inspect" "0be6659ddf9582f78029782f4c085a2c9e09c3bbe6af94d41766133d48f9cc27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0be6659ddf9582f78029782f4c085a2c9e09c3bbe6af94d41766133d48f9cc27", kill_on_drop: false }` [INFO] [stdout] 0be6659ddf9582f78029782f4c085a2c9e09c3bbe6af94d41766133d48f9cc27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 687f7ab6e3925305082e2d6f1573c446a670ec22de2613de438768d203b0a4ee [INFO] running `Command { std: "docker" "start" "-a" "687f7ab6e3925305082e2d6f1573c446a670ec22de2613de438768d203b0a4ee", kill_on_drop: false }` [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling num-traits v0.1.43 [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 unreachable v1.0.0 [INFO] [stderr] Compiling ordered-float v0.5.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [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 8.11s [INFO] running `Command { std: "docker" "inspect" "687f7ab6e3925305082e2d6f1573c446a670ec22de2613de438768d203b0a4ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "687f7ab6e3925305082e2d6f1573c446a670ec22de2613de438768d203b0a4ee", kill_on_drop: false }` [INFO] [stdout] 687f7ab6e3925305082e2d6f1573c446a670ec22de2613de438768d203b0a4ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 03e0f9216a992ea4fc79360621f207f8b8a803969f5e37aa791af25dbf3f401f [INFO] running `Command { std: "docker" "start" "-a" "03e0f9216a992ea4fc79360621f207f8b8a803969f5e37aa791af25dbf3f401f", 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.07s [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_third_enum_variant ... ok [INFO] [stdout] test de::deserializer::sequence_deserializer::tests::deserialize_sequence ... ok [INFO] [stdout] test de::deserializer::struct_deserializer::tests::deserialize_struct ... ok [INFO] [stdout] test de::deserializer::sequence_deserializer::tests::deserialize_tuple ... ok [INFO] [stdout] test de::deserializer::enum_deserializer::tests::deserialize_first_enum_variant ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_f32 ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_f64 ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_char ... ok [INFO] [stdout] test de::deserializer::enum_deserializer::tests::deserialize_second_enum_variant ... ok [INFO] [stdout] test de::deserializer::enum_deserializer::tests::deserialize_inexistent_enum_variant ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_false ... 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_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_without_padding ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_some ... 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_u16 ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_true ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_u64 ... ok [INFO] [stdout] test opaque_data::tests::fixed_length::deserialize_bytes_without_padding ... 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_with_1_byte_padding ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_u32 ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_opaque_with_3_byte_padding ... 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::sequence_serializer::type_name::tests::sequence ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_str_with_1_byte_padding ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_u8 ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_unit ... ok [INFO] [stdout] test opaque_data::tests::fixed_length::deserialize_bytes_with_1_byte_padding ... ok [INFO] [stdout] test de::deserializer::tests::deserialize_opaque_with_2_byte_padding ... ok [INFO] [stdout] test ser::serializer::sequence_serializer::type_name::tests::tuple ... ok [INFO] [stdout] test ser::serializer::sequence_serializer::type_name::tests::tuple_struct ... ok [INFO] [stdout] test ser::serializer::sequence_serializer::type_name::tests::tuple_variant ... 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 ser::serializer::tests::serialize_char ... ok [INFO] [stdout] test ser::serializer::tests::serialize_f32 ... ok [INFO] [stdout] test ser::serializer::tests::serialize_enum ... ok [INFO] [stdout] test ser::serializer::tests::serialize_i32 ... ok [INFO] [stdout] test ser::serializer::tests::serialize_false ... ok [INFO] [stdout] test ser::serializer::tests::serialize_f64 ... 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_i64 ... ok [INFO] [stdout] test opaque_data::tests::fixed_length::serialize_bytes_without_padding ... ok [INFO] [stdout] test ser::serializer::tests::serialize_string_with_1_byte_padding ... ok [INFO] [stdout] test ser::serializer::tests::serialize_some ... ok [INFO] [stdout] test ser::serializer::tests::serialize_opaque_without_padding ... ok [INFO] [stdout] test ser::serializer::tests::serialize_string_without_padding ... ok [INFO] [stdout] test ser::serializer::tests::serialize_true ... ok [INFO] [stdout] test ser::serializer::tests::serialize_struct_variant ... ok [INFO] [stdout] test ser::serializer::tests::serialize_tuple_variant ... ok [INFO] [stdout] test ser::serializer::tests::serialize_i16 ... ok [INFO] [stdout] test ser::serializer::tests::serialize_i8 ... ok [INFO] [stdout] test ser::serializer::tests::serialize_none ... ok [INFO] [stdout] test ser::serializer::tests::serialize_string_with_3_byte_padding ... 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_wrapped_type ... ok [INFO] [stdout] test ser::serializer::tests::serialize_void ... ok [INFO] [stdout] test ser::serializer::tests::serialize_u16 ... ok [INFO] [stdout] test tests::deserialization_functions_are_equivalent ... ok [INFO] [stdout] test tests::serialization_functions_are_equivalent ... ok [INFO] [stdout] test ser::serializer::tests::serialize_u64 ... ok [INFO] [stdout] test opaque_data::tests::fixed_length::deserialize_bytes_with_2_byte_padding ... ok [INFO] [stdout] test tests::serialize_deserialize ... ok [INFO] [stdout] test ser::serializer::tests::serialize_string_with_2_byte_padding ... ok [INFO] [stdout] test ser::serializer::struct_serializer::tests::serialize_struct ... ok [INFO] [stdout] test tests::serialized_bytes ... ok [INFO] [stdout] test opaque_data::tests::fixed_length::deserialize_bytes_with_3_byte_padding ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 83 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [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.57s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "03e0f9216a992ea4fc79360621f207f8b8a803969f5e37aa791af25dbf3f401f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03e0f9216a992ea4fc79360621f207f8b8a803969f5e37aa791af25dbf3f401f", kill_on_drop: false }` [INFO] [stdout] 03e0f9216a992ea4fc79360621f207f8b8a803969f5e37aa791af25dbf3f401f