[INFO] cloning repository https://github.com/stwen77/interpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stwen77/interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstwen77%2Finterpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstwen77%2Finterpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6f29cecd76e3d05ffac6be9e9ef6e26b78af63cc [INFO] checking stwen77/interpreter against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstwen77%2Finterpreter" "/workspace/builds/worker-50/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-50/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stwen77/interpreter on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/stwen77/interpreter [INFO] finished tweaking git repo https://github.com/stwen77/interpreter [INFO] tweaked toml for git repo https://github.com/stwen77/interpreter written to /workspace/builds/worker-50/source/Cargo.toml [INFO] crate git repo https://github.com/stwen77/interpreter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20d125157b93b391c6a7dd1672cec2d9870976f3901444cdec621bb7a97ec498 [INFO] running `Command { std: "docker" "start" "-a" "20d125157b93b391c6a7dd1672cec2d9870976f3901444cdec621bb7a97ec498", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20d125157b93b391c6a7dd1672cec2d9870976f3901444cdec621bb7a97ec498", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20d125157b93b391c6a7dd1672cec2d9870976f3901444cdec621bb7a97ec498", kill_on_drop: false }` [INFO] [stdout] 20d125157b93b391c6a7dd1672cec2d9870976f3901444cdec621bb7a97ec498 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 739c97c8af1fcfa45e980b2fce6b43a3fcee58b45c1e1c7dd237a1be2b549938 [INFO] running `Command { std: "docker" "start" "-a" "739c97c8af1fcfa45e980b2fce6b43a3fcee58b45c1e1c7dd237a1be2b549938", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking interpreter v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/module/any.rs (12 fixes) [INFO] [stderr] Fixed src/main.rs (3 fixes) [INFO] [stderr] Fixed src/module/parser.rs (9 fixes) [INFO] [stderr] Fixed src/module/engine.rs (43 fixes) [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/module/parser.rs:383:23 [INFO] [stdout] | [INFO] [stdout] 383 | let lhs = r#try!(parse_unary(input)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/module/parser.rs:420:27 [INFO] [stdout] | [INFO] [stdout] 420 | let mut rhs = r#try!(parse_unary(input)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/module/parser.rs:429:23 [INFO] [stdout] | [INFO] [stdout] 429 | rhs = r#try!(parse_binary_operation(input, curr_prec + 1, rhs)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/module/parser.rs:432:23 [INFO] [stdout] | [INFO] [stdout] 432 | rhs = r#try!(parse_binary_operation(input, curr_prec, rhs)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/module/parser.rs:383:23 [INFO] [stdout] | [INFO] [stdout] 383 | let lhs = r#try!(parse_unary(input)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/module/parser.rs:420:27 [INFO] [stdout] | [INFO] [stdout] 420 | let mut rhs = r#try!(parse_unary(input)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/module/parser.rs:429:23 [INFO] [stdout] | [INFO] [stdout] 429 | rhs = r#try!(parse_binary_operation(input, curr_prec + 1, rhs)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/module/parser.rs:432:23 [INFO] [stdout] | [INFO] [stdout] 432 | rhs = r#try!(parse_binary_operation(input, curr_prec, rhs)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/module/engine.rs:378:33 [INFO] [stdout] | [INFO] [stdout] 378 | ... Err(x) => return Err(x), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/module/engine.rs:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | Err(x) => return Err(x), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/module/engine.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | _ => Err(()), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/module/engine.rs:436:25 [INFO] [stdout] | [INFO] [stdout] 436 | let mut x: Result, ()> = Ok(Box::new(())); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/module/engine.rs:378:33 [INFO] [stdout] | [INFO] [stdout] 378 | ... Err(x) => return Err(x), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/module/engine.rs:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | Err(x) => return Err(x), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/module/engine.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | _ => Err(()), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/module/engine.rs:436:25 [INFO] [stdout] | [INFO] [stdout] 436 | let mut x: Result, ()> = Ok(Box::new(())); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `box_clone` [INFO] [stdout] --> src/module/any.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn box_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TempStub` [INFO] [stdout] --> src/module/parser.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | TempStub, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CharConst` [INFO] [stdout] --> src/module/parser.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | CharConst(char), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Divide` [INFO] [stdout] --> src/module/parser.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | Divide, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DivideAssign` [INFO] [stdout] --> src/module/parser.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | DivideAssign, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | engine_vm.call_fn("test".to_string(), vec![&mut a, &mut b, &mut c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | engine_vm.eval_file::<()>(&fname); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/module/engine.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / self.functions [INFO] [stdout] 49 | | .get(&spec) [INFO] [stdout] 50 | | .ok_or(()) [INFO] [stdout] 51 | | .and_then(move |f| match **f { [INFO] [stdout] 52 | | FnIntExt::Ext(ref f) => f(args), [INFO] [stdout] 53 | | FnIntExt::Int(ref _f) => Err(()), [INFO] [stdout] 54 | | }); [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/module/engine.rs:421:17 [INFO] [stdout] | [INFO] [stdout] 421 | self.eval::(&mut contents); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/module/engine.rs:610:17 [INFO] [stdout] | [INFO] [stdout] 610 | let P = ((*drain.next().unwrap()).downcast_mut() as Option<&mut P>).ok_or(())?; [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/module/engine.rs:611:17 [INFO] [stdout] | [INFO] [stdout] 611 | let Q = ((*drain.next().unwrap()).downcast_mut() as Option<&mut Q>).ok_or(())?; [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/module/engine.rs:612:17 [INFO] [stdout] | [INFO] [stdout] 612 | let R = ((*drain.next().unwrap()).downcast_mut() as Option<&mut R>).ok_or(())?; [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/module/engine.rs:637:17 [INFO] [stdout] | [INFO] [stdout] 637 | let P = ((*drain.next().unwrap()).downcast_mut() as Option<&mut P>).ok_or(())?; [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/module/engine.rs:638:17 [INFO] [stdout] | [INFO] [stdout] 638 | let Q = ((*drain.next().unwrap()).downcast_mut() as Option<&mut Q>).ok_or(())?; [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/module/engine.rs:658:17 [INFO] [stdout] | [INFO] [stdout] 658 | let P = ((*drain.next().unwrap()).downcast_mut() as Option<&mut P>).ok_or(())?; [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `box_clone` [INFO] [stdout] --> src/module/any.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn box_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TempStub` [INFO] [stdout] --> src/module/parser.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | TempStub, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CharConst` [INFO] [stdout] --> src/module/parser.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | CharConst(char), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Divide` [INFO] [stdout] --> src/module/parser.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | Divide, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DivideAssign` [INFO] [stdout] --> src/module/parser.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | DivideAssign, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | engine_vm.call_fn("test".to_string(), vec![&mut a, &mut b, &mut c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | engine_vm.eval_file::<()>(&fname); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/module/engine.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / self.functions [INFO] [stdout] 49 | | .get(&spec) [INFO] [stdout] 50 | | .ok_or(()) [INFO] [stdout] 51 | | .and_then(move |f| match **f { [INFO] [stdout] 52 | | FnIntExt::Ext(ref f) => f(args), [INFO] [stdout] 53 | | FnIntExt::Int(ref _f) => Err(()), [INFO] [stdout] 54 | | }); [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/module/engine.rs:421:17 [INFO] [stdout] | [INFO] [stdout] 421 | self.eval::(&mut contents); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/module/engine.rs:610:17 [INFO] [stdout] | [INFO] [stdout] 610 | let P = ((*drain.next().unwrap()).downcast_mut() as Option<&mut P>).ok_or(())?; [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/module/engine.rs:611:17 [INFO] [stdout] | [INFO] [stdout] 611 | let Q = ((*drain.next().unwrap()).downcast_mut() as Option<&mut Q>).ok_or(())?; [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/module/engine.rs:612:17 [INFO] [stdout] | [INFO] [stdout] 612 | let R = ((*drain.next().unwrap()).downcast_mut() as Option<&mut R>).ok_or(())?; [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/module/engine.rs:637:17 [INFO] [stdout] | [INFO] [stdout] 637 | let P = ((*drain.next().unwrap()).downcast_mut() as Option<&mut P>).ok_or(())?; [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/module/engine.rs:638:17 [INFO] [stdout] | [INFO] [stdout] 638 | let Q = ((*drain.next().unwrap()).downcast_mut() as Option<&mut Q>).ok_or(())?; [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/module/engine.rs:658:17 [INFO] [stdout] | [INFO] [stdout] 658 | let P = ((*drain.next().unwrap()).downcast_mut() as Option<&mut P>).ok_or(())?; [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.82s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking interpreter v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/module/parser.rs:383:23 [INFO] [stdout] | [INFO] [stdout] 383 | let lhs = r#try!(parse_unary(input)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/module/parser.rs:420:27 [INFO] [stdout] | [INFO] [stdout] 420 | let mut rhs = r#try!(parse_unary(input)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/module/parser.rs:429:23 [INFO] [stdout] | [INFO] [stdout] 429 | rhs = r#try!(parse_binary_operation(input, curr_prec + 1, rhs)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/module/parser.rs:432:23 [INFO] [stdout] | [INFO] [stdout] 432 | rhs = r#try!(parse_binary_operation(input, curr_prec, rhs)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/module/parser.rs:383:23 [INFO] [stdout] | [INFO] [stdout] 383 | let lhs = r#try!(parse_unary(input)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/module/parser.rs:420:27 [INFO] [stdout] | [INFO] [stdout] 420 | let mut rhs = r#try!(parse_unary(input)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/module/parser.rs:429:23 [INFO] [stdout] | [INFO] [stdout] 429 | rhs = r#try!(parse_binary_operation(input, curr_prec + 1, rhs)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/module/parser.rs:432:23 [INFO] [stdout] | [INFO] [stdout] 432 | rhs = r#try!(parse_binary_operation(input, curr_prec, rhs)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/module/engine.rs:378:33 [INFO] [stdout] | [INFO] [stdout] 378 | ... Err(x) => return Err(x), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/module/engine.rs:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | Err(x) => return Err(x), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/module/engine.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | _ => Err(()), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/module/engine.rs:436:25 [INFO] [stdout] | [INFO] [stdout] 436 | let mut x: Result, ()> = Ok(Box::new(())); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/module/engine.rs:378:33 [INFO] [stdout] | [INFO] [stdout] 378 | ... Err(x) => return Err(x), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/module/engine.rs:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | Err(x) => return Err(x), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/module/engine.rs:411:13 [INFO] [stdout] | [INFO] [stdout] 411 | _ => Err(()), [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `x` is never read [INFO] [stdout] --> src/module/engine.rs:436:25 [INFO] [stdout] | [INFO] [stdout] 436 | let mut x: Result, ()> = Ok(Box::new(())); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `box_clone` [INFO] [stdout] --> src/module/any.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn box_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TempStub` [INFO] [stdout] --> src/module/parser.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | TempStub, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CharConst` [INFO] [stdout] --> src/module/parser.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | CharConst(char), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Divide` [INFO] [stdout] --> src/module/parser.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | Divide, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DivideAssign` [INFO] [stdout] --> src/module/parser.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | DivideAssign, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | engine_vm.call_fn("test".to_string(), vec![&mut a, &mut b, &mut c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | engine_vm.eval_file::<()>(&fname); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/module/engine.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / self.functions [INFO] [stdout] 49 | | .get(&spec) [INFO] [stdout] 50 | | .ok_or(()) [INFO] [stdout] 51 | | .and_then(move |f| match **f { [INFO] [stdout] 52 | | FnIntExt::Ext(ref f) => f(args), [INFO] [stdout] 53 | | FnIntExt::Int(ref _f) => Err(()), [INFO] [stdout] 54 | | }); [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/module/engine.rs:421:17 [INFO] [stdout] | [INFO] [stdout] 421 | self.eval::(&mut contents); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/module/engine.rs:610:17 [INFO] [stdout] | [INFO] [stdout] 610 | let P = ((*drain.next().unwrap()).downcast_mut() as Option<&mut P>).ok_or(())?; [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/module/engine.rs:611:17 [INFO] [stdout] | [INFO] [stdout] 611 | let Q = ((*drain.next().unwrap()).downcast_mut() as Option<&mut Q>).ok_or(())?; [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/module/engine.rs:612:17 [INFO] [stdout] | [INFO] [stdout] 612 | let R = ((*drain.next().unwrap()).downcast_mut() as Option<&mut R>).ok_or(())?; [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/module/engine.rs:637:17 [INFO] [stdout] | [INFO] [stdout] 637 | let P = ((*drain.next().unwrap()).downcast_mut() as Option<&mut P>).ok_or(())?; [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/module/engine.rs:638:17 [INFO] [stdout] | [INFO] [stdout] 638 | let Q = ((*drain.next().unwrap()).downcast_mut() as Option<&mut Q>).ok_or(())?; [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/module/engine.rs:658:17 [INFO] [stdout] | [INFO] [stdout] 658 | let P = ((*drain.next().unwrap()).downcast_mut() as Option<&mut P>).ok_or(())?; [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `box_clone` [INFO] [stdout] --> src/module/any.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn box_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `TempStub` [INFO] [stdout] --> src/module/parser.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | TempStub, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `CharConst` [INFO] [stdout] --> src/module/parser.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | CharConst(char), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Divide` [INFO] [stdout] --> src/module/parser.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | Divide, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `DivideAssign` [INFO] [stdout] --> src/module/parser.rs:91:5 [INFO] [stdout] | [INFO] [stdout] 91 | DivideAssign, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | engine_vm.call_fn("test".to_string(), vec![&mut a, &mut b, &mut c]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | engine_vm.eval_file::<()>(&fname); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/module/engine.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | / self.functions [INFO] [stdout] 49 | | .get(&spec) [INFO] [stdout] 50 | | .ok_or(()) [INFO] [stdout] 51 | | .and_then(move |f| match **f { [INFO] [stdout] 52 | | FnIntExt::Ext(ref f) => f(args), [INFO] [stdout] 53 | | FnIntExt::Int(ref _f) => Err(()), [INFO] [stdout] 54 | | }); [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/module/engine.rs:421:17 [INFO] [stdout] | [INFO] [stdout] 421 | self.eval::(&mut contents); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/module/engine.rs:610:17 [INFO] [stdout] | [INFO] [stdout] 610 | let P = ((*drain.next().unwrap()).downcast_mut() as Option<&mut P>).ok_or(())?; [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/module/engine.rs:611:17 [INFO] [stdout] | [INFO] [stdout] 611 | let Q = ((*drain.next().unwrap()).downcast_mut() as Option<&mut Q>).ok_or(())?; [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/module/engine.rs:612:17 [INFO] [stdout] | [INFO] [stdout] 612 | let R = ((*drain.next().unwrap()).downcast_mut() as Option<&mut R>).ok_or(())?; [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/module/engine.rs:637:17 [INFO] [stdout] | [INFO] [stdout] 637 | let P = ((*drain.next().unwrap()).downcast_mut() as Option<&mut P>).ok_or(())?; [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Q` should have a snake case name [INFO] [stdout] --> src/module/engine.rs:638:17 [INFO] [stdout] | [INFO] [stdout] 638 | let Q = ((*drain.next().unwrap()).downcast_mut() as Option<&mut Q>).ok_or(())?; [INFO] [stdout] | ^ help: convert the identifier to snake case: `q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `P` should have a snake case name [INFO] [stdout] --> src/module/engine.rs:658:17 [INFO] [stdout] | [INFO] [stdout] 658 | let P = ((*drain.next().unwrap()).downcast_mut() as Option<&mut P>).ok_or(())?; [INFO] [stdout] | ^ help: convert the identifier to snake case: `p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 23 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.68s [INFO] running `Command { std: "docker" "inspect" "739c97c8af1fcfa45e980b2fce6b43a3fcee58b45c1e1c7dd237a1be2b549938", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "739c97c8af1fcfa45e980b2fce6b43a3fcee58b45c1e1c7dd237a1be2b549938", kill_on_drop: false }` [INFO] [stdout] 739c97c8af1fcfa45e980b2fce6b43a3fcee58b45c1e1c7dd237a1be2b549938