[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#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchimez%2Fclojure-rust" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chimez/clojure-rust on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "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-11/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9dd96f585382ddb09a5acd58c6be958bff6c2697a29991f55f87aebae7c9fb7 [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" "d9dd96f585382ddb09a5acd58c6be958bff6c2697a29991f55f87aebae7c9fb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9dd96f585382ddb09a5acd58c6be958bff6c2697a29991f55f87aebae7c9fb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9dd96f585382ddb09a5acd58c6be958bff6c2697a29991f55f87aebae7c9fb7", kill_on_drop: false }` [INFO] [stdout] d9dd96f585382ddb09a5acd58c6be958bff6c2697a29991f55f87aebae7c9fb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 790b409c4e35ad1cef09fde40ae8b09e5e655fb3a0b7c3ed5de55563ec0570cc [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" "790b409c4e35ad1cef09fde40ae8b09e5e655fb3a0b7c3ed5de55563ec0570cc", 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: 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: 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: 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: 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: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.06s [INFO] running `Command { std: "docker" "inspect" "790b409c4e35ad1cef09fde40ae8b09e5e655fb3a0b7c3ed5de55563ec0570cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "790b409c4e35ad1cef09fde40ae8b09e5e655fb3a0b7c3ed5de55563ec0570cc", kill_on_drop: false }` [INFO] [stdout] 790b409c4e35ad1cef09fde40ae8b09e5e655fb3a0b7c3ed5de55563ec0570cc