[INFO] fetching crate bincode_ext 0.0.7... [INFO] checking bincode_ext-0.0.7 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate bincode_ext 0.0.7 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate bincode_ext 0.0.7 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate bincode_ext 0.0.7 [INFO] finished tweaking crates.io crate bincode_ext 0.0.7 [INFO] tweaked toml for crates.io crate bincode_ext 0.0.7 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6bc85faa9f4f288a5cf82046ce45ce890b27241f3371b1a1c04a82f9c40c71c7 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "6bc85faa9f4f288a5cf82046ce45ce890b27241f3371b1a1c04a82f9c40c71c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bc85faa9f4f288a5cf82046ce45ce890b27241f3371b1a1c04a82f9c40c71c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bc85faa9f4f288a5cf82046ce45ce890b27241f3371b1a1c04a82f9c40c71c7", kill_on_drop: false }` [INFO] [stdout] 6bc85faa9f4f288a5cf82046ce45ce890b27241f3371b1a1c04a82f9c40c71c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 631ebe2d0f6ea3f58c427d04eab825aba9b275c09c0d56d9fdd43d02107bd4fd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "631ebe2d0f6ea3f58c427d04eab825aba9b275c09c0d56d9fdd43d02107bd4fd", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking bincode_ext v0.0.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/byte_order.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | let r: $int = try!(Decodable::decode(d)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | define_le! { u16 } [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/byte_order.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | let r: $int = try!(Decodable::decode(d)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | define_le! { u32 } [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/byte_order.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | let r: $int = try!(Decodable::decode(d)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | define_le! { u64 } [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/slice.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | v[i] = try!(Decodable::decode(d)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | / def_fixed! {0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 [INFO] [stdout] 78 | | 32} [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/slice.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | try!(self.0[i].encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | / def_fixed! {0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 [INFO] [stdout] 78 | | 32} [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/slice.rs:57:48 [INFO] [stdout] | [INFO] [stdout] 57 | let mut v : [T; $n] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | / def_fixed! {0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 [INFO] [stdout] 78 | | 32} [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bincode v1.3.1 [INFO] [stdout] error[E0433]: failed to resolve: could not find `SizeLimit` in `bincode` [INFO] [stdout] --> src/test.rs:16:52 [INFO] [stdout] | [INFO] [stdout] 16 | let e : Vec = bincode::encode(&x, bincode::SizeLimit::Infinite).unwrap(); [INFO] [stdout] | ^^^^^^^^^ could not find `SizeLimit` in `bincode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `SizeLimit` in `bincode` [INFO] [stdout] --> src/test.rs:33:52 [INFO] [stdout] | [INFO] [stdout] 33 | let e : Vec = bincode::encode(&x, bincode::SizeLimit::Infinite).unwrap(); [INFO] [stdout] | ^^^^^^^^^ could not find `SizeLimit` in `bincode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode` in crate `bincode` [INFO] [stdout] --> src/test.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | let e : Vec = bincode::encode(&x, bincode::SizeLimit::Infinite).unwrap(); [INFO] [stdout] | ^^^^^^ not found in `bincode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_serialize::json::encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode` in crate `bincode` [INFO] [stdout] --> src/test.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | let d : X = bincode::decode(&e).unwrap(); [INFO] [stdout] | ^^^^^^ not found in `bincode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_serialize::json::decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `encode` in crate `bincode` [INFO] [stdout] --> src/test.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | let e : Vec = bincode::encode(&x, bincode::SizeLimit::Infinite).unwrap(); [INFO] [stdout] | ^^^^^^ not found in `bincode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_serialize::json::encode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `decode` in crate `bincode` [INFO] [stdout] --> src/test.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | let d : Y = bincode::decode(&e).unwrap(); [INFO] [stdout] | ^^^^^^ not found in `bincode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_serialize::json::decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/byte_order.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | let r: $int = try!(Decodable::decode(d)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | define_le! { u16 } [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/byte_order.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | let r: $int = try!(Decodable::decode(d)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | define_le! { u32 } [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/byte_order.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | let r: $int = try!(Decodable::decode(d)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | define_le! { u64 } [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/slice.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | v[i] = try!(Decodable::decode(d)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | / def_fixed! {0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 [INFO] [stdout] 78 | | 32} [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/slice.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | try!(self.0[i].encode(s)); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | / def_fixed! {0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 [INFO] [stdout] 78 | | 32} [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustc_serialize::Encodable` [INFO] [stdout] --> src/test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rustc_serialize::Encodable; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/slice.rs:57:48 [INFO] [stdout] | [INFO] [stdout] 57 | let mut v : [T; $n] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | / def_fixed! {0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 [INFO] [stdout] 78 | | 32} [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bincode_ext` [INFO] [stdout] error: aborting due to 6 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "631ebe2d0f6ea3f58c427d04eab825aba9b275c09c0d56d9fdd43d02107bd4fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "631ebe2d0f6ea3f58c427d04eab825aba9b275c09c0d56d9fdd43d02107bd4fd", kill_on_drop: false }` [INFO] [stdout] 631ebe2d0f6ea3f58c427d04eab825aba9b275c09c0d56d9fdd43d02107bd4fd