[INFO] cloning repository https://github.com/chc4/twist [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chc4/twist" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchc4%2Ftwist", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchc4%2Ftwist'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6ebbf6c10beccee8dd1624385a0919f6344c844d [INFO] checking chc4/twist against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchc4%2Ftwist" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chc4/twist on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chc4/twist [INFO] finished tweaking git repo https://github.com/chc4/twist [INFO] tweaked toml for git repo https://github.com/chc4/twist written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/chc4/twist already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-12/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded linkme-impl v0.2.5 [INFO] [stderr] Downloaded linkme v0.2.5 [INFO] [stderr] Downloaded ramp v0.5.9 [INFO] [stderr] Downloaded rustc-cfg v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc0a465f958130999e1b9b6c81bc186675ce532eff1a44f88d2bf962e3bda192 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bc0a465f958130999e1b9b6c81bc186675ce532eff1a44f88d2bf962e3bda192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc0a465f958130999e1b9b6c81bc186675ce532eff1a44f88d2bf962e3bda192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc0a465f958130999e1b9b6c81bc186675ce532eff1a44f88d2bf962e3bda192", kill_on_drop: false }` [INFO] [stdout] bc0a465f958130999e1b9b6c81bc186675ce532eff1a44f88d2bf962e3bda192 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d2ffdfcfa7a57d19b2825b98a2a596f588da1e620eb0a56e25528c4ac2b7873 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1d2ffdfcfa7a57d19b2825b98a2a596f588da1e620eb0a56e25528c4ac2b7873", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling rustc-cfg v0.2.0 [INFO] [stderr] Checking hamming v0.1.3 [INFO] [stderr] Checking ieee754 v0.2.6 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling ramp v0.5.9 [INFO] [stderr] Compiling linkme-impl v0.2.5 [INFO] [stderr] Checking linkme v0.2.5 [INFO] [stderr] Checking twist v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `skew` [INFO] [stdout] --> src/jets.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use skew; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Jet` [INFO] [stdout] --> src/turboprop.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use jets::{Jet, Jetted}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/main.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / macro_rules! flip { [INFO] [stdout] 65 | | ([] $($reversed:pat)*) => { [INFO] [stdout] 66 | | [$($reversed),*] // base case [INFO] [stdout] 67 | | }; [INFO] [stdout] ... | [INFO] [stdout] 73 | | }; [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/lambda.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Jet` [INFO] [stdout] --> src/lambda.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use Jet; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jets::call` [INFO] [stdout] --> src/lambda.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use jets::call; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `If`, `Mul` [INFO] [stdout] --> src/lambda.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | use jets::{Mul, If}; [INFO] [stdout] | ^^^ ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jets::jet` [INFO] [stdout] --> src/lambda.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use jets::jet; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `turboprop` is imported redundantly [INFO] [stdout] --> src/lambda.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 15 | use turboprop; [INFO] [stdout] | --------- the item `turboprop` is already imported here [INFO] [stdout] ... [INFO] [stdout] 115 | use turboprop; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lambda::*` [INFO] [stdout] --> src/main.rs:324:5 [INFO] [stdout] | [INFO] [stdout] 324 | use lambda::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LTerm`, `Lambda` [INFO] [stdout] --> src/main.rs:325:14 [INFO] [stdout] | [INFO] [stdout] 325 | use lambda::{Lambda, LTerm}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Skew::*` [INFO] [stdout] --> src/main.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | use crate::Skew::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Twist::*` [INFO] [stdout] --> src/main.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | use crate::Twist::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Twist` [INFO] [stdout] --> src/main.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | use crate::Twist; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Jet` [INFO] [stdout] --> src/main.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | use crate::Jet; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Jet` [INFO] [stdout] --> src/turboprop.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use jets::{Jet, Jetted}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::cons` [INFO] [stdout] --> src/main.rs:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | use crate::cons; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/main.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / macro_rules! flip { [INFO] [stdout] 65 | | ([] $($reversed:pat)*) => { [INFO] [stdout] 66 | | [$($reversed),*] // base case [INFO] [stdout] 67 | | }; [INFO] [stdout] ... | [INFO] [stdout] 73 | | }; [INFO] [stdout] 74 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Jet` [INFO] [stdout] --> src/lambda.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use Jet; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `jets::call` [INFO] [stdout] --> src/lambda.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use jets::call; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `If` [INFO] [stdout] --> src/lambda.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | use jets::{Mul, If}; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `turboprop` is imported redundantly [INFO] [stdout] --> src/lambda.rs:115:25 [INFO] [stdout] | [INFO] [stdout] 15 | use turboprop; [INFO] [stdout] | --------- the item `turboprop` is already imported here [INFO] [stdout] ... [INFO] [stdout] 115 | use turboprop; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lambda::*` [INFO] [stdout] --> src/main.rs:324:5 [INFO] [stdout] | [INFO] [stdout] 324 | use lambda::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LTerm`, `Lambda` [INFO] [stdout] --> src/main.rs:325:14 [INFO] [stdout] | [INFO] [stdout] 325 | use lambda::{Lambda, LTerm}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Jet` [INFO] [stdout] --> src/main.rs:337:9 [INFO] [stdout] | [INFO] [stdout] 337 | use crate::Jet; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:225:29 [INFO] [stdout] | [INFO] [stdout] 224 | ... panic!("wtf"); [INFO] [stdout] | -------------- any code following this expression is unreachable [INFO] [stdout] 225 | ... let v = vec![n]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:225:29 [INFO] [stdout] | [INFO] [stdout] 224 | ... panic!("wtf"); [INFO] [stdout] | -------------- any code following this expression is unreachable [INFO] [stdout] 225 | ... let v = vec![n]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:158:23 [INFO] [stdout] | [INFO] [stdout] 158 | [Expr(e), ..] => { panic!("unreduced head") }, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/jets.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | fn eq(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unjetted` [INFO] [stdout] --> src/turboprop.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | unjetted @ _ => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unjetted` [INFO] [stdout] ... [INFO] [stdout] 67 | / turboprop!( [INFO] [stdout] 68 | | (1, STATIC_DEC, TURBO_DEC, jets::Dec, jets::Dec), [INFO] [stdout] 69 | | (2, STATIC_ADD, TURBO_ADD, jets::Add, jets::Add), [INFO] [stdout] 70 | | (2, STATIC_MUL, TURBO_MUL, jets::Mul, jets::Mul), [INFO] [stdout] 71 | | (3, STATIC_C, TURBO_C, lambda::C, lambda::C), [INFO] [stdout] 72 | | (3, STATIC_B, TURBO_B, lambda::B, lambda::B) [INFO] [stdout] 73 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lambda.rs:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | Lambda::Func(y, body2) if body2.free(x) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lambda.rs:108:64 [INFO] [stdout] | [INFO] [stdout] 108 | Lambda::App(mut e, box Lambda::Term(LTerm::Var(y))) if !e.free(x) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | fn cook(mut self) -> Self { [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:256:29 [INFO] [stdout] | [INFO] [stdout] 256 | let mut n = n.reduce().unwrap_or(n.clone()); [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:257:29 [INFO] [stdout] | [INFO] [stdout] 257 | let mut m = m.reduce().unwrap_or(m.clone()); [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:164:29 [INFO] [stdout] | [INFO] [stdout] 164 | let mut v = cons(v); [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:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | let mut yz = cons(yz); [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:180:25 [INFO] [stdout] | [INFO] [stdout] 180 | let mut s = cons(s); [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:184:25 [INFO] [stdout] | [INFO] [stdout] 184 | let mut arity = n; [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:220:25 [INFO] [stdout] | [INFO] [stdout] 220 | let mut n = n.reduce().unwrap_or(n.clone()); [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:236:25 [INFO] [stdout] | [INFO] [stdout] 236 | let mut n = n.reduce().unwrap_or(n.clone()); [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:237:25 [INFO] [stdout] | [INFO] [stdout] 237 | let mut e = e.reduce().unwrap_or(e.clone()); [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:243:33 [INFO] [stdout] | [INFO] [stdout] 243 | ... let mut r = cons(r); [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:247:33 [INFO] [stdout] | [INFO] [stdout] 247 | ... let mut r = e[s].clone(); [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/jets.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut x = vec![N(E), N(A(Rc::new(j.arity()))), J(Jet(Rc::new(j)))]; [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/jets.rs:44:40 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn call(j: T, mut args: Twist) -> Twist { [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/jets.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | if let Expr(mut v) = args { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:158:23 [INFO] [stdout] | [INFO] [stdout] 158 | [Expr(e), ..] => { panic!("unreduced head") }, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/jets.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | fn eq(&self, other: &Self) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unjetted` [INFO] [stdout] --> src/turboprop.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | unjetted @ _ => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unjetted` [INFO] [stdout] ... [INFO] [stdout] 67 | / turboprop!( [INFO] [stdout] 68 | | (1, STATIC_DEC, TURBO_DEC, jets::Dec, jets::Dec), [INFO] [stdout] 69 | | (2, STATIC_ADD, TURBO_ADD, jets::Add, jets::Add), [INFO] [stdout] 70 | | (2, STATIC_MUL, TURBO_MUL, jets::Mul, jets::Mul), [INFO] [stdout] 71 | | (3, STATIC_C, TURBO_C, lambda::C, lambda::C), [INFO] [stdout] 72 | | (3, STATIC_B, TURBO_B, lambda::B, lambda::B) [INFO] [stdout] 73 | | ); [INFO] [stdout] | |__- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lambda.rs:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | Lambda::Func(y, body2) if body2.free(x) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/lambda.rs:108:64 [INFO] [stdout] | [INFO] [stdout] 108 | Lambda::App(mut e, box Lambda::Term(LTerm::Var(y))) if !e.free(x) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:394:13 [INFO] [stdout] | [INFO] [stdout] 394 | for i in 0..6 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | fn cook(mut self) -> Self { [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:256:29 [INFO] [stdout] | [INFO] [stdout] 256 | let mut n = n.reduce().unwrap_or(n.clone()); [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:257:29 [INFO] [stdout] | [INFO] [stdout] 257 | let mut m = m.reduce().unwrap_or(m.clone()); [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:164:29 [INFO] [stdout] | [INFO] [stdout] 164 | let mut v = cons(v); [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:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | let mut yz = cons(yz); [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:180:25 [INFO] [stdout] | [INFO] [stdout] 180 | let mut s = cons(s); [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:184:25 [INFO] [stdout] | [INFO] [stdout] 184 | let mut arity = n; [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:220:25 [INFO] [stdout] | [INFO] [stdout] 220 | let mut n = n.reduce().unwrap_or(n.clone()); [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:236:25 [INFO] [stdout] | [INFO] [stdout] 236 | let mut n = n.reduce().unwrap_or(n.clone()); [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:237:25 [INFO] [stdout] | [INFO] [stdout] 237 | let mut e = e.reduce().unwrap_or(e.clone()); [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:243:33 [INFO] [stdout] | [INFO] [stdout] 243 | ... let mut r = cons(r); [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:247:33 [INFO] [stdout] | [INFO] [stdout] 247 | ... let mut r = e[s].clone(); [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/jets.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | let mut x = vec![N(E), N(A(Rc::new(j.arity()))), J(Jet(Rc::new(j)))]; [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/jets.rs:44:40 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn call(j: T, mut args: Twist) -> Twist { [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/jets.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | if let Expr(mut v) = args { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lambda.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | let mut twist_if = _if.transform().open(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.11s [INFO] running `Command { std: "docker" "inspect" "1d2ffdfcfa7a57d19b2825b98a2a596f588da1e620eb0a56e25528c4ac2b7873", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d2ffdfcfa7a57d19b2825b98a2a596f588da1e620eb0a56e25528c4ac2b7873", kill_on_drop: false }` [INFO] [stdout] 1d2ffdfcfa7a57d19b2825b98a2a596f588da1e620eb0a56e25528c4ac2b7873