[INFO] cloning repository https://github.com/Truthixify/scheme-interpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Truthixify/scheme-interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTruthixify%2Fscheme-interpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTruthixify%2Fscheme-interpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2cc2399e2c6cf64d7a6ef6a59b54d0721bcc5032 [INFO] checking Truthixify/scheme-interpreter against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTruthixify%2Fscheme-interpreter" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Truthixify/scheme-interpreter [INFO] finished tweaking git repo https://github.com/Truthixify/scheme-interpreter [INFO] tweaked toml for git repo https://github.com/Truthixify/scheme-interpreter written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Truthixify/scheme-interpreter on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Truthixify/scheme-interpreter 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 913a85dd458cca2ca02b5556fb023f1dbe7d3ba2ba56b8485b8622041a2c6645 [INFO] running `Command { std: "docker" "start" "913a85dd458cca2ca02b5556fb023f1dbe7d3ba2ba56b8485b8622041a2c6645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "913a85dd458cca2ca02b5556fb023f1dbe7d3ba2ba56b8485b8622041a2c6645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "913a85dd458cca2ca02b5556fb023f1dbe7d3ba2ba56b8485b8622041a2c6645" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "913a85dd458cca2ca02b5556fb023f1dbe7d3ba2ba56b8485b8622041a2c6645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "913a85dd458cca2ca02b5556fb023f1dbe7d3ba2ba56b8485b8622041a2c6645" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Checking gimli v0.31.1 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Compiling owo-colors v4.1.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking clap_lex v0.7.3 [INFO] [stderr] Compiling thiserror v2.0.3 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Checking supports-unicode v3.0.0 [INFO] [stderr] Checking supports-hyperlinks v3.1.0 [INFO] [stderr] Checking supports-color v3.0.2 [INFO] [stderr] Checking clap_builder v4.5.21 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking object v0.36.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking terminal_size v0.4.1 [INFO] [stderr] Checking addr2line v0.24.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling miette-derive v7.4.0 [INFO] [stderr] Compiling thiserror-impl v2.0.3 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking backtrace-ext v0.2.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking miette v7.4.0 [INFO] [stderr] Checking clap v4.5.21 [INFO] [stderr] Checking scheme-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/evaluator.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | _ => Err("Unexpected expression".to_string()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/evaluator.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 24 | / Pair::Atom(Atom::Number(_)) [INFO] [stdout] 25 | | | Pair::Atom(Atom::String(_)) [INFO] [stdout] 26 | | | Pair::Atom(Atom::Bool(_)) [INFO] [stdout] 27 | | | Pair::Atom(Atom::Nil) [INFO] [stdout] 28 | | | Pair::Atom(Atom::Op(_)) => Ok(expr), [INFO] [stdout] | |_____________________________________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 31 | Pair::Atom(Atom::Symbol(sym)) => self [INFO] [stdout] | ----------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 65 | Pair::Cons(head, args) => { [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 71 | _ => Err("Unexpected expression".to_string()), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | return Err("malformed list".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 27 - return Err("malformed list".into()); [INFO] [stdout] 27 + return Err("malformed list"); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 27 - return Err("malformed list".into()); [INFO] [stdout] 27 + return Err(<&str as Into<_>>::into("malformed list")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | return Err("not a number".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 31 - return Err("not a number".into()); [INFO] [stdout] 31 + return Err("not a number"); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 31 - return Err("not a number".into()); [INFO] [stdout] 31 + return Err(<&str as Into<_>>::into("not a number")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | Err("- requires at least 1 argument".into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 52 - Err("- requires at least 1 argument".into()) [INFO] [stdout] 52 + Err("- requires at least 1 argument") [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 52 - Err("- requires at least 1 argument".into()) [INFO] [stdout] 52 + Err(<&str as Into<_>>::into("- requires at least 1 argument")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | return Err("malformed list".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 61 - return Err("malformed list".into()); [INFO] [stdout] 61 + return Err("malformed list"); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 61 - return Err("malformed list".into()); [INFO] [stdout] 61 + return Err(<&str as Into<_>>::into("malformed list")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | Err("not a number".into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 64 - Err("not a number".into()) [INFO] [stdout] 64 + Err("not a number") [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 64 - Err("not a number".into()) [INFO] [stdout] 64 + Err(<&str as Into<_>>::into("not a number")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | Err("/ requires at least 1 argument".into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 72 - Err("/ requires at least 1 argument".into()) [INFO] [stdout] 72 + Err("/ requires at least 1 argument") [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 72 - Err("/ requires at least 1 argument".into()) [INFO] [stdout] 72 + Err(<&str as Into<_>>::into("/ requires at least 1 argument")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | return Err("malformed list".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 81 - return Err("malformed list".into()); [INFO] [stdout] 81 + return Err("malformed list"); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 81 - return Err("malformed list".into()); [INFO] [stdout] 81 + return Err(<&str as Into<_>>::into("malformed list")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | Err("not a number".into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 84 - Err("not a number".into()) [INFO] [stdout] 84 + Err("not a number") [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 84 - Err("not a number".into()) [INFO] [stdout] 84 + Err(<&str as Into<_>>::into("not a number")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | Err("expt requires at least 2 arguments".into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 90 - Err("expt requires at least 2 arguments".into()) [INFO] [stdout] 90 + Err("expt requires at least 2 arguments") [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 90 - Err("expt requires at least 2 arguments".into()) [INFO] [stdout] 90 + Err(<&str as Into<_>>::into("expt requires at least 2 arguments")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | Err("pow requires exactly 2 arguments".into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 94 - Err("pow requires exactly 2 arguments".into()) [INFO] [stdout] 94 + Err("pow requires exactly 2 arguments") [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 94 - Err("pow requires exactly 2 arguments".into()) [INFO] [stdout] 94 + Err(<&str as Into<_>>::into("pow requires exactly 2 arguments")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | return Err("malformed list".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 99 - return Err("malformed list".into()); [INFO] [stdout] 99 + return Err("malformed list"); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 99 - return Err("malformed list".into()); [INFO] [stdout] 99 + return Err(<&str as Into<_>>::into("malformed list")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | Err("not a number".into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 102 - Err("not a number".into()) [INFO] [stdout] 102 + Err("not a number") [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 102 - Err("not a number".into()) [INFO] [stdout] 102 + Err(<&str as Into<_>>::into("not a number")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:106:18 [INFO] [stdout] | [INFO] [stdout] 106 | _ => Err("invalid operator".into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 106 - _ => Err("invalid operator".into()), [INFO] [stdout] 106 + _ => Err("invalid operator"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 106 - _ => Err("invalid operator".into()), [INFO] [stdout] 106 + _ => Err(<&str as Into<_>>::into("invalid operator")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | _ => return Err("invalid operator".into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 122 - _ => return Err("invalid operator".into()), [INFO] [stdout] 122 + _ => return Err("invalid operator"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 122 - _ => return Err("invalid operator".into()), [INFO] [stdout] 122 + _ => return Err(<&str as Into<_>>::into("invalid operator")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:137:33 [INFO] [stdout] | [INFO] [stdout] 137 | _ => return Err("invalid argument".into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 137 - _ => return Err("invalid argument".into()), [INFO] [stdout] 137 + _ => return Err("invalid argument"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 137 - _ => return Err("invalid argument".into()), [INFO] [stdout] 137 + _ => return Err(<&str as Into<_>>::into("invalid argument")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | Err("no arguments provided".into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 147 - Err("no arguments provided".into()) [INFO] [stdout] 147 + Err("no arguments provided") [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 147 - Err("no arguments provided".into()) [INFO] [stdout] 147 + Err(<&str as Into<_>>::into("no arguments provided")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scheme-rust` (lib) due to 16 previous errors; 1 warning emitted [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/evaluator.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | _ => Err("Unexpected expression".to_string()), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/evaluator.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 24 | / Pair::Atom(Atom::Number(_)) [INFO] [stdout] 25 | | | Pair::Atom(Atom::String(_)) [INFO] [stdout] 26 | | | Pair::Atom(Atom::Bool(_)) [INFO] [stdout] 27 | | | Pair::Atom(Atom::Nil) [INFO] [stdout] 28 | | | Pair::Atom(Atom::Op(_)) => Ok(expr), [INFO] [stdout] | |_____________________________________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 31 | Pair::Atom(Atom::Symbol(sym)) => self [INFO] [stdout] | ----------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 65 | Pair::Cons(head, args) => { [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 71 | _ => Err("Unexpected expression".to_string()), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | return Err("malformed list".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 27 - return Err("malformed list".into()); [INFO] [stdout] 27 + return Err("malformed list"); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 27 - return Err("malformed list".into()); [INFO] [stdout] 27 + return Err(<&str as Into<_>>::into("malformed list")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | return Err("not a number".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 31 - return Err("not a number".into()); [INFO] [stdout] 31 + return Err("not a number"); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 31 - return Err("not a number".into()); [INFO] [stdout] 31 + return Err(<&str as Into<_>>::into("not a number")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | Err("- requires at least 1 argument".into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 52 - Err("- requires at least 1 argument".into()) [INFO] [stdout] 52 + Err("- requires at least 1 argument") [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 52 - Err("- requires at least 1 argument".into()) [INFO] [stdout] 52 + Err(<&str as Into<_>>::into("- requires at least 1 argument")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | return Err("malformed list".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 61 - return Err("malformed list".into()); [INFO] [stdout] 61 + return Err("malformed list"); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 61 - return Err("malformed list".into()); [INFO] [stdout] 61 + return Err(<&str as Into<_>>::into("malformed list")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | Err("not a number".into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 64 - Err("not a number".into()) [INFO] [stdout] 64 + Err("not a number") [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 64 - Err("not a number".into()) [INFO] [stdout] 64 + Err(<&str as Into<_>>::into("not a number")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:72:21 [INFO] [stdout] | [INFO] [stdout] 72 | Err("/ requires at least 1 argument".into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 72 - Err("/ requires at least 1 argument".into()) [INFO] [stdout] 72 + Err("/ requires at least 1 argument") [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 72 - Err("/ requires at least 1 argument".into()) [INFO] [stdout] 72 + Err(<&str as Into<_>>::into("/ requires at least 1 argument")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | return Err("malformed list".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 81 - return Err("malformed list".into()); [INFO] [stdout] 81 + return Err("malformed list"); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 81 - return Err("malformed list".into()); [INFO] [stdout] 81 + return Err(<&str as Into<_>>::into("malformed list")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:84:21 [INFO] [stdout] | [INFO] [stdout] 84 | Err("not a number".into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 84 - Err("not a number".into()) [INFO] [stdout] 84 + Err("not a number") [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 84 - Err("not a number".into()) [INFO] [stdout] 84 + Err(<&str as Into<_>>::into("not a number")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | Err("expt requires at least 2 arguments".into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 90 - Err("expt requires at least 2 arguments".into()) [INFO] [stdout] 90 + Err("expt requires at least 2 arguments") [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 90 - Err("expt requires at least 2 arguments".into()) [INFO] [stdout] 90 + Err(<&str as Into<_>>::into("expt requires at least 2 arguments")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | Err("pow requires exactly 2 arguments".into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 94 - Err("pow requires exactly 2 arguments".into()) [INFO] [stdout] 94 + Err("pow requires exactly 2 arguments") [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 94 - Err("pow requires exactly 2 arguments".into()) [INFO] [stdout] 94 + Err(<&str as Into<_>>::into("pow requires exactly 2 arguments")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:99:32 [INFO] [stdout] | [INFO] [stdout] 99 | return Err("malformed list".into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 99 - return Err("malformed list".into()); [INFO] [stdout] 99 + return Err("malformed list"); [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 99 - return Err("malformed list".into()); [INFO] [stdout] 99 + return Err(<&str as Into<_>>::into("malformed list")); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 102 | Err("not a number".into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 102 - Err("not a number".into()) [INFO] [stdout] 102 + Err("not a number") [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 102 - Err("not a number".into()) [INFO] [stdout] 102 + Err(<&str as Into<_>>::into("not a number")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:106:18 [INFO] [stdout] | [INFO] [stdout] 106 | _ => Err("invalid operator".into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 106 - _ => Err("invalid operator".into()), [INFO] [stdout] 106 + _ => Err("invalid operator"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 106 - _ => Err("invalid operator".into()), [INFO] [stdout] 106 + _ => Err(<&str as Into<_>>::into("invalid operator")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | _ => return Err("invalid operator".into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 122 - _ => return Err("invalid operator".into()), [INFO] [stdout] 122 + _ => return Err("invalid operator"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 122 - _ => return Err("invalid operator".into()), [INFO] [stdout] 122 + _ => return Err(<&str as Into<_>>::into("invalid operator")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:137:33 [INFO] [stdout] | [INFO] [stdout] 137 | _ => return Err("invalid argument".into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 137 - _ => return Err("invalid argument".into()), [INFO] [stdout] 137 + _ => return Err("invalid argument"), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 137 - _ => return Err("invalid argument".into()), [INFO] [stdout] 137 + _ => return Err(<&str as Into<_>>::into("invalid argument")), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/scalc.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | Err("no arguments provided".into()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 147 - Err("no arguments provided".into()) [INFO] [stdout] 147 + Err("no arguments provided") [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 147 - Err("no arguments provided".into()) [INFO] [stdout] 147 + Err(<&str as Into<_>>::into("no arguments provided")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/parser.rs:411:27 [INFO] [stdout] | [INFO] [stdout] 411 | fn parse_input(input: &str) -> Result { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 411 | fn parse_input(input: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/scalc.rs:178:27 [INFO] [stdout] | [INFO] [stdout] 178 | fn parse_input(input: &str) -> Pair { [INFO] [stdout] | ^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 178 | fn parse_input(input: &str) -> Pair<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `scheme-rust` (lib test) due to 16 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "913a85dd458cca2ca02b5556fb023f1dbe7d3ba2ba56b8485b8622041a2c6645", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "913a85dd458cca2ca02b5556fb023f1dbe7d3ba2ba56b8485b8622041a2c6645", kill_on_drop: false }` [INFO] [stdout] 913a85dd458cca2ca02b5556fb023f1dbe7d3ba2ba56b8485b8622041a2c6645