[INFO] fetching crate tre-command 0.4.0... [INFO] testing tre-command-0.4.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate tre-command 0.4.0 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate tre-command 0.4.0 [INFO] finished tweaking crates.io crate tre-command 0.4.0 [INFO] tweaked toml for crates.io crate tre-command 0.4.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tre-command 0.4.0 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tre-command 0.4.0 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00b1e8090e1d14630693cb86a928de6104d94f30c6e4d9b27016ab5b6764b4a4 [INFO] running `Command { std: "docker" "start" "-a" "00b1e8090e1d14630693cb86a928de6104d94f30c6e4d9b27016ab5b6764b4a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00b1e8090e1d14630693cb86a928de6104d94f30c6e4d9b27016ab5b6764b4a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00b1e8090e1d14630693cb86a928de6104d94f30c6e4d9b27016ab5b6764b4a4", kill_on_drop: false }` [INFO] [stdout] 00b1e8090e1d14630693cb86a928de6104d94f30c6e4d9b27016ab5b6764b4a4 [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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08e69c5a727201d27422e51b0ffd6b063a0c5a4a1b0eb0298dca2b224aaa9df2 [INFO] running `Command { std: "docker" "start" "-a" "08e69c5a727201d27422e51b0ffd6b063a0c5a4a1b0eb0298dca2b224aaa9df2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling syn v1.0.93 [INFO] [stderr] Compiling hashbrown v0.12.1 [INFO] [stderr] Compiling os_str_bytes v6.0.1 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling indexmap v1.9.0 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling lscolors v0.7.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Compiling clap v3.1.18 [INFO] [stderr] Compiling clap_complete v3.1.4 [INFO] [stderr] Compiling tre-command v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json_formatting.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(tree: &FileTree) -> SerializableTreeNode { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(tree: &FileTree) -> SerializableTreeNode<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.48s [INFO] running `Command { std: "docker" "inspect" "08e69c5a727201d27422e51b0ffd6b063a0c5a4a1b0eb0298dca2b224aaa9df2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08e69c5a727201d27422e51b0ffd6b063a0c5a4a1b0eb0298dca2b224aaa9df2", kill_on_drop: false }` [INFO] [stdout] 08e69c5a727201d27422e51b0ffd6b063a0c5a4a1b0eb0298dca2b224aaa9df2 [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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7a3e137bbbc9c9ab9aa89551de0ac7bbd1fb753d28ca681530a1047bb9d7645 [INFO] running `Command { std: "docker" "start" "-a" "e7a3e137bbbc9c9ab9aa89551de0ac7bbd1fb753d28ca681530a1047bb9d7645", kill_on_drop: false }` [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling predicates-core v1.0.3 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling termtree v0.2.4 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json_formatting.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(tree: &FileTree) -> SerializableTreeNode { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(tree: &FileTree) -> SerializableTreeNode<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling predicates-tree v1.0.5 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling predicates v2.1.1 [INFO] [stderr] Compiling assert_cmd v2.0.4 [INFO] [stderr] Compiling tre-command v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/json_formatting.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(tree: &FileTree) -> SerializableTreeNode { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 34 | pub fn new(tree: &FileTree) -> SerializableTreeNode<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.09s [INFO] running `Command { std: "docker" "inspect" "e7a3e137bbbc9c9ab9aa89551de0ac7bbd1fb753d28ca681530a1047bb9d7645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7a3e137bbbc9c9ab9aa89551de0ac7bbd1fb753d28ca681530a1047bb9d7645", kill_on_drop: false }` [INFO] [stdout] e7a3e137bbbc9c9ab9aa89551de0ac7bbd1fb753d28ca681530a1047bb9d7645 [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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9f1b5490f5dddccee10e53574c48eb1e2760821166321b779373a06aa6141dc5 [INFO] running `Command { std: "docker" "start" "-a" "9f1b5490f5dddccee10e53574c48eb1e2760821166321b779373a06aa6141dc5", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/json_formatting.rs:34:22 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn new(tree: &FileTree) -> SerializableTreeNode { [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 34 | pub fn new(tree: &FileTree) -> SerializableTreeNode<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `tre-command` (bin "tre" test) generated 1 warning (run `cargo fix --bin "tre" --tests` to apply 1 suggestion) [INFO] [stderr] warning: `tre-command` (bin "tre") generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tre-3089e88c4b3f61cc) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-89a70df83500f223) [INFO] [stdout] test cli::test::coloring_parsing ... ok [INFO] [stdout] test diagram_formatting::test::formatting_works ... ok [INFO] [stdout] test file_tree::test::tree_construction ... ok [INFO] [stdout] test file_tree::test::tree_construction_with_root_dir ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test all_files ... FAILED [INFO] [stdout] test respect_git_ignore ... FAILED [INFO] [stdout] test ignore_hidden ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- all_files stdout ---- [INFO] [stdout] Error: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] [INFO] [stdout] ---- respect_git_ignore stdout ---- [INFO] [stdout] Error: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] [INFO] [stdout] ---- ignore_hidden stdout ---- [INFO] [stdout] Error: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] all_files [INFO] [stdout] ignore_hidden [INFO] [stdout] respect_git_ignore [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test integration_tests` [INFO] running `Command { std: "docker" "inspect" "9f1b5490f5dddccee10e53574c48eb1e2760821166321b779373a06aa6141dc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f1b5490f5dddccee10e53574c48eb1e2760821166321b779373a06aa6141dc5", kill_on_drop: false }` [INFO] [stdout] 9f1b5490f5dddccee10e53574c48eb1e2760821166321b779373a06aa6141dc5