[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 try#44f3504e96c944ae54fc72b5f5008f53f7eda001 for pr-136776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgustavocadev%2Frust-example-tree" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/gustavocadev/rust-example-tree on toolchain 44f3504e96c944ae54fc72b5f5008f53f7eda001
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-7-tc2/source/Cargo.toml
[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" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fe667cd401dcd3096fa685d637cb8ef59046329eb1af023516895eadb09d6e52
[INFO] running `Command { std: "docker" "start" "-a" "fe667cd401dcd3096fa685d637cb8ef59046329eb1af023516895eadb09d6e52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fe667cd401dcd3096fa685d637cb8ef59046329eb1af023516895eadb09d6e52", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe667cd401dcd3096fa685d637cb8ef59046329eb1af023516895eadb09d6e52", kill_on_drop: false }`
[INFO] [stdout] fe667cd401dcd3096fa685d637cb8ef59046329eb1af023516895eadb09d6e52
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+44f3504e96c944ae54fc72b5f5008f53f7eda001" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d8cbeea3c33fdb85c7596094e3a700910e3be3c9faeeb223a7b1eddd7bb8bf20
[INFO] running `Command { std: "docker" "start" "-a" "d8cbeea3c33fdb85c7596094e3a700910e3be3c9faeeb223a7b1eddd7bb8bf20", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]     Checking bytes v1.7.1
[INFO] [stderr]     Checking pin-project-lite v0.2.14
[INFO] [stderr]     Checking futures-core v0.3.30
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking once_cell v1.19.0
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]     Checking itoa v1.0.11
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking futures-sink v0.3.30
[INFO] [stderr]    Compiling openssl v0.10.66
[INFO] [stderr]     Checking equivalent v1.0.1
[INFO] [stderr]    Compiling cc v1.1.15
[INFO] [stderr]     Checking tracing-core v0.1.32
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking tinyvec_macros v0.1.1
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]     Checking bitflags v2.6.0
[INFO] [stderr]     Checking atomic-waker v1.1.2
[INFO] [stderr]     Checking tinyvec v1.8.0
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking tower-layer v0.3.3
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking tower-service v0.3.3
[INFO] [stderr]    Compiling serde v1.0.209
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]     Checking unicode-bidi v0.3.15
[INFO] [stderr]     Checking rustls-pki-types v1.8.0
[INFO] [stderr]     Checking ryu v1.0.18
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking sync_wrapper v1.0.1
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking encoding_rs v0.8.34
[INFO] [stderr]     Checking indexmap v2.4.0
[INFO] [stderr]     Checking ipnet v2.9.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking mio v1.0.2
[INFO] [stderr]     Checking unicode-normalization v0.1.23
[INFO] [stderr]    Compiling syn v2.0.76
[INFO] [stderr]     Checking rustls-pemfile v2.1.3
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]    Compiling openssl-sys v0.9.103
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking url v2.5.2
[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)]` 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: unused variable: `root`
[INFO] [stdout]   --> src/main.rs:52:11
[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:11
[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:11
[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:11
[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:11
[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:11
[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: 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)]` 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: 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)]` 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)]` 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: unused variable: `root`
[INFO] [stdout]   --> src/main.rs:52:11
[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:11
[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:11
[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:11
[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:11
[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:11
[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: 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)]` 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: 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)]` 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.39s
[INFO] running `Command { std: "docker" "inspect" "d8cbeea3c33fdb85c7596094e3a700910e3be3c9faeeb223a7b1eddd7bb8bf20", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d8cbeea3c33fdb85c7596094e3a700910e3be3c9faeeb223a7b1eddd7bb8bf20", kill_on_drop: false }`
[INFO] [stdout] d8cbeea3c33fdb85c7596094e3a700910e3be3c9faeeb223a7b1eddd7bb8bf20
