[INFO] cloning repository https://github.com/gustavocadev/rust-example-tree
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gustavocadev/rust-example-tree" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgustavocadev%2Frust-example-tree", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgustavocadev%2Frust-example-tree'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 192e9f04c4205848962ff67244e2727636947ab7
[INFO] checking gustavocadev/rust-example-tree against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgustavocadev%2Frust-example-tree" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/gustavocadev/rust-example-tree
[INFO] finished tweaking git repo https://github.com/gustavocadev/rust-example-tree
[INFO] tweaked toml for git repo https://github.com/gustavocadev/rust-example-tree written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gustavocadev/rust-example-tree on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/gustavocadev/rust-example-tree 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rustls-webpki v0.102.7
[INFO] [stderr]   Downloaded reqwest v0.12.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 27c90a85e2aca248182de34c0a24b9ef4fb19ec15daa792a403d175bb81cb390
[INFO] running `Command { std: "docker" "start" "-a" "27c90a85e2aca248182de34c0a24b9ef4fb19ec15daa792a403d175bb81cb390", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "27c90a85e2aca248182de34c0a24b9ef4fb19ec15daa792a403d175bb81cb390", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "27c90a85e2aca248182de34c0a24b9ef4fb19ec15daa792a403d175bb81cb390", kill_on_drop: false }`
[INFO] [stdout] 27c90a85e2aca248182de34c0a24b9ef4fb19ec15daa792a403d175bb81cb390
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1d60543c56d8ef8fa6938b0cb233be9b675666694d27a173565beb01c8bbf721
[INFO] running `Command { std: "docker" "start" "-a" "1d60543c56d8ef8fa6938b0cb233be9b675666694d27a173565beb01c8bbf721", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.1.15
[INFO] [stderr]    Compiling openssl v0.10.66
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking indexmap v2.4.0
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling syn v2.0.76
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling serde v1.0.209
[INFO] [stderr]     Checking rustls-pki-types v1.8.0
[INFO] [stderr]     Checking sync_wrapper v1.0.1
[INFO] [stderr]     Checking rustls-pemfile v2.1.3
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling openssl-sys v0.9.103
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking tokio v1.39.3
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]     Checking tokio-util v0.7.11
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking h2 v0.4.6
[INFO] [stderr]     Checking hyper v1.4.1
[INFO] [stderr]     Checking hyper-util v0.1.7
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.7
[INFO] [stderr]     Checking rust-example v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]   --> src/main.rs:16:26
[INFO] [stdout]    |
[INFO] [stdout] 16 |   fn set_left(&mut self, node: &mut Node) -> () {}
[INFO] [stdout]    |                          ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]   --> src/main.rs:17:27
[INFO] [stdout]    |
[INFO] [stdout] 17 |   fn set_right(&mut self, node: &mut Node) -> () {}
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:52:7
[INFO] [stdout]    |
[INFO] [stdout] 52 |   let mut root = Node::new(6);
[INFO] [stdout]    |       ----^^^^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:53:7
[INFO] [stdout]    |
[INFO] [stdout] 53 |   let mut node1 = Node::new(4);
[INFO] [stdout]    |       ----^^^^^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:54:7
[INFO] [stdout]    |
[INFO] [stdout] 54 |   let mut node2 = Node::new(1);
[INFO] [stdout]    |       ----^^^^^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:55:7
[INFO] [stdout]    |
[INFO] [stdout] 55 |   let mut node3 = Node::new(5);
[INFO] [stdout]    |       ----^^^^^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:56:7
[INFO] [stdout]    |
[INFO] [stdout] 56 |   let mut node4 = Node::new(8);
[INFO] [stdout]    |       ----^^^^^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:57:7
[INFO] [stdout]    |
[INFO] [stdout] 57 |   let mut node5 = Node::new(9);
[INFO] [stdout]    |       ----^^^^^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `root`
[INFO] [stdout]   --> src/main.rs:52:7
[INFO] [stdout]    |
[INFO] [stdout] 52 |   let mut root = Node::new(6);
[INFO] [stdout]    |       ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node1`
[INFO] [stdout]   --> src/main.rs:53:7
[INFO] [stdout]    |
[INFO] [stdout] 53 |   let mut node1 = Node::new(4);
[INFO] [stdout]    |       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node2`
[INFO] [stdout]   --> src/main.rs:54:7
[INFO] [stdout]    |
[INFO] [stdout] 54 |   let mut node2 = Node::new(1);
[INFO] [stdout]    |       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node3`
[INFO] [stdout]   --> src/main.rs:55:7
[INFO] [stdout]    |
[INFO] [stdout] 55 |   let mut node3 = Node::new(5);
[INFO] [stdout]    |       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node4`
[INFO] [stdout]   --> src/main.rs:56:7
[INFO] [stdout]    |
[INFO] [stdout] 56 |   let mut node4 = Node::new(8);
[INFO] [stdout]    |       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node5`
[INFO] [stdout]   --> src/main.rs:57:7
[INFO] [stdout]    |
[INFO] [stdout] 57 |   let mut node5 = Node::new(9);
[INFO] [stdout]    |       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node5`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `dato`, `left`, and `right` are never read
[INFO] [stdout]  --> src/main.rs:2:3
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Node {
[INFO] [stdout]   |        ---- fields in this struct
[INFO] [stdout] 2 |   dato: i32,
[INFO] [stdout]   |   ^^^^
[INFO] [stdout] 3 |   left: Option<Box<Node>>,
[INFO] [stdout]   |   ^^^^
[INFO] [stdout] 4 |   right: Option<Box<Node>>,
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_left` and `set_right` are never used
[INFO] [stdout]   --> src/main.rs:16:6
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl Node {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 16 |   fn set_left(&mut self, node: &mut Node) -> () {}
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout] 17 |   fn set_right(&mut self, node: &mut Node) -> () {}
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inorder` is never used
[INFO] [stdout]   --> src/main.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn inorder(node: &Option<Box<Node>>) {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `preorder` is never used
[INFO] [stdout]   --> src/main.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn preorder(node: &Option<Box<Node>>) {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `postorder` is never used
[INFO] [stdout]   --> src/main.rs:36:4
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn postorder(node: &Option<Box<Node>>) {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `factorial` is never used
[INFO] [stdout]   --> src/main.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn factorial(x: i32) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]   --> src/main.rs:16:26
[INFO] [stdout]    |
[INFO] [stdout] 16 |   fn set_left(&mut self, node: &mut Node) -> () {}
[INFO] [stdout]    |                          ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]   --> src/main.rs:17:27
[INFO] [stdout]    |
[INFO] [stdout] 17 |   fn set_right(&mut self, node: &mut Node) -> () {}
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:52:7
[INFO] [stdout]    |
[INFO] [stdout] 52 |   let mut root = Node::new(6);
[INFO] [stdout]    |       ----^^^^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:53:7
[INFO] [stdout]    |
[INFO] [stdout] 53 |   let mut node1 = Node::new(4);
[INFO] [stdout]    |       ----^^^^^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:54:7
[INFO] [stdout]    |
[INFO] [stdout] 54 |   let mut node2 = Node::new(1);
[INFO] [stdout]    |       ----^^^^^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:55:7
[INFO] [stdout]    |
[INFO] [stdout] 55 |   let mut node3 = Node::new(5);
[INFO] [stdout]    |       ----^^^^^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:56:7
[INFO] [stdout]    |
[INFO] [stdout] 56 |   let mut node4 = Node::new(8);
[INFO] [stdout]    |       ----^^^^^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:57:7
[INFO] [stdout]    |
[INFO] [stdout] 57 |   let mut node5 = Node::new(9);
[INFO] [stdout]    |       ----^^^^^
[INFO] [stdout]    |       |
[INFO] [stdout]    |       help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `root`
[INFO] [stdout]   --> src/main.rs:52:7
[INFO] [stdout]    |
[INFO] [stdout] 52 |   let mut root = Node::new(6);
[INFO] [stdout]    |       ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node1`
[INFO] [stdout]   --> src/main.rs:53:7
[INFO] [stdout]    |
[INFO] [stdout] 53 |   let mut node1 = Node::new(4);
[INFO] [stdout]    |       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node2`
[INFO] [stdout]   --> src/main.rs:54:7
[INFO] [stdout]    |
[INFO] [stdout] 54 |   let mut node2 = Node::new(1);
[INFO] [stdout]    |       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node3`
[INFO] [stdout]   --> src/main.rs:55:7
[INFO] [stdout]    |
[INFO] [stdout] 55 |   let mut node3 = Node::new(5);
[INFO] [stdout]    |       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node4`
[INFO] [stdout]   --> src/main.rs:56:7
[INFO] [stdout]    |
[INFO] [stdout] 56 |   let mut node4 = Node::new(8);
[INFO] [stdout]    |       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node4`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node5`
[INFO] [stdout]   --> src/main.rs:57:7
[INFO] [stdout]    |
[INFO] [stdout] 57 |   let mut node5 = Node::new(9);
[INFO] [stdout]    |       ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node5`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `dato`, `left`, and `right` are never read
[INFO] [stdout]  --> src/main.rs:2:3
[INFO] [stdout]   |
[INFO] [stdout] 1 | struct Node {
[INFO] [stdout]   |        ---- fields in this struct
[INFO] [stdout] 2 |   dato: i32,
[INFO] [stdout]   |   ^^^^
[INFO] [stdout] 3 |   left: Option<Box<Node>>,
[INFO] [stdout]   |   ^^^^
[INFO] [stdout] 4 |   right: Option<Box<Node>>,
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_left` and `set_right` are never used
[INFO] [stdout]   --> src/main.rs:16:6
[INFO] [stdout]    |
[INFO] [stdout]  7 | impl Node {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 16 |   fn set_left(&mut self, node: &mut Node) -> () {}
[INFO] [stdout]    |      ^^^^^^^^
[INFO] [stdout] 17 |   fn set_right(&mut self, node: &mut Node) -> () {}
[INFO] [stdout]    |      ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `inorder` is never used
[INFO] [stdout]   --> src/main.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn inorder(node: &Option<Box<Node>>) {
[INFO] [stdout]    |    ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `preorder` is never used
[INFO] [stdout]   --> src/main.rs:28:4
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn preorder(node: &Option<Box<Node>>) {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `postorder` is never used
[INFO] [stdout]   --> src/main.rs:36:4
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn postorder(node: &Option<Box<Node>>) {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `factorial` is never used
[INFO] [stdout]   --> src/main.rs:44:4
[INFO] [stdout]    |
[INFO] [stdout] 44 | fn factorial(x: i32) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.60s
[INFO] running `Command { std: "docker" "inspect" "1d60543c56d8ef8fa6938b0cb233be9b675666694d27a173565beb01c8bbf721", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1d60543c56d8ef8fa6938b0cb233be9b675666694d27a173565beb01c8bbf721", kill_on_drop: false }`
[INFO] [stdout] 1d60543c56d8ef8fa6938b0cb233be9b675666694d27a173565beb01c8bbf721
