[INFO] fetching crate ldap 0.2.0... [INFO] testing ldap-0.2.0 against 1.55.0 for beta-1.56-1 [INFO] extracting crate ldap 0.2.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate ldap 0.2.0 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ldap 0.2.0 [INFO] finished tweaking crates.io crate ldap 0.2.0 [INFO] tweaked toml for crates.io crate ldap 0.2.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55b13eb93b2f31399a329d120fa66f208bce529c775c95b950e20828855b6e27 [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" "55b13eb93b2f31399a329d120fa66f208bce529c775c95b950e20828855b6e27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55b13eb93b2f31399a329d120fa66f208bce529c775c95b950e20828855b6e27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55b13eb93b2f31399a329d120fa66f208bce529c775c95b950e20828855b6e27", kill_on_drop: false }` [INFO] [stdout] 55b13eb93b2f31399a329d120fa66f208bce529c775c95b950e20828855b6e27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f4516fdd75599425ebd5b7707b93cc56380fdd872af3158fef9feb227f44e97 [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" "3f4516fdd75599425ebd5b7707b93cc56380fdd872af3158fef9feb227f44e97", kill_on_drop: false }` [INFO] [stderr] Compiling asnom v0.1.0 [INFO] [stderr] Compiling ldap v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | try!(write::encode_into(into, outstruct)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:59:62 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn simple_bind(&self, dn: String, pw: String) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tokio_core::io::Io`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio_core::io::{Io, Codec, EasyBuf, Framed}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tokio_core::io::Codec`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio_core::io::{Io, Codec, EasyBuf, Framed}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_core::io::EasyBuf`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio_core::io::{Io, Codec, EasyBuf, Framed}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_core::io::Framed`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio_core::io::{Io, Codec, EasyBuf, Framed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tokio_core::io::Codec`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | impl Codec for LdapCodec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tokio_core::io::Io`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | impl ClientProto for LdapProto { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tokio_core::io::Io`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | impl ServerProto for LdapProto { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_core::io::EasyBuf`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | fn decode(&mut self, buf: &mut EasyBuf) -> Result, io::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_core::io::Framed`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | type Transport = Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_core::io::Framed`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | type Transport = Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio_core::io::EasyBuf::as_slice`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | match parse_tag(buf.as_slice()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio_core::io::Io::framed`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | Ok(io.framed(LdapCodec)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio_core::io::Io::framed`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | Ok(io.framed(LdapCodec)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.07s [INFO] running `Command { std: "docker" "inspect" "3f4516fdd75599425ebd5b7707b93cc56380fdd872af3158fef9feb227f44e97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f4516fdd75599425ebd5b7707b93cc56380fdd872af3158fef9feb227f44e97", kill_on_drop: false }` [INFO] [stdout] 3f4516fdd75599425ebd5b7707b93cc56380fdd872af3158fef9feb227f44e97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4b9508d16285ef197c67fd6f718c0d74a36f7e408417aee1d1a697e850c4e2f [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" "c4b9508d16285ef197c67fd6f718c0d74a36f7e408417aee1d1a697e850c4e2f", kill_on_drop: false }` [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | try!(write::encode_into(into, outstruct)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:59:62 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn simple_bind(&self, dn: String, pw: String) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tokio_core::io::Io`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio_core::io::{Io, Codec, EasyBuf, Framed}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tokio_core::io::Codec`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio_core::io::{Io, Codec, EasyBuf, Framed}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_core::io::EasyBuf`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio_core::io::{Io, Codec, EasyBuf, Framed}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_core::io::Framed`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio_core::io::{Io, Codec, EasyBuf, Framed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tokio_core::io::Codec`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | impl Codec for LdapCodec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tokio_core::io::Io`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | impl ClientProto for LdapProto { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tokio_core::io::Io`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | impl ServerProto for LdapProto { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_core::io::EasyBuf`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | fn decode(&mut self, buf: &mut EasyBuf) -> Result, io::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_core::io::Framed`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | type Transport = Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_core::io::Framed`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | type Transport = Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio_core::io::EasyBuf::as_slice`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | match parse_tag(buf.as_slice()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio_core::io::Io::framed`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | Ok(io.framed(LdapCodec)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ldap v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `tokio_core::io::Io::framed`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | Ok(io.framed(LdapCodec)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/protocol.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | try!(write::encode_into(into, outstruct)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:59:62 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn simple_bind(&self, dn: String, pw: String) -> Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tokio_core::io::Io`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio_core::io::{Io, Codec, EasyBuf, Framed}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tokio_core::io::Codec`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio_core::io::{Io, Codec, EasyBuf, Framed}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_core::io::EasyBuf`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio_core::io::{Io, Codec, EasyBuf, Framed}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_core::io::Framed`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio_core::io::{Io, Codec, EasyBuf, Framed}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tokio_core::io::Codec`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | impl Codec for LdapCodec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tokio_core::io::Io`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | impl ClientProto for LdapProto { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `tokio_core::io::Io`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | impl ServerProto for LdapProto { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_core::io::EasyBuf`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | fn decode(&mut self, buf: &mut EasyBuf) -> Result, io::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_core::io::Framed`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:62:22 [INFO] [stdout] | [INFO] [stdout] 62 | type Transport = Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `tokio_core::io::Framed`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:74:22 [INFO] [stdout] | [INFO] [stdout] 74 | type Transport = Framed; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio_core::io::EasyBuf::as_slice`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | match parse_tag(buf.as_slice()) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio_core::io::Io::framed`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:66:15 [INFO] [stdout] | [INFO] [stdout] 66 | Ok(io.framed(LdapCodec)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio_core::io::Io::framed`: moved to the `tokio-io` crate [INFO] [stdout] --> src/protocol.rs:78:15 [INFO] [stdout] | [INFO] [stdout] 78 | Ok(io.framed(LdapCodec)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.90s [INFO] running `Command { std: "docker" "inspect" "c4b9508d16285ef197c67fd6f718c0d74a36f7e408417aee1d1a697e850c4e2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4b9508d16285ef197c67fd6f718c0d74a36f7e408417aee1d1a697e850c4e2f", kill_on_drop: false }` [INFO] [stdout] c4b9508d16285ef197c67fd6f718c0d74a36f7e408417aee1d1a697e850c4e2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e555b4ca81ec1e0b6929c825d33d2255e666ad704902a1d5939b8c48d91a329b [INFO] running `Command { std: "docker" "start" "-a" "e555b4ca81ec1e0b6929c825d33d2255e666ad704902a1d5939b8c48d91a329b", kill_on_drop: false }` [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/lib.rs:10:1 [INFO] [stderr] | [INFO] [stderr] 10 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/protocol.rs:53:9 [INFO] [stderr] | [INFO] [stderr] 53 | try!(write::encode_into(into, outstruct)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:59:62 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn simple_bind(&self, dn: String, pw: String) -> Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `tokio_core::io::Io`: moved to the `tokio-io` crate [INFO] [stderr] --> src/protocol.rs:1:22 [INFO] [stderr] | [INFO] [stderr] 1 | use tokio_core::io::{Io, Codec, EasyBuf, Framed}; [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `tokio_core::io::Codec`: moved to the `tokio-io` crate [INFO] [stderr] --> src/protocol.rs:1:26 [INFO] [stderr] | [INFO] [stderr] 1 | use tokio_core::io::{Io, Codec, EasyBuf, Framed}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tokio_core::io::EasyBuf`: moved to the `tokio-io` crate [INFO] [stderr] --> src/protocol.rs:1:33 [INFO] [stderr] | [INFO] [stderr] 1 | use tokio_core::io::{Io, Codec, EasyBuf, Framed}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tokio_core::io::Framed`: moved to the `tokio-io` crate [INFO] [stderr] --> src/protocol.rs:1:42 [INFO] [stderr] | [INFO] [stderr] 1 | use tokio_core::io::{Io, Codec, EasyBuf, Framed}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `tokio_core::io::Codec`: moved to the `tokio-io` crate [INFO] [stderr] --> src/protocol.rs:15:6 [INFO] [stderr] | [INFO] [stderr] 15 | impl Codec for LdapCodec { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `tokio_core::io::Io`: moved to the `tokio-io` crate [INFO] [stderr] --> src/protocol.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 58 | impl ClientProto for LdapProto { [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated trait `tokio_core::io::Io`: moved to the `tokio-io` crate [INFO] [stderr] --> src/protocol.rs:70:9 [INFO] [stderr] | [INFO] [stderr] 70 | impl ServerProto for LdapProto { [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tokio_core::io::EasyBuf`: moved to the `tokio-io` crate [INFO] [stderr] --> src/protocol.rs:19:36 [INFO] [stderr] | [INFO] [stderr] 19 | fn decode(&mut self, buf: &mut EasyBuf) -> Result, io::Error> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tokio_core::io::Framed`: moved to the `tokio-io` crate [INFO] [stderr] --> src/protocol.rs:62:22 [INFO] [stderr] | [INFO] [stderr] 62 | type Transport = Framed; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated struct `tokio_core::io::Framed`: moved to the `tokio-io` crate [INFO] [stderr] --> src/protocol.rs:74:22 [INFO] [stderr] | [INFO] [stderr] 74 | type Transport = Framed; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tokio_core::io::EasyBuf::as_slice`: moved to the `tokio-io` crate [INFO] [stderr] --> src/protocol.rs:20:29 [INFO] [stderr] | [INFO] [stderr] 20 | match parse_tag(buf.as_slice()) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tokio_core::io::Io::framed`: moved to the `tokio-io` crate [INFO] [stderr] --> src/protocol.rs:66:15 [INFO] [stderr] | [INFO] [stderr] 66 | Ok(io.framed(LdapCodec)) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `tokio_core::io::Io::framed`: moved to the `tokio-io` crate [INFO] [stderr] --> src/protocol.rs:78:15 [INFO] [stderr] | [INFO] [stderr] 78 | Ok(io.framed(LdapCodec)) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `ldap` (lib) generated 16 warnings [INFO] [stderr] warning: `ldap` (lib test) generated 16 warnings (16 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ldap-d3599c873167a188) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests ldap [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e555b4ca81ec1e0b6929c825d33d2255e666ad704902a1d5939b8c48d91a329b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e555b4ca81ec1e0b6929c825d33d2255e666ad704902a1d5939b8c48d91a329b", kill_on_drop: false }` [INFO] [stdout] e555b4ca81ec1e0b6929c825d33d2255e666ad704902a1d5939b8c48d91a329b