[INFO] cloning repository https://github.com/sunjay/logoc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sunjay/logoc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunjay%2Flogoc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunjay%2Flogoc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f866eff2854c330fbd84e6dfe467939a74805141 [INFO] checking sunjay/logoc against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunjay%2Flogoc" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sunjay/logoc [INFO] finished tweaking git repo https://github.com/sunjay/logoc [INFO] tweaked toml for git repo https://github.com/sunjay/logoc written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sunjay/logoc on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sunjay/logoc already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ec634584c8c80255774bfa92cbe5b045bcc5f8b85ff24d2d029013454521455c [INFO] running `Command { std: "docker" "start" "-a" "ec634584c8c80255774bfa92cbe5b045bcc5f8b85ff24d2d029013454521455c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ec634584c8c80255774bfa92cbe5b045bcc5f8b85ff24d2d029013454521455c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec634584c8c80255774bfa92cbe5b045bcc5f8b85ff24d2d029013454521455c", kill_on_drop: false }` [INFO] [stdout] ec634584c8c80255774bfa92cbe5b045bcc5f8b85ff24d2d029013454521455c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b855e01e471cef92a27d79e870b92649f2872ff1094a7c1ed826e8dcc159dd4 [INFO] running `Command { std: "docker" "start" "-a" "5b855e01e471cef92a27d79e870b92649f2872ff1094a7c1ed826e8dcc159dd4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking libc v0.2.36 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking ansi_term v0.10.2 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking bitflags v1.0.1 [INFO] [stderr] Checking serde v1.0.27 [INFO] [stderr] Checking quote v0.3.15 [INFO] [stderr] Checking maplit v1.0.0 [INFO] [stderr] Checking textwrap v0.9.0 [INFO] [stderr] Checking atty v0.2.6 [INFO] [stderr] Checking clap v2.29.2 [INFO] [stderr] Compiling serde_derive_internals v0.19.0 [INFO] [stderr] Compiling structopt-derive v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.27 [INFO] [stderr] Checking structopt v0.1.6 [INFO] [stderr] Checking toml v0.4.5 [INFO] [stderr] Checking logoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cargo.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Serialize, Debug)] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CargoConfig` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_CargoConfig` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cargo.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Serialize, Debug)] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Package` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Package` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cargo.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug)] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Bin` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Bin` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/codegen.rs:9:61 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn to_tokens(program: Program) -> Result { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 10 | | let stmts = program.into_iter() [INFO] [stdout] 11 | | .map(instr) [INFO] [stdout] 12 | | .collect::, _>>()?; [INFO] [stdout] ... | [INFO] [stdout] 23 | | }) [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/codegen.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | let stmts = program.into_iter() [INFO] [stdout] | _________________^ [INFO] [stdout] 11 | | .map(instr) [INFO] [stdout] 12 | | .collect::, _>>()?; [INFO] [stdout] | |________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, codegen::Error> [INFO] [stdout] --> src/codegen.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | let stmts = program.into_iter() [INFO] [stdout] | _________________^ [INFO] [stdout] 11 | | .map(instr) [INFO] [stdout] 12 | | .collect::, _>>()?; [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/codegen.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | let stmts = program.into_iter() [INFO] [stdout] | _________________^ [INFO] [stdout] 11 | | .map(instr) [INFO] [stdout] 12 | | .collect::, _>>()?; [INFO] [stdout] | |________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/codegen.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / Ok(quote! { [INFO] [stdout] 15 | | #![deny(warnings)] [INFO] [stdout] 16 | | [INFO] [stdout] 17 | | extern crate turtle; [INFO] [stdout] ... | [INFO] [stdout] 23 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/codegen.rs:26:55 [INFO] [stdout] | [INFO] [stdout] 26 | fn instr(instr: Instruction) -> Result { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 27 | | use self::Instruction::*; [INFO] [stdout] 28 | | match instr { [INFO] [stdout] 29 | | Forward(arg) => call_method("forward", arg), [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/codegen.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / match instr { [INFO] [stdout] 29 | | Forward(arg) => call_method("forward", arg), [INFO] [stdout] 30 | | Backward(arg) => call_method("backward", arg), [INFO] [stdout] 31 | | Left(arg) => call_method("left", arg), [INFO] [stdout] 32 | | Right(arg) => call_method("right", arg), [INFO] [stdout] 33 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/codegen.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | Forward(arg) => call_method("forward", arg), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/codegen.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | Backward(arg) => call_method("backward", arg), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/codegen.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | Left(arg) => call_method("left", arg), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/codegen.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | Right(arg) => call_method("right", arg), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/codegen.rs:36:67 [INFO] [stdout] | [INFO] [stdout] 36 | fn call_method(method: &str, expr: Expr) -> Result { [INFO] [stdout] | ___________________________________________________________________^ [INFO] [stdout] 37 | | let method = Ident::from(method); [INFO] [stdout] 38 | | let value = match expr { [INFO] [stdout] 39 | | Expr::Number(value) => quote! { #value }, [INFO] [stdout] ... | [INFO] [stdout] 44 | | }) [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/codegen.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / Ok(quote! { [INFO] [stdout] 43 | | _turtle.#method(#value); [INFO] [stdout] 44 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `logoc` (lib test) due to 13 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cargo.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Serialize, Debug)] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `CargoConfig` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_CargoConfig` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cargo.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(Serialize, Debug)] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Package` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Package` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/cargo.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Serialize, Debug)] [INFO] [stdout] | -^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `Bin` is not local [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Bin` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/codegen.rs:9:61 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn to_tokens(program: Program) -> Result { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 10 | | let stmts = program.into_iter() [INFO] [stdout] 11 | | .map(instr) [INFO] [stdout] 12 | | .collect::, _>>()?; [INFO] [stdout] ... | [INFO] [stdout] 23 | | }) [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, Vec> [INFO] [stdout] --> src/codegen.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | let stmts = program.into_iter() [INFO] [stdout] | _________________^ [INFO] [stdout] 11 | | .map(instr) [INFO] [stdout] 12 | | .collect::, _>>()?; [INFO] [stdout] | |________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, codegen::Error> [INFO] [stdout] --> src/codegen.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | let stmts = program.into_iter() [INFO] [stdout] | _________________^ [INFO] [stdout] 11 | | .map(instr) [INFO] [stdout] 12 | | .collect::, _>>()?; [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/codegen.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | let stmts = program.into_iter() [INFO] [stdout] | _________________^ [INFO] [stdout] 11 | | .map(instr) [INFO] [stdout] 12 | | .collect::, _>>()?; [INFO] [stdout] | |________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/codegen.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / Ok(quote! { [INFO] [stdout] 15 | | #![deny(warnings)] [INFO] [stdout] 16 | | [INFO] [stdout] 17 | | extern crate turtle; [INFO] [stdout] ... | [INFO] [stdout] 23 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/codegen.rs:26:55 [INFO] [stdout] | [INFO] [stdout] 26 | fn instr(instr: Instruction) -> Result { [INFO] [stdout] | _______________________________________________________^ [INFO] [stdout] 27 | | use self::Instruction::*; [INFO] [stdout] 28 | | match instr { [INFO] [stdout] 29 | | Forward(arg) => call_method("forward", arg), [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/codegen.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / match instr { [INFO] [stdout] 29 | | Forward(arg) => call_method("forward", arg), [INFO] [stdout] 30 | | Backward(arg) => call_method("backward", arg), [INFO] [stdout] 31 | | Left(arg) => call_method("left", arg), [INFO] [stdout] 32 | | Right(arg) => call_method("right", arg), [INFO] [stdout] 33 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/codegen.rs:29:25 [INFO] [stdout] | [INFO] [stdout] 29 | Forward(arg) => call_method("forward", arg), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/codegen.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | Backward(arg) => call_method("backward", arg), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/codegen.rs:31:22 [INFO] [stdout] | [INFO] [stdout] 31 | Left(arg) => call_method("left", arg), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/codegen.rs:32:23 [INFO] [stdout] | [INFO] [stdout] 32 | Right(arg) => call_method("right", arg), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/codegen.rs:36:67 [INFO] [stdout] | [INFO] [stdout] 36 | fn call_method(method: &str, expr: Expr) -> Result { [INFO] [stdout] | ___________________________________________________________________^ [INFO] [stdout] 37 | | let method = Ident::from(method); [INFO] [stdout] 38 | | let value = match expr { [INFO] [stdout] 39 | | Expr::Number(value) => quote! { #value }, [INFO] [stdout] ... | [INFO] [stdout] 44 | | }) [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/codegen.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | / Ok(quote! { [INFO] [stdout] 43 | | _turtle.#method(#value); [INFO] [stdout] 44 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `logoc` (lib) due to 13 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5b855e01e471cef92a27d79e870b92649f2872ff1094a7c1ed826e8dcc159dd4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b855e01e471cef92a27d79e870b92649f2872ff1094a7c1ed826e8dcc159dd4", kill_on_drop: false }` [INFO] [stdout] 5b855e01e471cef92a27d79e870b92649f2872ff1094a7c1ed826e8dcc159dd4