[INFO] cloning repository https://github.com/ferrite-rs/ferrite-tutorial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ferrite-rs/ferrite-tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fferrite-rs%2Fferrite-tutorial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fferrite-rs%2Fferrite-tutorial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a84f78984c4130a657ff7cbcae51e86e32764446 [INFO] checking ferrite-rs/ferrite-tutorial against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fferrite-rs%2Fferrite-tutorial" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ferrite-rs/ferrite-tutorial on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ferrite-rs/ferrite-tutorial [INFO] finished tweaking git repo https://github.com/ferrite-rs/ferrite-tutorial [INFO] tweaked toml for git repo https://github.com/ferrite-rs/ferrite-tutorial written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/ferrite-rs/ferrite-tutorial already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa24a9dba97e4c3b1e9308d073f23887483b13906ac0f774d5e04ed1d4339dee [INFO] running `Command { std: "docker" "start" "-a" "aa24a9dba97e4c3b1e9308d073f23887483b13906ac0f774d5e04ed1d4339dee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa24a9dba97e4c3b1e9308d073f23887483b13906ac0f774d5e04ed1d4339dee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa24a9dba97e4c3b1e9308d073f23887483b13906ac0f774d5e04ed1d4339dee", kill_on_drop: false }` [INFO] [stdout] aa24a9dba97e4c3b1e9308d073f23887483b13906ac0f774d5e04ed1d4339dee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1ae9adc9b817f7a519c5051492fe22130333702a7c168a88002d5f0e801fb98 [INFO] running `Command { std: "docker" "start" "-a" "a1ae9adc9b817f7a519c5051492fe22130333702a7c168a88002d5f0e801fb98", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Compiling tokio v1.7.0 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Checking crossbeam-channel v0.4.4 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking ipc-channel v0.15.0 [INFO] [stderr] Checking ferrite-session v0.2.0 [INFO] [stderr] Checking ferrite-tutorial v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/bin/10_dining_philosophers.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::sleep` [INFO] [stdout] --> src/bin/10_dining_philosophers.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nickel2` [INFO] [stdout] --> src/bin/03_coin_exchange.rs:89:47 [INFO] [stdout] | [INFO] [stdout] 89 | include_session(forge_nickel(), move |nickel2| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nickel2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nickel1` [INFO] [stdout] --> src/bin/03_coin_exchange.rs:88:45 [INFO] [stdout] | [INFO] [stdout] 88 | include_session(forge_nickel(), move |nickel1| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nickel1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vending_machine` [INFO] [stdout] --> src/bin/03_coin_exchange.rs:87:46 [INFO] [stdout] | [INFO] [stdout] 87 | include_session(vending_machine(), move |vending_machine| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vending_machine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coin_exchange` [INFO] [stdout] --> src/bin/03_coin_exchange.rs:86:42 [INFO] [stdout] | [INFO] [stdout] 86 | include_session(coin_exchange(), move |coin_exchange| { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coin_exchange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Adder` [INFO] [stdout] --> src/bin/02_adder.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / type Adder = [INFO] [stdout] 22 | | ReceiveValue>>; [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `adder_provider` [INFO] [stdout] --> src/bin/02_adder.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn adder_provider() -> Session { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `adder_client` [INFO] [stdout] --> src/bin/02_adder.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn adder_client() -> Session> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/bin/08_queue.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | fn elem(val: String) -> Session> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nickel2` [INFO] [stdout] --> src/bin/03_coin_exchange.rs:89:47 [INFO] [stdout] | [INFO] [stdout] 89 | include_session(forge_nickel(), move |nickel2| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nickel2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nickel1` [INFO] [stdout] --> src/bin/03_coin_exchange.rs:88:45 [INFO] [stdout] | [INFO] [stdout] 88 | include_session(forge_nickel(), move |nickel1| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nickel1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vending_machine` [INFO] [stdout] --> src/bin/03_coin_exchange.rs:87:46 [INFO] [stdout] | [INFO] [stdout] 87 | include_session(vending_machine(), move |vending_machine| { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vending_machine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coin_exchange` [INFO] [stdout] --> src/bin/03_coin_exchange.rs:86:42 [INFO] [stdout] | [INFO] [stdout] 86 | include_session(coin_exchange(), move |coin_exchange| { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coin_exchange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `elem` [INFO] [stdout] --> src/bin/08_queue.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn elem(val: String) -> Session> [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actual_pin` [INFO] [stdout] --> src/bin/07_rec_atm.rs:150:3 [INFO] [stdout] | [INFO] [stdout] 150 | actual_pin: Pin, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actual_pin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attempts` [INFO] [stdout] --> src/bin/07_rec_atm.rs:151:3 [INFO] [stdout] | [INFO] [stdout] 151 | attempts: u8, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attempts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `balance` [INFO] [stdout] --> src/bin/07_rec_atm.rs:152:3 [INFO] [stdout] | [INFO] [stdout] 152 | balance: u64, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pin` [INFO] [stdout] --> src/bin/07_rec_atm.rs:158:3 [INFO] [stdout] | [INFO] [stdout] 158 | pin: Pin, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `withdraw_amount` [INFO] [stdout] --> src/bin/07_rec_atm.rs:159:3 [INFO] [stdout] | [INFO] [stdout] 159 | withdraw_amount: CashAmount, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_withdraw_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/bin/10_dining_philosophers.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current` [INFO] [stdout] --> src/bin/06_rec_calculator.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | fn calculator_provider(current: f64) -> Session { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/06_rec_calculator.rs:66:3 [INFO] [stdout] | [INFO] [stdout] 66 | x: f64, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/bin/06_rec_calculator.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | y: f64, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/bin/06_rec_calculator.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 68 | z: f64, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::sleep` [INFO] [stdout] --> src/bin/10_dining_philosophers.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_RETRY` [INFO] [stdout] --> src/bin/07_rec_atm.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | const MAX_RETRY: u8 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `amount` [INFO] [stdout] --> src/bin/07_rec_atm.rs:126:3 [INFO] [stdout] | [INFO] [stdout] 126 | amount: CashAmount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `forge_cash` [INFO] [stdout] --> src/bin/07_rec_atm.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn forge_cash(amount: u64) -> Session { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `spend_cash` [INFO] [stdout] --> src/bin/07_rec_atm.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn spend_cash() -> Session> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c2` [INFO] [stdout] --> src/bin/04_simple_calculator.rs:37:50 [INFO] [stdout] | [INFO] [stdout] 37 | include_session(calculator_provider(), move |c2| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c1` [INFO] [stdout] --> src/bin/04_simple_calculator.rs:36:48 [INFO] [stdout] | [INFO] [stdout] 36 | include_session(calculator_provider(), move |c1| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actual_pin` [INFO] [stdout] --> src/bin/07_rec_atm.rs:150:3 [INFO] [stdout] | [INFO] [stdout] 150 | actual_pin: Pin, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actual_pin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attempts` [INFO] [stdout] --> src/bin/07_rec_atm.rs:151:3 [INFO] [stdout] | [INFO] [stdout] 151 | attempts: u8, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attempts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `balance` [INFO] [stdout] --> src/bin/07_rec_atm.rs:152:3 [INFO] [stdout] | [INFO] [stdout] 152 | balance: u64, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pin` [INFO] [stdout] --> src/bin/07_rec_atm.rs:158:3 [INFO] [stdout] | [INFO] [stdout] 158 | pin: Pin, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `withdraw_amount` [INFO] [stdout] --> src/bin/07_rec_atm.rs:159:3 [INFO] [stdout] | [INFO] [stdout] 159 | withdraw_amount: CashAmount, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_withdraw_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/bin/10_dining_philosophers.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | fn fork(id: u8) -> SharedSession { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actual_pin` [INFO] [stdout] --> src/bin/05_simple_atm.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | fn atm_provider(actual_pin: Pin, balance: u64) -> Session { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actual_pin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `balance` [INFO] [stdout] --> src/bin/05_simple_atm.rs:109:34 [INFO] [stdout] | [INFO] [stdout] 109 | fn atm_provider(actual_pin: Pin, balance: u64) -> Session { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pin` [INFO] [stdout] --> src/bin/05_simple_atm.rs:114:3 [INFO] [stdout] | [INFO] [stdout] 114 | pin: Pin, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `withdraw_amount` [INFO] [stdout] --> src/bin/05_simple_atm.rs:115:3 [INFO] [stdout] | [INFO] [stdout] 115 | withdraw_amount: CashAmount, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_withdraw_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/bin/10_dining_philosophers.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 78 | id: u8, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/bin/10_dining_philosophers.rs:79:3 [INFO] [stdout] | [INFO] [stdout] 79 | left: SharedChannel, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/bin/10_dining_philosophers.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | right: SharedChannel, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/bin/10_dining_philosophers.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | fn fork(id: u8) -> SharedSession { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/bin/10_dining_philosophers.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 78 | id: u8, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current` [INFO] [stdout] --> src/bin/06_rec_calculator.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | fn calculator_provider(current: f64) -> Session { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left` [INFO] [stdout] --> src/bin/10_dining_philosophers.rs:79:3 [INFO] [stdout] | [INFO] [stdout] 79 | left: SharedChannel, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/bin/06_rec_calculator.rs:66:3 [INFO] [stdout] | [INFO] [stdout] 66 | x: f64, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/bin/06_rec_calculator.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | y: f64, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right` [INFO] [stdout] --> src/bin/10_dining_philosophers.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | right: SharedChannel, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/bin/06_rec_calculator.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 68 | z: f64, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `amount` [INFO] [stdout] --> src/bin/05_simple_atm.rs:86:3 [INFO] [stdout] | [INFO] [stdout] 86 | amount: CashAmount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `forge_cash` [INFO] [stdout] --> src/bin/05_simple_atm.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn forge_cash(amount: u64) -> Session { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `spend_cash` [INFO] [stdout] --> src/bin/05_simple_atm.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn spend_cash() -> Session> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAX_RETRY` [INFO] [stdout] --> src/bin/07_rec_atm.rs:109:1 [INFO] [stdout] | [INFO] [stdout] 109 | const MAX_RETRY: u8 = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `amount` [INFO] [stdout] --> src/bin/07_rec_atm.rs:126:3 [INFO] [stdout] | [INFO] [stdout] 126 | amount: CashAmount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `forge_cash` [INFO] [stdout] --> src/bin/07_rec_atm.rs:131:4 [INFO] [stdout] | [INFO] [stdout] 131 | fn forge_cash(amount: u64) -> Session { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `spend_cash` [INFO] [stdout] --> src/bin/07_rec_atm.rs:140:4 [INFO] [stdout] | [INFO] [stdout] 140 | fn spend_cash() -> Session> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c2` [INFO] [stdout] --> src/bin/04_simple_calculator.rs:37:50 [INFO] [stdout] | [INFO] [stdout] 37 | include_session(calculator_provider(), move |c2| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c1` [INFO] [stdout] --> src/bin/04_simple_calculator.rs:36:48 [INFO] [stdout] | [INFO] [stdout] 36 | include_session(calculator_provider(), move |c1| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Adder` [INFO] [stdout] --> src/bin/02_adder.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / type Adder = [INFO] [stdout] 22 | | ReceiveValue>>; [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `adder_provider` [INFO] [stdout] --> src/bin/02_adder.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn adder_provider() -> Session { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `adder_client` [INFO] [stdout] --> src/bin/02_adder.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn adder_client() -> Session> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val1` [INFO] [stdout] --> src/bin/09_shared_queue.rs:73:3 [INFO] [stdout] | [INFO] [stdout] 73 | val1: String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tail` [INFO] [stdout] --> src/bin/09_shared_queue.rs:74:3 [INFO] [stdout] | [INFO] [stdout] 74 | tail: SharedChannel, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/bin/09_shared_queue.rs:81:3 [INFO] [stdout] | [INFO] [stdout] 81 | queue: SharedChannel, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/bin/09_shared_queue.rs:82:3 [INFO] [stdout] | [INFO] [stdout] 82 | val: String [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/bin/09_shared_queue.rs:89:3 [INFO] [stdout] | [INFO] [stdout] 89 | queue: SharedChannel, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `head_queue` [INFO] [stdout] --> src/bin/09_shared_queue.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn head_queue( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/bin/08_queue.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | fn elem(val: String) -> Session> [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actual_pin` [INFO] [stdout] --> src/bin/05_simple_atm.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | fn atm_provider(actual_pin: Pin, balance: u64) -> Session { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actual_pin` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val1` [INFO] [stdout] --> src/bin/09_shared_queue.rs:73:3 [INFO] [stdout] | [INFO] [stdout] 73 | val1: String, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_val1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `balance` [INFO] [stdout] --> src/bin/05_simple_atm.rs:109:34 [INFO] [stdout] | [INFO] [stdout] 109 | fn atm_provider(actual_pin: Pin, balance: u64) -> Session { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_balance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pin` [INFO] [stdout] --> src/bin/05_simple_atm.rs:114:3 [INFO] [stdout] | [INFO] [stdout] 114 | pin: Pin, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `withdraw_amount` [INFO] [stdout] --> src/bin/05_simple_atm.rs:115:3 [INFO] [stdout] | [INFO] [stdout] 115 | withdraw_amount: CashAmount, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_withdraw_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tail` [INFO] [stdout] --> src/bin/09_shared_queue.rs:74:3 [INFO] [stdout] | [INFO] [stdout] 74 | tail: SharedChannel, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/bin/09_shared_queue.rs:81:3 [INFO] [stdout] | [INFO] [stdout] 81 | queue: SharedChannel, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/bin/09_shared_queue.rs:82:3 [INFO] [stdout] | [INFO] [stdout] 82 | val: String [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `queue` [INFO] [stdout] --> src/bin/09_shared_queue.rs:89:3 [INFO] [stdout] | [INFO] [stdout] 89 | queue: SharedChannel, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `head_queue` [INFO] [stdout] --> src/bin/09_shared_queue.rs:72:4 [INFO] [stdout] | [INFO] [stdout] 72 | fn head_queue( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `amount` [INFO] [stdout] --> src/bin/05_simple_atm.rs:86:3 [INFO] [stdout] | [INFO] [stdout] 86 | amount: CashAmount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `forge_cash` [INFO] [stdout] --> src/bin/05_simple_atm.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn forge_cash(amount: u64) -> Session { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `spend_cash` [INFO] [stdout] --> src/bin/05_simple_atm.rs:100:4 [INFO] [stdout] | [INFO] [stdout] 100 | fn spend_cash() -> Session> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `elem` [INFO] [stdout] --> src/bin/08_queue.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn elem(val: String) -> Session> [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 31.99s [INFO] running `Command { std: "docker" "inspect" "a1ae9adc9b817f7a519c5051492fe22130333702a7c168a88002d5f0e801fb98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1ae9adc9b817f7a519c5051492fe22130333702a7c168a88002d5f0e801fb98", kill_on_drop: false }` [INFO] [stdout] a1ae9adc9b817f7a519c5051492fe22130333702a7c168a88002d5f0e801fb98