[INFO] cloning repository https://github.com/foundoulis/slytherlisp_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/foundoulis/slytherlisp_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoundoulis%2Fslytherlisp_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoundoulis%2Fslytherlisp_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d5fb90327c70fe72e9482268ed8d5d79fc5109d0 [INFO] checking foundoulis/slytherlisp_rust against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoundoulis%2Fslytherlisp_rust" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/foundoulis/slytherlisp_rust on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/foundoulis/slytherlisp_rust [INFO] finished tweaking git repo https://github.com/foundoulis/slytherlisp_rust [INFO] tweaked toml for git repo https://github.com/foundoulis/slytherlisp_rust written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/foundoulis/slytherlisp_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 16265cbce7b1497db57674f2ac47ad26bc43d067a28f5d0b6bf14b01f995468a [INFO] running `Command { std: "docker" "start" "-a" "16265cbce7b1497db57674f2ac47ad26bc43d067a28f5d0b6bf14b01f995468a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16265cbce7b1497db57674f2ac47ad26bc43d067a28f5d0b6bf14b01f995468a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16265cbce7b1497db57674f2ac47ad26bc43d067a28f5d0b6bf14b01f995468a", kill_on_drop: false }` [INFO] [stdout] 16265cbce7b1497db57674f2ac47ad26bc43d067a28f5d0b6bf14b01f995468a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7e2fc8359295a5bc5aa98f6910de122f026d80d254fda701f0904502a65283a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e7e2fc8359295a5bc5aa98f6910de122f026d80d254fda701f0904502a65283a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Checking ucd-util v0.1.2 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Checking slytherlisp_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `add` should have an upper camel case name [INFO] [stdout] --> src/types/callable.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | add, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Add` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `sub` should have an upper camel case name [INFO] [stdout] --> src/types/callable.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | sub, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `mul` should have an upper camel case name [INFO] [stdout] --> src/types/callable.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | mul, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Mul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `div` should have an upper camel case name [INFO] [stdout] --> src/types/callable.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | div, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `print` should have an upper camel case name [INFO] [stdout] --> src/types/callable.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | print, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Print` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `add` should have an upper camel case name [INFO] [stdout] --> src/types/callable.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | add, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Add` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `sub` should have an upper camel case name [INFO] [stdout] --> src/types/callable.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | sub, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Sub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `mul` should have an upper camel case name [INFO] [stdout] --> src/types/callable.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | mul, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Mul` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `div` should have an upper camel case name [INFO] [stdout] --> src/types/callable.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | div, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Div` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `print` should have an upper camel case name [INFO] [stdout] --> src/types/callable.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | print, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `Print` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stg` [INFO] [stdout] --> src/types/callable.rs:192:42 [INFO] [stdout] | [INFO] [stdout] 192 | fn call(&mut self, args: &LispValue, stg: &mut LexicalVarStorage) -> LispValue { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_stg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/types/callable.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | let mut is_int = match *args_as_list[0] { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stg` [INFO] [stdout] --> src/types/callable.rs:192:42 [INFO] [stdout] | [INFO] [stdout] 192 | fn call(&mut self, args: &LispValue, stg: &mut LexicalVarStorage) -> LispValue { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_stg` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_repl` [INFO] [stdout] --> src/main.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn run_repl() {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/evaluator/mod.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | panic!(err); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 23 | panic!("{}", err); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 23 | std::panic::panic_any(err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/types/callable.rs:107:68 [INFO] [stdout] | [INFO] [stdout] 107 | ... _ => panic!("Cannot subtract from: {}"), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 107 | _ => panic!("Cannot subtract from: {}", ...), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 107 | _ => panic!("{}", "Cannot subtract from: {}"), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/types/callable.rs:77:25 [INFO] [stdout] | [INFO] [stdout] 77 | let mut is_int = match *args_as_list[0] { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `run_repl` [INFO] [stdout] --> src/main.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn run_repl() {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/evaluator/mod.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | panic!(err); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 23 | panic!("{}", err); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 23 | std::panic::panic_any(err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message contains an unused formatting placeholder [INFO] [stdout] --> src/types/callable.rs:107:68 [INFO] [stdout] | [INFO] [stdout] 107 | ... _ => panic!("Cannot subtract from: {}"), [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string when given without arguments, but will be in Rust 2021 [INFO] [stdout] help: add the missing argument [INFO] [stdout] | [INFO] [stdout] 107 | _ => panic!("Cannot subtract from: {}", ...), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 107 | _ => panic!("{}", "Cannot subtract from: {}"), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.73s [INFO] running `Command { std: "docker" "inspect" "e7e2fc8359295a5bc5aa98f6910de122f026d80d254fda701f0904502a65283a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7e2fc8359295a5bc5aa98f6910de122f026d80d254fda701f0904502a65283a", kill_on_drop: false }` [INFO] [stdout] e7e2fc8359295a5bc5aa98f6910de122f026d80d254fda701f0904502a65283a