[INFO] cloning repository https://github.com/chimez/clojure-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chimez/clojure-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchimez%2Fclojure-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchimez%2Fclojure-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cab08e0c98dcbad1481883617708b0f1fdb062a8 [INFO] checking chimez/clojure-rust against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchimez%2Fclojure-rust" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chimez/clojure-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/chimez/clojure-rust [INFO] finished tweaking git repo https://github.com/chimez/clojure-rust [INFO] tweaked toml for git repo https://github.com/chimez/clojure-rust written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/chimez/clojure-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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/jobserver:/tmp/crater-runner-fifo:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] [stdout] 1e2c19597d46ee0a3f675aa86a307bd9c8be44e848bcbb19d325c31de363827d [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" "1e2c19597d46ee0a3f675aa86a307bd9c8be44e848bcbb19d325c31de363827d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e2c19597d46ee0a3f675aa86a307bd9c8be44e848bcbb19d325c31de363827d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e2c19597d46ee0a3f675aa86a307bd9c8be44e848bcbb19d325c31de363827d", kill_on_drop: false }` [INFO] [stdout] 1e2c19597d46ee0a3f675aa86a307bd9c8be44e848bcbb19d325c31de363827d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/jobserver:/tmp/crater-runner-fifo:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "RUSTUP_TOOLCHAIN=3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "-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" "/tmp/crater-runner-fifo/jobserver-crater-fwd" "/opt/rustwide/cargo-home/bin/cargo" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5320c81d1c55a4f3f5f9b6432b7f156831fedffca3f7049b8099fda499cab94 [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" "a5320c81d1c55a4f3f5f9b6432b7f156831fedffca3f7049b8099fda499cab94", kill_on_drop: false }` [INFO] [stderr] Checking clojure-rust v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/ast.rs:278:1 [INFO] [stdout] | [INFO] [stdout] 278 | / macro_rules! cljlist { [INFO] [stdout] 279 | | ($($x:expr),*) => { [INFO] [stdout] 280 | | { [INFO] [stdout] 281 | | let mut l: Vec = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 285 | | ; [INFO] [stdout] 286 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/syntax.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | for mut item in self.body.iter_mut() { [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 macro definition [INFO] [stdout] --> src/ast.rs:278:1 [INFO] [stdout] | [INFO] [stdout] 278 | / macro_rules! cljlist { [INFO] [stdout] 279 | | ($($x:expr),*) => { [INFO] [stdout] 280 | | { [INFO] [stdout] 281 | | let mut l: Vec = Vec::new(); [INFO] [stdout] ... | [INFO] [stdout] 285 | | ; [INFO] [stdout] 286 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push_str` [INFO] [stdout] --> src/syntax.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn push_str(&mut self, s: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_context_vec` [INFO] [stdout] --> src/syntax.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn pop_context_vec(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `merge_context` [INFO] [stdout] --> src/syntax.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn merge_context(&mut self, n: &SyntaxNode) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/ast.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn pop(&mut self) -> AstVal { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_atom` [INFO] [stdout] --> src/ast.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn is_atom(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_leaf_list` [INFO] [stdout] --> src/ast.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn is_leaf_list(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_leaf` [INFO] [stdout] --> src/ast.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn is_leaf(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_list` [INFO] [stdout] --> src/ast.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn is_list(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `text` [INFO] [stdout] --> src/ast.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn text(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cons` [INFO] [stdout] --> src/ast.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn cons(&self, a: AstVal) -> AstVal { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter` [INFO] [stdout] --> src/ast.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ErrString` [INFO] [stdout] --> src/ast.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | ErrString(&'static str), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ErrAstVal` [INFO] [stdout] --> src/ast.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | ErrAstVal(AstVal), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `AstResult` [INFO] [stdout] --> src/ast.rs:276:1 [INFO] [stdout] | [INFO] [stdout] 276 | type AstResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/reader.rs:131:27 [INFO] [stdout] | [INFO] [stdout] 131 | Some(c) => panic!(format!("no define char:{}", c)), [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] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 131 | Some(c) => panic!("no define char:{}", c), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/syntax.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | for mut item in self.body.iter_mut() { [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: associated function is never used: `push_str` [INFO] [stdout] --> src/syntax.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | fn push_str(&mut self, s: &str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop_context_vec` [INFO] [stdout] --> src/syntax.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | fn pop_context_vec(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `merge_context` [INFO] [stdout] --> src/syntax.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn merge_context(&mut self, n: &SyntaxNode) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pop` [INFO] [stdout] --> src/ast.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn pop(&mut self) -> AstVal { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_atom` [INFO] [stdout] --> src/ast.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn is_atom(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_leaf_list` [INFO] [stdout] --> src/ast.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn is_leaf_list(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_leaf` [INFO] [stdout] --> src/ast.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn is_leaf(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_list` [INFO] [stdout] --> src/ast.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn is_list(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `text` [INFO] [stdout] --> src/ast.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn text(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `cons` [INFO] [stdout] --> src/ast.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn cons(&self, a: AstVal) -> AstVal { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter` [INFO] [stdout] --> src/ast.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ErrString` [INFO] [stdout] --> src/ast.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | ErrString(&'static str), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ErrAstVal` [INFO] [stdout] --> src/ast.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | ErrAstVal(AstVal), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `AstResult` [INFO] [stdout] --> src/ast.rs:276:1 [INFO] [stdout] | [INFO] [stdout] 276 | type AstResult = Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/reader.rs:131:27 [INFO] [stdout] | [INFO] [stdout] 131 | Some(c) => panic!(format!("no define char:{}", c)), [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] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 131 | Some(c) => panic!("no define char:{}", c), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.66s [INFO] running `Command { std: "docker" "inspect" "a5320c81d1c55a4f3f5f9b6432b7f156831fedffca3f7049b8099fda499cab94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5320c81d1c55a4f3f5f9b6432b7f156831fedffca3f7049b8099fda499cab94", kill_on_drop: false }` [INFO] [stdout] a5320c81d1c55a4f3f5f9b6432b7f156831fedffca3f7049b8099fda499cab94