[INFO] fetching crate treelog 0.1.0-beta.0... [INFO] testing treelog-0.1.0-beta.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate treelog 0.1.0-beta.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate treelog 0.1.0-beta.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate treelog 0.1.0-beta.0 [INFO] tweaked toml for crates.io crate treelog 0.1.0-beta.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate treelog 0.1.0-beta.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate treelog 0.1.0-beta.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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded roxmltree v0.21.1 [INFO] [stderr] Downloaded unit-prefix v0.5.2 [INFO] [stderr] Downloaded cargo-platform v0.3.1 [INFO] [stderr] Downloaded console v0.16.1 [INFO] [stderr] Downloaded camino v1.2.1 [INFO] [stderr] Downloaded indicatif v0.18.3 [INFO] [stderr] Downloaded ron v0.12.0 [INFO] [stderr] Downloaded git2 v0.20.2 [INFO] [stderr] Downloaded libgit2-sys v0.18.2+1.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6bce009fc5f8d7366dedbe77bb29a260f6c6c1e2bfad7e924666be554bac176 [INFO] running `Command { std: "docker" "start" "-a" "c6bce009fc5f8d7366dedbe77bb29a260f6c6c1e2bfad7e924666be554bac176", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6bce009fc5f8d7366dedbe77bb29a260f6c6c1e2bfad7e924666be554bac176", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6bce009fc5f8d7366dedbe77bb29a260f6c6c1e2bfad7e924666be554bac176", kill_on_drop: false }` [INFO] [stdout] c6bce009fc5f8d7366dedbe77bb29a260f6c6c1e2bfad7e924666be554bac176 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b66a8aa4a28ef8817f2209c0fcb9fcbcd2c076d822094f1f7b918aaa74692c70 [INFO] running `Command { std: "docker" "start" "-a" "b66a8aa4a28ef8817f2209c0fcb9fcbcd2c076d822094f1f7b918aaa74692c70", kill_on_drop: false }` [INFO] [stderr] Compiling treelog v0.1.0-beta.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "b66a8aa4a28ef8817f2209c0fcb9fcbcd2c076d822094f1f7b918aaa74692c70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b66a8aa4a28ef8817f2209c0fcb9fcbcd2c076d822094f1f7b918aaa74692c70", kill_on_drop: false }` [INFO] [stdout] b66a8aa4a28ef8817f2209c0fcb9fcbcd2c076d822094f1f7b918aaa74692c70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e26792571730f4255c4c3b972955cb580afc63eda2b2c1020d63ad024bff8fd6 [INFO] running `Command { std: "docker" "start" "-a" "e26792571730f4255c4c3b972955cb580afc63eda2b2c1020d63ad024bff8fd6", kill_on_drop: false }` [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling unit-prefix v0.5.2 [INFO] [stderr] Compiling tree-sitter-language v0.1.5 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling cc v1.2.47 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling console v0.16.1 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling indicatif v0.18.3 [INFO] [stderr] Compiling tree-sitter-rust v0.24.0 [INFO] [stderr] Compiling treelog v0.1.0-beta.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `find_node` found for enum `Tree` in the current scope [INFO] [stdout] --> examples/search.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | if let Some(found) = tree.find_node("src") { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_node` with a similar name, but with different arguments [INFO] [stdout] --> src/tree.rs:125:5 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn is_node(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find_all_nodes` found for enum `Tree` in the current scope [INFO] [stdout] --> examples/search.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | let all_src_nodes = tree.find_all_nodes("src"); [INFO] [stdout] | ^^^^^^^^^^^^^^ method not found in `Tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `find_leaf` found for enum `Tree` in the current scope [INFO] [stdout] --> examples/search.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | if let Some(found) = tree.find_leaf("main.rs") { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `is_leaf` with a similar name, but with different arguments [INFO] [stdout] --> src/tree.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn is_leaf(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Tree` in the current scope [INFO] [stdout] --> examples/search.rs:48:41 [INFO] [stdout] | [INFO] [stdout] 48 | println!("Contains 'src': {}", tree.contains("src")); [INFO] [stdout] | ^^^^^^^^ method not found in `Tree` [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `Vec` [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/slice/mod.rs:2589:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Tree` in the current scope [INFO] [stdout] --> examples/search.rs:49:45 [INFO] [stdout] | [INFO] [stdout] 49 | println!("Contains 'main.rs': {}", tree.contains("main.rs")); [INFO] [stdout] | ^^^^^^^^ method not found in `Tree` [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `Vec` [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/slice/mod.rs:2589:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Tree` in the current scope [INFO] [stdout] --> examples/search.rs:50:49 [INFO] [stdout] | [INFO] [stdout] 50 | println!("Contains 'nonexistent': {}", tree.contains("nonexistent")); [INFO] [stdout] | ^^^^^^^^ method not found in `Tree` [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `Vec` [INFO] [stdout] --> /rustc/562dee4820c458d823175268e41601d4c060588a/library/core/src/slice/mod.rs:2589:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `path_to` found for enum `Tree` in the current scope [INFO] [stdout] --> examples/search.rs:53:30 [INFO] [stdout] | [INFO] [stdout] 53 | if let Some(path) = tree.path_to("src") { [INFO] [stdout] | ^^^^^^^ method not found in `Tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `path_to` found for enum `Tree` in the current scope [INFO] [stdout] --> examples/search.rs:56:30 [INFO] [stdout] | [INFO] [stdout] 56 | if let Some(path) = tree.path_to("main.rs") { [INFO] [stdout] | ^^^^^^^ method not found in `Tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `treelog` (example "search") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0432]: unresolved import `treelog::incremental` [INFO] [stdout] --> examples/indicatif.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | use treelog::incremental::IncrementalTree; [INFO] [stdout] | ^^^^^^^^^^^ could not find `incremental` in `treelog` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | #[cfg(any(feature = "incremental", doc))] [INFO] [stdout] | ------------------------------ the item is gated here [INFO] [stdout] 26 | pub mod incremental; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `depth` found for enum `Tree` in the current scope [INFO] [stdout] --> examples/statistics.rs:33:32 [INFO] [stdout] | [INFO] [stdout] 33 | println!("Depth: {}", tree.depth()); [INFO] [stdout] | ^^^^^ method not found in `Tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `width` found for enum `Tree` in the current scope [INFO] [stdout] --> examples/statistics.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | println!("Width: {}", tree.width()); [INFO] [stdout] | ^^^^^ method not found in `Tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sort_by_label` found for enum `Tree` in the current scope [INFO] [stdout] --> examples/sorting.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | tree2.sort_by_label(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sort_by_depth` found for enum `Tree` in the current scope [INFO] [stdout] --> examples/sorting.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | tree3.sort_by_depth(true); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `Tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `node_count` found for enum `Tree` in the current scope [INFO] [stdout] --> examples/statistics.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | println!("Node count: {}", tree.node_count()); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `sort_children` found for enum `Tree` in the current scope [INFO] [stdout] --> examples/sorting.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | tree4.sort_children(&mut compare); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `children` with a similar name, but with different arguments [INFO] [stdout] --> src/tree.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn children(&self) -> Option<&[Tree]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `leaf_count` found for enum `Tree` in the current scope [INFO] [stdout] --> examples/statistics.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | println!("Leaf count: {}", tree.leaf_count()); [INFO] [stdout] | ^^^^^^^^^^ method not found in `Tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `total_lines` found for enum `Tree` in the current scope [INFO] [stdout] --> examples/statistics.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | println!("Total lines: {}", tree.total_lines()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `to_lines` with a similar name [INFO] [stdout] | [INFO] [stdout] 37 - println!("Total lines: {}", tree.total_lines()); [INFO] [stdout] 37 + println!("Total lines: {}", tree.to_lines()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `stats` found for enum `Tree` in the current scope [INFO] [stdout] --> examples/statistics.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | let stats = tree.stats(); [INFO] [stdout] | ^^^^^ method not found in `Tree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `treelog` (example "sorting") due to 3 previous errors [INFO] [stderr] error: could not compile `treelog` (example "statistics") due to 6 previous errors [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `treelog` (example "indicatif") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "e26792571730f4255c4c3b972955cb580afc63eda2b2c1020d63ad024bff8fd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e26792571730f4255c4c3b972955cb580afc63eda2b2c1020d63ad024bff8fd6", kill_on_drop: false }` [INFO] [stdout] e26792571730f4255c4c3b972955cb580afc63eda2b2c1020d63ad024bff8fd6