[INFO] fetching crate upwd 0.3.3... [INFO] testing upwd-0.3.3 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate upwd 0.3.3 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate upwd 0.3.3 [INFO] finished tweaking crates.io crate upwd 0.3.3 [INFO] tweaked toml for crates.io crate upwd 0.3.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate upwd 0.3.3 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate upwd 0.3.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec00576b7f61e6626846106adf63691484a2d5fce0daf9354b91686c0ea102fc [INFO] running `Command { std: "docker" "start" "-a" "ec00576b7f61e6626846106adf63691484a2d5fce0daf9354b91686c0ea102fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec00576b7f61e6626846106adf63691484a2d5fce0daf9354b91686c0ea102fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec00576b7f61e6626846106adf63691484a2d5fce0daf9354b91686c0ea102fc", kill_on_drop: false }` [INFO] [stdout] ec00576b7f61e6626846106adf63691484a2d5fce0daf9354b91686c0ea102fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2186368d5a779798ecdffbf0bd1e5b37f6a0ad2d6aab821f1a91ab1cd85b7c8b [INFO] running `Command { std: "docker" "start" "-a" "2186368d5a779798ecdffbf0bd1e5b37f6a0ad2d6aab821f1a91ab1cd85b7c8b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling exitcode v1.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling directories v2.0.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling upwd-lib v0.1.2 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling confy v0.4.0 [INFO] [stderr] Compiling upwd v0.3.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.14s [INFO] running `Command { std: "docker" "inspect" "2186368d5a779798ecdffbf0bd1e5b37f6a0ad2d6aab821f1a91ab1cd85b7c8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2186368d5a779798ecdffbf0bd1e5b37f6a0ad2d6aab821f1a91ab1cd85b7c8b", kill_on_drop: false }` [INFO] [stdout] 2186368d5a779798ecdffbf0bd1e5b37f6a0ad2d6aab821f1a91ab1cd85b7c8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 713bf01dc3afe9362fc57a15fc1fcd145c3b1b15bb4aac84c78215dbf4392438 [INFO] running `Command { std: "docker" "start" "-a" "713bf01dc3afe9362fc57a15fc1fcd145c3b1b15bb4aac84c78215dbf4392438", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling predicates-core v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling normalize-line-endings v0.3.0 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling predicates-tree v1.0.2 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling float-cmp v0.8.0 [INFO] [stderr] Compiling predicates v2.0.0 [INFO] [stderr] Compiling assert_cmd v1.0.7 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling predicates v1.0.8 [INFO] [stderr] Compiling upwd v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> tests/cli.rs:34:55 [INFO] [stdout] | [INFO] [stdout] 34 | let output = assert.get_output().stdout.as_slice().clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 12.13s [INFO] running `Command { std: "docker" "inspect" "713bf01dc3afe9362fc57a15fc1fcd145c3b1b15bb4aac84c78215dbf4392438", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "713bf01dc3afe9362fc57a15fc1fcd145c3b1b15bb4aac84c78215dbf4392438", kill_on_drop: false }` [INFO] [stdout] 713bf01dc3afe9362fc57a15fc1fcd145c3b1b15bb4aac84c78215dbf4392438 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f5669fef98ddeef805d21c7994b8d867810c6eb0c56386fb189935ff99c5a0a8 [INFO] running `Command { std: "docker" "start" "-a" "f5669fef98ddeef805d21c7994b8d867810c6eb0c56386fb189935ff99c5a0a8", kill_on_drop: false }` [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> tests/cli.rs:34:55 [INFO] [stderr] | [INFO] [stderr] 34 | let output = assert.get_output().stdout.as_slice().clone(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `[u8]` does not implement `Clone`, so calling `clone` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `upwd` (test "cli") generated 1 warning (run `cargo fix --test "cli"` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/upwd-7ba94e35da7a6563) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test cli::tests::info_write ... ok [INFO] [stdout] test cli::tests::opts_collect ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/cli.rs (/opt/rustwide/target/debug/deps/cli-b58605a19c742c1b) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test password_length_eq_arg_length ... ok [INFO] [stdout] test created_10_passwords ... ok [INFO] [stdout] test default_password_length_is_12 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f5669fef98ddeef805d21c7994b8d867810c6eb0c56386fb189935ff99c5a0a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5669fef98ddeef805d21c7994b8d867810c6eb0c56386fb189935ff99c5a0a8", kill_on_drop: false }` [INFO] [stdout] f5669fef98ddeef805d21c7994b8d867810c6eb0c56386fb189935ff99c5a0a8