[INFO] fetching crate ascii_tree 0.1.1... [INFO] testing ascii_tree-0.1.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate ascii_tree 0.1.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate ascii_tree 0.1.1 [INFO] finished tweaking crates.io crate ascii_tree 0.1.1 [INFO] tweaked toml for crates.io crate ascii_tree 0.1.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ascii_tree 0.1.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73c463bbf997cd672b9345f396b5790e1cff90dc45b5cd99738305b4a82cfc09 [INFO] running `Command { std: "docker" "start" "-a" "73c463bbf997cd672b9345f396b5790e1cff90dc45b5cd99738305b4a82cfc09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73c463bbf997cd672b9345f396b5790e1cff90dc45b5cd99738305b4a82cfc09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73c463bbf997cd672b9345f396b5790e1cff90dc45b5cd99738305b4a82cfc09", kill_on_drop: false }` [INFO] [stdout] 73c463bbf997cd672b9345f396b5790e1cff90dc45b5cd99738305b4a82cfc09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c918412fa8e2c626205d2809f23adeb6dcb8be0353ec2289135976043935c79b [INFO] running `Command { std: "docker" "start" "-a" "c918412fa8e2c626205d2809f23adeb6dcb8be0353ec2289135976043935c79b", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling ascii_tree v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn write_tree(f: &mut Write, tree: &Tree) -> fmt::Result { write_tree_element(f, tree, &vec![]) } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | pub fn write_tree(f: &mut dyn Write, tree: &Tree) -> fmt::Result { write_tree_element(f, tree, &vec![]) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | fn write_tree_element(f: &mut Write, tree: &Tree, level: &Vec) -> fmt::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | fn write_tree_element(f: &mut dyn Write, tree: &Tree, level: &Vec) -> fmt::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "c918412fa8e2c626205d2809f23adeb6dcb8be0353ec2289135976043935c79b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c918412fa8e2c626205d2809f23adeb6dcb8be0353ec2289135976043935c79b", kill_on_drop: false }` [INFO] [stdout] c918412fa8e2c626205d2809f23adeb6dcb8be0353ec2289135976043935c79b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 164bcae26b2fe628f3574044eecb75281c5e8cc5f3490fd260895952ec8cae0c [INFO] running `Command { std: "docker" "start" "-a" "164bcae26b2fe628f3574044eecb75281c5e8cc5f3490fd260895952ec8cae0c", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling ascii_tree v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn write_tree(f: &mut Write, tree: &Tree) -> fmt::Result { write_tree_element(f, tree, &vec![]) } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | pub fn write_tree(f: &mut dyn Write, tree: &Tree) -> fmt::Result { write_tree_element(f, tree, &vec![]) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | fn write_tree_element(f: &mut Write, tree: &Tree, level: &Vec) -> fmt::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | fn write_tree_element(f: &mut dyn Write, tree: &Tree, level: &Vec) -> fmt::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn write_tree(f: &mut Write, tree: &Tree) -> fmt::Result { write_tree_element(f, tree, &vec![]) } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 62 | pub fn write_tree(f: &mut dyn Write, tree: &Tree) -> fmt::Result { write_tree_element(f, tree, &vec![]) } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | fn write_tree_element(f: &mut Write, tree: &Tree, level: &Vec) -> fmt::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | fn write_tree_element(f: &mut dyn Write, tree: &Tree, level: &Vec) -> fmt::Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "164bcae26b2fe628f3574044eecb75281c5e8cc5f3490fd260895952ec8cae0c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "164bcae26b2fe628f3574044eecb75281c5e8cc5f3490fd260895952ec8cae0c", kill_on_drop: false }` [INFO] [stdout] 164bcae26b2fe628f3574044eecb75281c5e8cc5f3490fd260895952ec8cae0c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d818908fef1051907fc3bae8ebbc8e87c9242cefd30aefd8127a1e379609f6e0 [INFO] running `Command { std: "docker" "start" "-a" "d818908fef1051907fc3bae8ebbc8e87c9242cefd30aefd8127a1e379609f6e0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:62:27 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn write_tree(f: &mut Write, tree: &Tree) -> fmt::Result { write_tree_element(f, tree, &vec![]) } [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 62 | pub fn write_tree(f: &mut dyn Write, tree: &Tree) -> fmt::Result { write_tree_element(f, tree, &vec![]) } [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:64:31 [INFO] [stderr] | [INFO] [stderr] 64 | fn write_tree_element(f: &mut Write, tree: &Tree, level: &Vec) -> fmt::Result { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 64 | fn write_tree_element(f: &mut dyn Write, tree: &Tree, level: &Vec) -> fmt::Result { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `ascii_tree` (lib) generated 2 warnings (run `cargo fix --lib -p ascii_tree` to apply 2 suggestions) [INFO] [stderr] warning: `ascii_tree` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ascii_tree-f187a467f77796fd) [INFO] [stdout] [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] [stderr] Doc-tests ascii_tree [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - write_tree (line 57) ... FAILED [INFO] [stdout] test src/lib.rs - (line 3) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - write_tree (line 57) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `tree` in this scope [INFO] [stdout] --> src/lib.rs:59:26 [INFO] [stdout] | [INFO] [stdout] 4 | write_tree(&mut output, &tree); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `write_tree` in this scope [INFO] [stdout] --> src/lib.rs:59:1 [INFO] [stdout] | [INFO] [stdout] 4 | write_tree(&mut output, &tree); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 3) stdout ---- [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Leaf` in this scope [INFO] [stdout] --> src/lib.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 3 | let l1 = Leaf(vec![String::from("line1"), String::from("line2"), String::from("line3"), String::from("line4")]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Leaf` in this scope [INFO] [stdout] --> src/lib.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 4 | let l2 = Leaf(vec![String::from("only one line")]); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Node` in this scope [INFO] [stdout] --> src/lib.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 5 | let n1 = Node(String::from("node 1"), vec![l1.clone(), l2.clone()]); [INFO] [stdout] | ^^^^ help: a unit variant with a similar name exists: `None` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/option.rs:597:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named unit variant `None` defined here [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Node` in this scope [INFO] [stdout] --> src/lib.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 6 | let n2 = Node(String::from("node 2"), vec![l2.clone(), l1.clone(), l2.clone()]); [INFO] [stdout] | ^^^^ help: a unit variant with a similar name exists: `None` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/option.rs:597:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named unit variant `None` defined here [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Node` in this scope [INFO] [stdout] --> src/lib.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 7 | let n3 = Node(String::from("node 3"), vec![n1.clone(), l1.clone(), l2.clone()]); [INFO] [stdout] | ^^^^ help: a unit variant with a similar name exists: `None` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/option.rs:597:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named unit variant `None` defined here [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Node` in this scope [INFO] [stdout] --> src/lib.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 8 | let n4 = Node(String::from("node 4"), vec![n1, n2, n3]); [INFO] [stdout] | ^^^^ help: a unit variant with a similar name exists: `None` [INFO] [stdout] --> /rustc/cdb45c87e2cd43495379f7e867e3cc15dcee9f93/library/core/src/option.rs:597:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named unit variant `None` defined here [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `write_tree` in this scope [INFO] [stdout] --> src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | let _ = write_tree(&mut output, &n4); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 3) [INFO] [stdout] src/lib.rs - write_tree (line 57) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d818908fef1051907fc3bae8ebbc8e87c9242cefd30aefd8127a1e379609f6e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d818908fef1051907fc3bae8ebbc8e87c9242cefd30aefd8127a1e379609f6e0", kill_on_drop: false }` [INFO] [stdout] d818908fef1051907fc3bae8ebbc8e87c9242cefd30aefd8127a1e379609f6e0