[INFO] fetching crate ldap 0.2.0... [INFO] testing ldap-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate ldap 0.2.0 into /workspace/builds/worker-6-tc1/source [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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ldap 0.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 72 packages to latest compatible versions [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.28) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slab v0.3.0 [INFO] [stderr] Downloaded tokio-service v0.1.0 [INFO] [stderr] Downloaded tokio-proto v0.1.1 [INFO] [stderr] Downloaded rand v0.3.23 [INFO] [stderr] Downloaded smallvec v0.2.1 [INFO] [stderr] Downloaded take v0.1.0 [INFO] [stderr] Downloaded scoped-tls v0.1.2 [INFO] [stderr] Downloaded nom v2.2.1 [INFO] [stderr] Downloaded tokio-core v0.1.18 [INFO] [stderr] Downloaded asnom v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6b26faee668ff209604c7a92dbdb879190470cf2e282957de7a2bb79fc21c44 [INFO] running `Command { std: "docker" "start" "-a" "c6b26faee668ff209604c7a92dbdb879190470cf2e282957de7a2bb79fc21c44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6b26faee668ff209604c7a92dbdb879190470cf2e282957de7a2bb79fc21c44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6b26faee668ff209604c7a92dbdb879190470cf2e282957de7a2bb79fc21c44", kill_on_drop: false }` [INFO] [stdout] c6b26faee668ff209604c7a92dbdb879190470cf2e282957de7a2bb79fc21c44 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f110cb760f748f3611fc3cc5fd008fc6d9527c3da814eaa1cce38cdc63282f0 [INFO] running `Command { std: "docker" "start" "-a" "1f110cb760f748f3611fc3cc5fd008fc6d9527c3da814eaa1cce38cdc63282f0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling nom v2.2.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling asnom v0.1.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling tokio-proto v0.1.1 [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: 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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 | pub fn simple_bind(&self, dn: String, pw: String) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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 method `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 method `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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.04s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "1f110cb760f748f3611fc3cc5fd008fc6d9527c3da814eaa1cce38cdc63282f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f110cb760f748f3611fc3cc5fd008fc6d9527c3da814eaa1cce38cdc63282f0", kill_on_drop: false }` [INFO] [stdout] 1f110cb760f748f3611fc3cc5fd008fc6d9527c3da814eaa1cce38cdc63282f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2302650c96a16da1cb2ffd4466a9474864f7d38ceeaf067f8f1d12ff7274f9ea [INFO] running `Command { std: "docker" "start" "-a" "2302650c96a16da1cb2ffd4466a9474864f7d38ceeaf067f8f1d12ff7274f9ea", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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: 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] [stderr] Compiling ldap v0.2.0 (/opt/rustwide/workdir) [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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 | pub fn simple_bind(&self, dn: String, pw: String) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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 method `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 method `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: 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: 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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 | pub fn simple_bind(&self, dn: String, pw: String) -> Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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 method `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 method `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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.79s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "2302650c96a16da1cb2ffd4466a9474864f7d38ceeaf067f8f1d12ff7274f9ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2302650c96a16da1cb2ffd4466a9474864f7d38ceeaf067f8f1d12ff7274f9ea", kill_on_drop: false }` [INFO] [stdout] 2302650c96a16da1cb2ffd4466a9474864f7d38ceeaf067f8f1d12ff7274f9ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 763faef65bf0851a4d9b54d35be0d846c79bdd80b1d819c445d1fd01ac63f839 [INFO] running `Command { std: "docker" "start" "-a" "763faef65bf0851a4d9b54d35be0d846c79bdd80b1d819c445d1fd01ac63f839", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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: 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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [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 [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 59 | pub fn simple_bind(&self, dn: String, pw: String) -> Box> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `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 method `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 method `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 (run `cargo fix --lib -p ldap` to apply 1 suggestion) [INFO] [stderr] warning: `ldap` (lib test) generated 16 warnings (16 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v2.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ldap-f9db554246ac66d6) [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" "763faef65bf0851a4d9b54d35be0d846c79bdd80b1d819c445d1fd01ac63f839", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "763faef65bf0851a4d9b54d35be0d846c79bdd80b1d819c445d1fd01ac63f839", kill_on_drop: false }` [INFO] [stdout] 763faef65bf0851a4d9b54d35be0d846c79bdd80b1d819c445d1fd01ac63f839