[INFO] fetching crate tre-command 0.4.0... [INFO] testing tre-command-0.4.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate tre-command 0.4.0 into /workspace/builds/worker-3-tc1/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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tre-command 0.4.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--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] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lscolors v0.7.1 [INFO] [stderr] Downloaded serde v1.0.137 [INFO] [stderr] Downloaded clap_complete v3.1.4 [INFO] [stderr] Downloaded proc-macro2 v1.0.38 [INFO] [stderr] Downloaded unicode-xid v0.2.3 [INFO] [stderr] Downloaded hashbrown v0.12.1 [INFO] [stderr] Downloaded serde_json v1.0.81 [INFO] [stderr] Downloaded syn v1.0.93 [INFO] [stderr] Downloaded serde_derive v1.0.137 [INFO] [stderr] Downloaded indexmap v1.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43b00f3cf152be045ee35636bca874fb238ed450088feda727da2ca3d33c784f [INFO] running `Command { std: "docker" "start" "-a" "43b00f3cf152be045ee35636bca874fb238ed450088feda727da2ca3d33c784f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43b00f3cf152be045ee35636bca874fb238ed450088feda727da2ca3d33c784f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43b00f3cf152be045ee35636bca874fb238ed450088feda727da2ca3d33c784f", kill_on_drop: false }` [INFO] [stdout] 43b00f3cf152be045ee35636bca874fb238ed450088feda727da2ca3d33c784f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bedf4fdc92331896f01da00cc0b370bcf80c7d8f09159e7d452db1618bbe9346 [INFO] running `Command { std: "docker" "start" "-a" "bedf4fdc92331896f01da00cc0b370bcf80c7d8f09159e7d452db1618bbe9346", 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 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 regex-syntax v0.6.25 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling getopts v0.2.21 [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 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 15.28s [INFO] running `Command { std: "docker" "inspect" "bedf4fdc92331896f01da00cc0b370bcf80c7d8f09159e7d452db1618bbe9346", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bedf4fdc92331896f01da00cc0b370bcf80c7d8f09159e7d452db1618bbe9346", kill_on_drop: false }` [INFO] [stdout] bedf4fdc92331896f01da00cc0b370bcf80c7d8f09159e7d452db1618bbe9346 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8a57910b568a0cf708098de5ba2456b911da59608f393bdd368e1744b56286c [INFO] running `Command { std: "docker" "start" "-a" "c8a57910b568a0cf708098de5ba2456b911da59608f393bdd368e1744b56286c", kill_on_drop: false }` [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling predicates-core v1.0.3 [INFO] [stderr] Compiling difflib v0.4.0 [INFO] [stderr] Compiling termtree v0.2.4 [INFO] [stderr] Compiling regex-automata v0.1.10 [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 2.08s [INFO] running `Command { std: "docker" "inspect" "c8a57910b568a0cf708098de5ba2456b911da59608f393bdd368e1744b56286c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8a57910b568a0cf708098de5ba2456b911da59608f393bdd368e1744b56286c", kill_on_drop: false }` [INFO] [stdout] c8a57910b568a0cf708098de5ba2456b911da59608f393bdd368e1744b56286c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a49b76f74d015716c495decc9761a9829573505625b607b738378585e1918dd9 [INFO] running `Command { std: "docker" "start" "-a" "a49b76f74d015716c495decc9761a9829573505625b607b738378585e1918dd9", 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" -p tre-command --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.04s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/tre-3089e88c4b3f61cc) [INFO] [stdout] [INFO] [stdout] running 4 tests [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] [stderr] Running tests/integration_tests.rs (/opt/rustwide/target/debug/deps/integration_tests-89a70df83500f223) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test all_files ... FAILED [INFO] [stdout] test ignore_hidden ... FAILED [INFO] [stdout] test respect_git_ignore ... 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] ---- ignore_hidden 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] [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.00s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test integration_tests` [INFO] running `Command { std: "docker" "inspect" "a49b76f74d015716c495decc9761a9829573505625b607b738378585e1918dd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a49b76f74d015716c495decc9761a9829573505625b607b738378585e1918dd9", kill_on_drop: false }` [INFO] [stdout] a49b76f74d015716c495decc9761a9829573505625b607b738378585e1918dd9