[INFO] fetching crate remove_empty_subdirs 0.1.1... [INFO] testing remove_empty_subdirs-0.1.1 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate remove_empty_subdirs 0.1.1 into /workspace/builds/worker-102/source [INFO] validating manifest of crates.io crate remove_empty_subdirs 0.1.1 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate remove_empty_subdirs 0.1.1 [INFO] finished tweaking crates.io crate remove_empty_subdirs 0.1.1 [INFO] tweaked toml for crates.io crate remove_empty_subdirs 0.1.1 written to /workspace/builds/worker-102/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "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" "+beta-2021-09-08" "fetch" "--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-102/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/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" "+beta-2021-09-08" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23b424ac05214cb094ac0dd745806bb415b06c830d342a25c1b247ae7909b204 [INFO] running `Command { std: "docker" "start" "-a" "23b424ac05214cb094ac0dd745806bb415b06c830d342a25c1b247ae7909b204", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23b424ac05214cb094ac0dd745806bb415b06c830d342a25c1b247ae7909b204", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23b424ac05214cb094ac0dd745806bb415b06c830d342a25c1b247ae7909b204", kill_on_drop: false }` [INFO] [stdout] 23b424ac05214cb094ac0dd745806bb415b06c830d342a25c1b247ae7909b204 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/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" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c9f758dd286805f4c6e00dea25c112bc4afc03f825388b25ff61f496afa966a [INFO] running `Command { std: "docker" "start" "-a" "2c9f758dd286805f4c6e00dea25c112bc4afc03f825388b25ff61f496afa966a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling remove_empty_subdirs v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.04s [INFO] running `Command { std: "docker" "inspect" "2c9f758dd286805f4c6e00dea25c112bc4afc03f825388b25ff61f496afa966a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c9f758dd286805f4c6e00dea25c112bc4afc03f825388b25ff61f496afa966a", kill_on_drop: false }` [INFO] [stdout] 2c9f758dd286805f4c6e00dea25c112bc4afc03f825388b25ff61f496afa966a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/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" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af468418812d0fd251378527c3602ef05144b9ed16f712e4ff29ae99a7e3b0bb [INFO] running `Command { std: "docker" "start" "-a" "af468418812d0fd251378527c3602ef05144b9ed16f712e4ff29ae99a7e3b0bb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling strsim v0.7.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling textwrap v0.10.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling remove_empty_subdirs v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> tests/remove_empty_subdirs.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 62 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 44 ~ let mut expected_subpaths: Vec = IntoIterator::into_iter([ [INFO] [stdout] 45 | dir.path().to_path_buf(), [INFO] [stdout] 46 | dir.path().join("empty_1"), [INFO] [stdout] 47 | dir.path().join("empty_1").join("empty_2"), [INFO] [stdout] 48 | dir.path().join("empty_1").join("empty_2").join("empty_3"), [INFO] [stdout] 49 | dir.path().join("empty_1").join("empty_21"), [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> tests/remove_empty_subdirs.rs:86:10 [INFO] [stdout] | [INFO] [stdout] 86 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 86 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 77 ~ let mut expected_subpaths: Vec = IntoIterator::into_iter([ [INFO] [stdout] 78 | dir.path().to_path_buf(), [INFO] [stdout] 79 | dir.path().join("not_empty_1"), [INFO] [stdout] 80 | dir.path().join("not_empty_1").join("not_empty_21"), [INFO] [stdout] 81 | dir.path() [INFO] [stdout] 82 | .join("not_empty_1") [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> tests/remove_empty_subdirs.rs:119:10 [INFO] [stdout] | [INFO] [stdout] 119 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 119 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 112 ~ let mut expected_subpaths: Vec = IntoIterator::into_iter([ [INFO] [stdout] 113 | dir.path().to_path_buf(), [INFO] [stdout] 114 | dir.path().join("not_empty"), [INFO] [stdout] 115 | dir.path().join("not_empty").join(".git"), [INFO] [stdout] 116 | dir.path().join("empty_1"), [INFO] [stdout] 117 | dir.path().join("empty_1").join("empty_2"), [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> tests/remove_empty_subdirs.rs:139:10 [INFO] [stdout] | [INFO] [stdout] 139 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 139 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 134 ~ let mut expected_subpaths: Vec = IntoIterator::into_iter([ [INFO] [stdout] 135 | dir.path().to_path_buf(), [INFO] [stdout] 136 | dir.path().join("not_empty"), [INFO] [stdout] 137 | dir.path().join("not_empty").join(".git"), [INFO] [stdout] 138 ~ ]) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> tests/remove_empty_subdirs.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 161 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 160 | let mut expected_subpaths: Vec = IntoIterator::into_iter([dir.path().to_path_buf()]) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> tests/remove_empty_subdirs.rs:177:10 [INFO] [stdout] | [INFO] [stdout] 177 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 177 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 176 | let mut expected_subpaths: Vec = IntoIterator::into_iter([dir.path().to_path_buf()]) [INFO] [stdout] | ++++++++++++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> tests/remove_empty_subdirs.rs:236:10 [INFO] [stdout] | [INFO] [stdout] 236 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 236 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 217 ~ let mut expected_subpaths: Vec = IntoIterator::into_iter([ [INFO] [stdout] 218 | dir.path().to_path_buf(), [INFO] [stdout] 219 | dir.path().join("normal_dir"), [INFO] [stdout] 220 | dir.path().join("normal_dir").join("permission_denied"), [INFO] [stdout] 221 | dir.path() [INFO] [stdout] 222 | .join("normal_dir") [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stdout] --> tests/remove_empty_subdirs.rs:284:10 [INFO] [stdout] | [INFO] [stdout] 284 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stdout] | [INFO] [stdout] 284 | .iter() [INFO] [stdout] | ~~~~ [INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stdout] | [INFO] [stdout] 270 ~ let mut expected_subpaths: Vec = IntoIterator::into_iter([ [INFO] [stdout] 271 | dir.path().to_path_buf(), [INFO] [stdout] 272 | dir.path().join("normal_dir"), [INFO] [stdout] 273 | dir.path().join("normal_dir").join("permission_denied"), [INFO] [stdout] 274 | dir.path() [INFO] [stdout] 275 | .join("normal_dir") [INFO] [stdout] ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.56s [INFO] running `Command { std: "docker" "inspect" "af468418812d0fd251378527c3602ef05144b9ed16f712e4ff29ae99a7e3b0bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af468418812d0fd251378527c3602ef05144b9ed16f712e4ff29ae99a7e3b0bb", kill_on_drop: false }` [INFO] [stdout] af468418812d0fd251378527c3602ef05144b9ed16f712e4ff29ae99a7e3b0bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-102/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" "+beta-2021-09-08" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3258c74bd60905608c3e429ce0ca0094bb302a8926a125e4a4661192d738f5fe [INFO] running `Command { std: "docker" "start" "-a" "3258c74bd60905608c3e429ce0ca0094bb302a8926a125e4a4661192d738f5fe", kill_on_drop: false }` [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stderr] --> tests/remove_empty_subdirs.rs:62:10 [INFO] [stderr] | [INFO] [stderr] 62 | .into_iter() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(array_into_iter)]` on by default [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 62 | .iter() [INFO] [stderr] | ~~~~ [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 44 ~ let mut expected_subpaths: Vec = IntoIterator::into_iter([ [INFO] [stderr] 45 | dir.path().to_path_buf(), [INFO] [stderr] 46 | dir.path().join("empty_1"), [INFO] [stderr] 47 | dir.path().join("empty_1").join("empty_2"), [INFO] [stderr] 48 | dir.path().join("empty_1").join("empty_2").join("empty_3"), [INFO] [stderr] 49 | dir.path().join("empty_1").join("empty_21"), [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stderr] --> tests/remove_empty_subdirs.rs:86:10 [INFO] [stderr] | [INFO] [stderr] 86 | .into_iter() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 86 | .iter() [INFO] [stderr] | ~~~~ [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 77 ~ let mut expected_subpaths: Vec = IntoIterator::into_iter([ [INFO] [stderr] 78 | dir.path().to_path_buf(), [INFO] [stderr] 79 | dir.path().join("not_empty_1"), [INFO] [stderr] 80 | dir.path().join("not_empty_1").join("not_empty_21"), [INFO] [stderr] 81 | dir.path() [INFO] [stderr] 82 | .join("not_empty_1") [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stderr] --> tests/remove_empty_subdirs.rs:119:10 [INFO] [stderr] | [INFO] [stderr] 119 | .into_iter() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 119 | .iter() [INFO] [stderr] | ~~~~ [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 112 ~ let mut expected_subpaths: Vec = IntoIterator::into_iter([ [INFO] [stderr] 113 | dir.path().to_path_buf(), [INFO] [stderr] 114 | dir.path().join("not_empty"), [INFO] [stderr] 115 | dir.path().join("not_empty").join(".git"), [INFO] [stderr] 116 | dir.path().join("empty_1"), [INFO] [stderr] 117 | dir.path().join("empty_1").join("empty_2"), [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stderr] --> tests/remove_empty_subdirs.rs:139:10 [INFO] [stderr] | [INFO] [stderr] 139 | .into_iter() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 139 | .iter() [INFO] [stderr] | ~~~~ [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 134 ~ let mut expected_subpaths: Vec = IntoIterator::into_iter([ [INFO] [stderr] 135 | dir.path().to_path_buf(), [INFO] [stderr] 136 | dir.path().join("not_empty"), [INFO] [stderr] 137 | dir.path().join("not_empty").join(".git"), [INFO] [stderr] 138 ~ ]) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stderr] --> tests/remove_empty_subdirs.rs:161:10 [INFO] [stderr] | [INFO] [stderr] 161 | .into_iter() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 161 | .iter() [INFO] [stderr] | ~~~~ [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 160 | let mut expected_subpaths: Vec = IntoIterator::into_iter([dir.path().to_path_buf()]) [INFO] [stderr] | ++++++++++++++++++++++++ ~ [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stderr] --> tests/remove_empty_subdirs.rs:177:10 [INFO] [stderr] | [INFO] [stderr] 177 | .into_iter() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 177 | .iter() [INFO] [stderr] | ~~~~ [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 176 | let mut expected_subpaths: Vec = IntoIterator::into_iter([dir.path().to_path_buf()]) [INFO] [stderr] | ++++++++++++++++++++++++ ~ [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stderr] --> tests/remove_empty_subdirs.rs:236:10 [INFO] [stderr] | [INFO] [stderr] 236 | .into_iter() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 236 | .iter() [INFO] [stderr] | ~~~~ [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 217 ~ let mut expected_subpaths: Vec = IntoIterator::into_iter([ [INFO] [stderr] 218 | dir.path().to_path_buf(), [INFO] [stderr] 219 | dir.path().join("normal_dir"), [INFO] [stderr] 220 | dir.path().join("normal_dir").join("permission_denied"), [INFO] [stderr] 221 | dir.path() [INFO] [stderr] 222 | .join("normal_dir") [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to <[T; N] as IntoIterator>::into_iter in Rust 2021. [INFO] [stderr] --> tests/remove_empty_subdirs.rs:284:10 [INFO] [stderr] | [INFO] [stderr] 284 | .into_iter() [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this changes meaning in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity [INFO] [stderr] | [INFO] [stderr] 284 | .iter() [INFO] [stderr] | ~~~~ [INFO] [stderr] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value [INFO] [stderr] | [INFO] [stderr] 270 ~ let mut expected_subpaths: Vec = IntoIterator::into_iter([ [INFO] [stderr] 271 | dir.path().to_path_buf(), [INFO] [stderr] 272 | dir.path().join("normal_dir"), [INFO] [stderr] 273 | dir.path().join("normal_dir").join("permission_denied"), [INFO] [stderr] 274 | dir.path() [INFO] [stderr] 275 | .join("normal_dir") [INFO] [stderr] ... [INFO] [stderr] [INFO] [stderr] warning: `remove_empty_subdirs` (test "remove_empty_subdirs") generated 8 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/remove_empty_subdirs-bfaa507731c1be2b) [INFO] [stdout] [INFO] [stderr] Running tests/remove_empty_subdirs.rs (/opt/rustwide/target/debug/deps/remove_empty_subdirs-7a5725fd28b1619b) [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] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test nothing ... ok [INFO] [stdout] test hidden_dir ... ok [INFO] [stdout] test normal ... ok [INFO] [stdout] test permission_denied_dir ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- permission_denied_dir stdout ---- [INFO] [stdout] Empty directory `/tmp/.tmp5MLzAw/normal_dir/empty_1/empty_2` is removed. [INFO] [stdout] Empty directory `/tmp/.tmp5MLzAw/normal_dir/empty_1` is removed. [INFO] [stdout] Empty directory `/tmp/.tmp5MLzAw/normal_dir/permission_denied/permission_denied_1/empty_3` is removed. [INFO] [stdout] Empty directory `/tmp/.tmp5MLzAw/normal_dir/permission_denied/permission_denied_1` is removed. [INFO] [stdout] Empty directory `/tmp/.tmp5MLzAw/normal_dir/permission_denied` is removed. [INFO] [stdout] Empty directory `/tmp/.tmp5MLzAw/normal_dir` is removed. [INFO] [stdout] thread 'permission_denied_dir' panicked at 'assertion failed: `(left == right)` [INFO] [stdout] left: `["/tmp/.tmp5MLzAw"]`, [INFO] [stdout] right: `["/tmp/.tmp5MLzAw", "/tmp/.tmp5MLzAw/normal_dir", "/tmp/.tmp5MLzAw/normal_dir/permission_denied", "/tmp/.tmp5MLzAw/normal_dir/permission_denied/permission_denied_1", "/tmp/.tmp5MLzAw/normal_dir/permission_denied/permission_denied_1/empty_3"]`', tests/remove_empty_subdirs.rs:289:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x560dae1c929c - std::backtrace_rs::backtrace::libunwind::trace::h51faa62df48810e4 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x560dae1c929c - std::backtrace_rs::backtrace::trace_unsynchronized::h91de4d8e16d607e4 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x560dae1c929c - std::sys_common::backtrace::_print_fmt::h71b0935f97e4322c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x560dae1c929c - ::fmt::h9a78218788c14e18 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x560dae1ed8ec - core::fmt::write::h3381b3176fe2b3d3 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/fmt/mod.rs:1150:17 [INFO] [stdout] 5: 0x560dae1c5b75 - std::io::Write::write_fmt::hb6383f24fe197d3c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/io/mod.rs:1667:15 [INFO] [stdout] 6: 0x560dae1cb370 - std::sys_common::backtrace::_print::h4b77abc4d907ed0e [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x560dae1cb370 - std::sys_common::backtrace::print::hb170c60b542377ad [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x560dae1cb370 - std::panicking::default_hook::{{closure}}::h12bbda9af8901ee3 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:210:50 [INFO] [stdout] 9: 0x560dae1caf62 - std::panicking::default_hook::h8c6c66d3f3ba6768 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:224:9 [INFO] [stdout] 10: 0x560dae1cba24 - std::panicking::rust_panic_with_hook::h36f2fa0bb09f4069 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:624:17 [INFO] [stdout] 11: 0x560dae1cb500 - std::panicking::begin_panic_handler::{{closure}}::h9c42b65a42d06a7a [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:521:13 [INFO] [stdout] 12: 0x560dae1c9764 - std::sys_common::backtrace::__rust_end_short_backtrace::hc791bddfe31e532c [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x560dae1cb469 - rust_begin_unwind [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:517:5 [INFO] [stdout] 14: 0x560dae0f7b11 - core::panicking::panic_fmt::hf9de31d4acbce4db [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panicking.rs:101:14 [INFO] [stdout] 15: 0x560dae1ec498 - core::panicking::assert_failed_inner::h62e8cb2847a6e7ec [INFO] [stdout] 16: 0x560dae1037ba - core::panicking::assert_failed::h6f55d1f679001429 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panicking.rs:140:5 [INFO] [stdout] 17: 0x560dae10bc23 - remove_empty_subdirs::permission_denied_dir::he2c92de61489aecd [INFO] [stdout] at /opt/rustwide/workdir/tests/remove_empty_subdirs.rs:289:5 [INFO] [stdout] 18: 0x560dae10988a - remove_empty_subdirs::permission_denied_dir::{{closure}}::hac33b96eb066e492 [INFO] [stdout] at /opt/rustwide/workdir/tests/remove_empty_subdirs.rs:190:1 [INFO] [stdout] 19: 0x560dae100dce - core::ops::function::FnOnce::call_once::h8754a5e8f804705a [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x560dae146603 - core::ops::function::FnOnce::call_once::h61555a204318cc58 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x560dae146603 - test::__rust_begin_short_backtrace::h8331e7b1cc7a6e62 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:578:5 [INFO] [stdout] 22: 0x560dae145088 - as core::ops::function::FnOnce>::call_once::h98582e597fa7f145 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 23: 0x560dae145088 - as core::ops::function::FnOnce<()>>::call_once::h38fa7a0826ecff45 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 24: 0x560dae145088 - std::panicking::try::do_call::h5b27d1cfffaa9f87 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:403:40 [INFO] [stdout] 25: 0x560dae145088 - std::panicking::try::h86f7124b3264bcbe [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:367:19 [INFO] [stdout] 26: 0x560dae145088 - std::panic::catch_unwind::h42dadf3598df7528 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panic.rs:129:14 [INFO] [stdout] 27: 0x560dae145088 - test::run_test_in_process::h9d4b7510f0910050 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:601:18 [INFO] [stdout] 28: 0x560dae145088 - test::run_test::run_test_inner::{{closure}}::h9b17f1fd181fe294 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:493:39 [INFO] [stdout] 29: 0x560dae112bde - test::run_test::run_test_inner::{{closure}}::h476f9211dfec6075 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/test/src/lib.rs:520:37 [INFO] [stdout] 30: 0x560dae112bde - std::sys_common::backtrace::__rust_begin_short_backtrace::h5c2db6945645950d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x560dae117478 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h791169ea9ba5492d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/thread/mod.rs:481:17 [INFO] [stdout] 32: 0x560dae117478 - as core::ops::function::FnOnce<()>>::call_once::he930357ede3f4b4d [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 33: 0x560dae117478 - std::panicking::try::do_call::h0de4b1dd08a9aa80 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:403:40 [INFO] [stdout] 34: 0x560dae117478 - std::panicking::try::hf5b5c530df698d97 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panicking.rs:367:19 [INFO] [stdout] 35: 0x560dae117478 - std::panic::catch_unwind::hed97078f17dbf191 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/panic.rs:129:14 [INFO] [stdout] 36: 0x560dae117478 - std::thread::Builder::spawn_unchecked::{{closure}}::h2e673950929cba93 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/thread/mod.rs:480:30 [INFO] [stdout] 37: 0x560dae117478 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h8e18ddd18a52f010 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x560dae1d14b3 - as core::ops::function::FnOnce>::call_once::hbbbb32ef11ea0ad2 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 39: 0x560dae1d14b3 - as core::ops::function::FnOnce>::call_once::h3b8ef23699fc5385 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/alloc/src/boxed.rs:1636:9 [INFO] [stdout] 40: 0x560dae1d14b3 - std::sys::unix::thread::Thread::new::thread_start::ha57f5cba35f709b7 [INFO] [stdout] at /rustc/e784c962ea252f0874a4305168077e7048cb39e9/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 41: 0x7f2b53cb3609 - start_thread [INFO] [stdout] 42: 0x7f2b53a85293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] permission_denied_dir [INFO] [stdout] [INFO] [stdout] test result: FAILED. 3 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test remove_empty_subdirs' [INFO] running `Command { std: "docker" "inspect" "3258c74bd60905608c3e429ce0ca0094bb302a8926a125e4a4661192d738f5fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3258c74bd60905608c3e429ce0ca0094bb302a8926a125e4a4661192d738f5fe", kill_on_drop: false }` [INFO] [stdout] 3258c74bd60905608c3e429ce0ca0094bb302a8926a125e4a4661192d738f5fe