[INFO] cloning repository https://github.com/btrust-builders/rust-week-2-exercises
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/btrust-builders/rust-week-2-exercises" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbtrust-builders%2Frust-week-2-exercises", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbtrust-builders%2Frust-week-2-exercises'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b7657f8d74b9c2c622b760a53723db13d4759699
[INFO] checking btrust-builders/rust-week-2-exercises against 760e1de835e253bf28bbcbfee38b5e8ed9ffe074 for pr-133502-26
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbtrust-builders%2Frust-week-2-exercises" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/btrust-builders/rust-week-2-exercises
[INFO] finished tweaking git repo https://github.com/btrust-builders/rust-week-2-exercises
[INFO] tweaked toml for git repo https://github.com/btrust-builders/rust-week-2-exercises written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/btrust-builders/rust-week-2-exercises on toolchain 760e1de835e253bf28bbcbfee38b5e8ed9ffe074
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+760e1de835e253bf28bbcbfee38b5e8ed9ffe074" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/btrust-builders/rust-week-2-exercises 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" "+760e1de835e253bf28bbcbfee38b5e8ed9ffe074" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1fa6594d87c8fa7b311925a7a77a16f539833322d9dfba4ce891f211db2f90b1" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] babd13319f2729326e623a23b34882b015ad3996af3ad62df31e92ad64c255d2
[INFO] running `Command { std: "docker" "start" "babd13319f2729326e623a23b34882b015ad3996af3ad62df31e92ad64c255d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "babd13319f2729326e623a23b34882b015ad3996af3ad62df31e92ad64c255d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "babd13319f2729326e623a23b34882b015ad3996af3ad62df31e92ad64c255d2" "/opt/rustwide/cargo-home/bin/cargo" "+760e1de835e253bf28bbcbfee38b5e8ed9ffe074" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "babd13319f2729326e623a23b34882b015ad3996af3ad62df31e92ad64c255d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "babd13319f2729326e623a23b34882b015ad3996af3ad62df31e92ad64c255d2" "/opt/rustwide/cargo-home/bin/cargo" "+760e1de835e253bf28bbcbfee38b5e8ed9ffe074" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking rust-week-2-exercises v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `decode` and `encode`
[INFO] [stdout]  --> src/lib.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use hex::{decode, encode};
[INFO] [stdout]   |           ^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `decode` and `encode`
[INFO] [stdout]  --> src/lib.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use hex::{decode, encode};
[INFO] [stdout]   |           ^^^^^^  ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/lib.rs:3:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn decode_hex(hex_str: &str) -> Result<Vec<u8>, String> {
[INFO] [stdout]   |        ----------                   ^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<Vec<u8>, String>`, found `()`
[INFO] [stdout]   |        |
[INFO] [stdout]   |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]   |
[INFO] [stdout]   = note:   expected enum `Result<Vec<u8>, String>`
[INFO] [stdout]           found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/lib.rs:3:37
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub fn decode_hex(hex_str: &str) -> Result<Vec<u8>, String> {
[INFO] [stdout]   |        ----------                   ^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<Vec<u8>, String>`, found `()`
[INFO] [stdout]   |        |
[INFO] [stdout]   |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]   |
[INFO] [stdout]   = note:   expected enum `Result<Vec<u8>, String>`
[INFO] [stdout]           found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/lib.rs:7:39
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn to_big_endian(bytes: &[u8]) -> Vec<u8> {
[INFO] [stdout]   |        -------------                  ^^^^^^^ expected `Vec<u8>`, found `()`
[INFO] [stdout]   |        |
[INFO] [stdout]   |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected struct `Vec<u8>`
[INFO] [stdout]           found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]  --> src/lib.rs:7:39
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn to_big_endian(bytes: &[u8]) -> Vec<u8> {
[INFO] [stdout]   |        -------------                  ^^^^^^^ expected `Vec<u8>`, found `()`
[INFO] [stdout]   |        |
[INFO] [stdout]   |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]   |
[INFO] [stdout]   = note: expected struct `Vec<u8>`
[INFO] [stdout]           found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:11:38
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn bytes_to_hex(bytes: &[u8]) -> String {
[INFO] [stdout]    |        ------------                  ^^^^^^ expected `String`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:11:38
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub fn bytes_to_hex(bytes: &[u8]) -> String {
[INFO] [stdout]    |        ------------                  ^^^^^^ expected `String`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:15:35
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn hex_to_bytes(hex: &str) -> Result<Vec<u8>, hex::FromHexError> {
[INFO] [stdout]    |        ------------               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<Vec<u8>, FromHexError>`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<Vec<u8>, FromHexError>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:15:35
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn hex_to_bytes(hex: &str) -> Result<Vec<u8>, hex::FromHexError> {
[INFO] [stdout]    |        ------------               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<Vec<u8>, FromHexError>`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<Vec<u8>, FromHexError>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:19:37
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn swap_endian_u32(num: u32) -> [u8; 4] {
[INFO] [stdout]    |        ---------------              ^^^^^^^ expected `[u8; 4]`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:19:37
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub fn swap_endian_u32(num: u32) -> [u8; 4] {
[INFO] [stdout]    |        ---------------              ^^^^^^^ expected `[u8; 4]`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:23:39
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn parse_satoshis(input: &str) -> Result<u64, String> {
[INFO] [stdout]    |        --------------                 ^^^^^^^^^^^^^^^^^^^ expected `Result<u64, String>`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<u64, String>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:23:39
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub fn parse_satoshis(input: &str) -> Result<u64, String> {
[INFO] [stdout]    |        --------------                 ^^^^^^^^^^^^^^^^^^^ expected `Result<u64, String>`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<u64, String>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:33:42
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn classify_script(script: &[u8]) -> ScriptType {
[INFO] [stdout]    |        ---------------                   ^^^^^^^^^^ expected `ScriptType`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:33:42
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn classify_script(script: &[u8]) -> ScriptType {
[INFO] [stdout]    |        ---------------                   ^^^^^^^^^^ expected `ScriptType`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:40:40
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub fn read_pushdata(script: &[u8]) -> &[u8] {
[INFO] [stdout]    |        -------------                   ^^^^^ expected `&[u8]`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout] help: consider returning the local binding `script`
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub fn read_pushdata(script: &[u8]) -> &[u8] {
[INFO] [stdout] 41 ~     script
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:40:40
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub fn read_pushdata(script: &[u8]) -> &[u8] {
[INFO] [stdout]    |        -------------                   ^^^^^ expected `&[u8]`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout] help: consider returning the local binding `script`
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub fn read_pushdata(script: &[u8]) -> &[u8] {
[INFO] [stdout] 41 ~     script
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:53:26
[INFO] [stdout]    |
[INFO] [stdout] 53 |     fn balance(&self) -> u64 {
[INFO] [stdout]    |        -------           ^^^ expected `u64`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:53:26
[INFO] [stdout]    |
[INFO] [stdout] 53 |     fn balance(&self) -> u64 {
[INFO] [stdout]    |        -------           ^^^ expected `u64`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:62:35
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn move_txid(txid: String) -> String {
[INFO] [stdout]    |        ---------                  ^^^^^^ expected `String`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout] help: consider returning the local binding `txid`
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn move_txid(txid: String) -> String {
[INFO] [stdout] 63 ~     txid
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:74:35
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn from_byte(byte: u8) -> Result<Self, String> {
[INFO] [stdout]    |            ---------              ^^^^^^^^^^^^^^^^^^^^ expected `Result<Opcode, String>`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<Opcode, String>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:62:35
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn move_txid(txid: String) -> String {
[INFO] [stdout]    |        ---------                  ^^^^^^ expected `String`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout] help: consider returning the local binding `txid`
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub fn move_txid(txid: String) -> String {
[INFO] [stdout] 63 ~     txid
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:86:36
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn consume_utxo(utxo: UTXO) -> UTXO {
[INFO] [stdout]    |        ------------                ^^^^ expected `UTXO`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout] help: consider returning the local binding `utxo`
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn consume_utxo(utxo: UTXO) -> UTXO {
[INFO] [stdout] 87 ~     utxo
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:74:35
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn from_byte(byte: u8) -> Result<Self, String> {
[INFO] [stdout]    |            ---------              ^^^^^^^^^^^^^^^^^^^^ expected `Result<Opcode, String>`, found `()`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:   expected enum `Result<Opcode, String>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:86:36
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn consume_utxo(utxo: UTXO) -> UTXO {
[INFO] [stdout]    |        ------------                ^^^^ expected `UTXO`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout] help: consider returning the local binding `utxo`
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub fn consume_utxo(utxo: UTXO) -> UTXO {
[INFO] [stdout] 87 ~     utxo
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `balance`
[INFO] [stdout]   --> src/lib.rs:58:18
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn apply_fee(balance: &mut u64, fee: u64) {
[INFO] [stdout]    |                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balance`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `balance`
[INFO] [stdout]   --> src/lib.rs:58:18
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn apply_fee(balance: &mut u64, fee: u64) {
[INFO] [stdout]    |                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balance`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fee`
[INFO] [stdout]   --> src/lib.rs:58:37
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn apply_fee(balance: &mut u64, fee: u64) {
[INFO] [stdout]    |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_fee`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fee`
[INFO] [stdout]   --> src/lib.rs:58:37
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub fn apply_fee(balance: &mut u64, fee: u64) {
[INFO] [stdout]    |                                     ^^^ help: if this is intentional, prefix it with an underscore: `_fee`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-week-2-exercises` (lib) due to 12 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `rust-week-2-exercises` (lib test) due to 12 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "babd13319f2729326e623a23b34882b015ad3996af3ad62df31e92ad64c255d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "babd13319f2729326e623a23b34882b015ad3996af3ad62df31e92ad64c255d2", kill_on_drop: false }`
[INFO] [stdout] babd13319f2729326e623a23b34882b015ad3996af3ad62df31e92ad64c255d2
