[INFO] cloning repository https://github.com/hanako-eo/peanut [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hanako-eo/peanut" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanako-eo%2Fpeanut", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanako-eo%2Fpeanut'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 84cc74e7982eaad0ccff0e4275bf7cf6a263d5a0 [INFO] checking hanako-eo/peanut against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhanako-eo%2Fpeanut" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hanako-eo/peanut on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hanako-eo/peanut [INFO] finished tweaking git repo https://github.com/hanako-eo/peanut [INFO] tweaked toml for git repo https://github.com/hanako-eo/peanut written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hanako-eo/peanut 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e3f88039443778a4a909023e696f99199661dab7c2b5e4df5ab9f76a65930d9a [INFO] running `Command { std: "docker" "start" "-a" "e3f88039443778a4a909023e696f99199661dab7c2b5e4df5ab9f76a65930d9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3f88039443778a4a909023e696f99199661dab7c2b5e4df5ab9f76a65930d9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3f88039443778a4a909023e696f99199661dab7c2b5e4df5ab9f76a65930d9a", kill_on_drop: false }` [INFO] [stdout] e3f88039443778a4a909023e696f99199661dab7c2b5e4df5ab9f76a65930d9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf95c1d207463d63e870680ff36a7cb368ace040381ecd64248f41390df2758c [INFO] running `Command { std: "docker" "start" "-a" "bf95c1d207463d63e870680ff36a7cb368ace040381ecd64248f41390df2758c", kill_on_drop: false }` [INFO] [stderr] Checking peanut v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ErrorKind`, `Error` [INFO] [stdout] --> src/frontend/parser.rs:397:18 [INFO] [stdout] | [INFO] [stdout] 397 | errors::{Error, ErrorKind}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relaxing a default bound only does something for `?Sized`; all other traits are not bound by default [INFO] [stdout] --> src/memory/ptr.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GarbageBox { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relaxing a default bound only does something for `?Sized`; all other traits are not bound by default [INFO] [stdout] --> src/memory/ptr.rs:110:23 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct WeakRef { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ErrorKind`, `Error`, `Expr`, `Op`, `Stmt`, `UnaryOp` [INFO] [stdout] --> src/frontend/parser.rs:397:18 [INFO] [stdout] | [INFO] [stdout] 397 | errors::{Error, ErrorKind}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] 398 | frontend::ast::{Expr, Op, Stmt, UnaryOp}, [INFO] [stdout] | ^^^^ ^^ ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::Parser` [INFO] [stdout] --> src/frontend/parser.rs:401:9 [INFO] [stdout] | [INFO] [stdout] 401 | use super::Parser; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relaxing a default bound only does something for `?Sized`; all other traits are not bound by default [INFO] [stdout] --> src/memory/ptr.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct GarbageBox { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relaxing a default bound only does something for `?Sized`; all other traits are not bound by default [INFO] [stdout] --> src/memory/ptr.rs:110:23 [INFO] [stdout] | [INFO] [stdout] 110 | pub struct WeakRef { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `kind` is never used [INFO] [stdout] --> src/errors.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Error { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn kind(&self) -> &ErrorKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `In` and `Dot` are never constructed [INFO] [stdout] --> src/frontend/ast.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Op { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | In, [INFO] [stdout] | ^^ [INFO] [stdout] 24 | Dot, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Op` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `For` is never constructed [INFO] [stdout] --> src/frontend/ast.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub enum Stmt { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 96 | For(String, Expr, Vec), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pos` and `len` are never used [INFO] [stdout] --> src/frontend/token.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn pos(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parent` is never read [INFO] [stdout] --> src/memory/context.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Context<'a, T: Eq> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 10 | parent: Weak>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_parent`, `create`, `delete`, `free`, and `get` are never used [INFO] [stdout] --> src/memory/context.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a, T: Eq> Context<'a, T> { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 16 | pub fn new(garbage: Rc>>) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn with_parent( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn create(&mut self, key: &'a str, value: T) -> GarbageBox { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn delete(&mut self, key: &'a str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn free(&mut self, key: &'a str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn get(&self, key: &'a str) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `push` are never used [INFO] [stdout] --> src/memory/gc.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl GarbageCollector { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn push(&mut self, ref_value: GarbageBox) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/memory/ptr.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl GarbageBox { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 17 | pub fn new(value: T) -> GarbageBox { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/memory/ptr.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl WeakRef { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn get(&self) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/memory/ptr.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | drop(inner); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&GBoxInner` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `kind` is never used [INFO] [stdout] --> src/errors.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Error { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn kind(&self) -> &ErrorKind { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `In` and `Dot` are never constructed [INFO] [stdout] --> src/frontend/ast.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Op { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 23 | In, [INFO] [stdout] | ^^ [INFO] [stdout] 24 | Dot, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Op` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `For` is never constructed [INFO] [stdout] --> src/frontend/ast.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub enum Stmt { [INFO] [stdout] | ---- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 96 | For(String, Expr, Vec), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stmt` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pos` and `len` are never used [INFO] [stdout] --> src/frontend/token.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl Token { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn pos(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `parent` is never read [INFO] [stdout] --> src/memory/context.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Context<'a, T: Eq> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 10 | parent: Weak>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_parent`, `create`, `delete`, `free`, and `get` are never used [INFO] [stdout] --> src/memory/context.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl<'a, T: Eq> Context<'a, T> { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 16 | pub fn new(garbage: Rc>>) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn with_parent( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn create(&mut self, key: &'a str, value: T) -> GarbageBox { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn delete(&mut self, key: &'a str) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn free(&mut self, key: &'a str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn get(&self, key: &'a str) -> Option> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `push` are never used [INFO] [stdout] --> src/memory/gc.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl GarbageCollector { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new() -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn push(&mut self, ref_value: GarbageBox) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/memory/ptr.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl GarbageBox { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 17 | pub fn new(value: T) -> GarbageBox { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/memory/ptr.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 114 | impl WeakRef { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn get(&self) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/memory/ptr.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | drop(inner); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&GBoxInner` [INFO] [stdout] | [INFO] [stdout] = note: use `let _ = ...` to ignore the expression or result [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s [INFO] running `Command { std: "docker" "inspect" "bf95c1d207463d63e870680ff36a7cb368ace040381ecd64248f41390df2758c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf95c1d207463d63e870680ff36a7cb368ace040381ecd64248f41390df2758c", kill_on_drop: false }` [INFO] [stdout] bf95c1d207463d63e870680ff36a7cb368ace040381ecd64248f41390df2758c