[INFO] cloning repository https://github.com/julyfun/r0 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/julyfun/r0" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjulyfun%2Fr0", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjulyfun%2Fr0'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c5e425dd0d2ce259b36c67985f1d3debd61fe5c2 [INFO] checking julyfun/r0 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjulyfun%2Fr0" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/julyfun/r0 on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/julyfun/r0 [INFO] finished tweaking git repo https://github.com/julyfun/r0 [INFO] tweaked toml for git repo https://github.com/julyfun/r0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/julyfun/r0 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cce558f1076a09bc5a055927e67250db01b496e394a545ea0b5b149e76c8305c [INFO] running `Command { std: "docker" "start" "-a" "cce558f1076a09bc5a055927e67250db01b496e394a545ea0b5b149e76c8305c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cce558f1076a09bc5a055927e67250db01b496e394a545ea0b5b149e76c8305c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cce558f1076a09bc5a055927e67250db01b496e394a545ea0b5b149e76c8305c", kill_on_drop: false }` [INFO] [stdout] cce558f1076a09bc5a055927e67250db01b496e394a545ea0b5b149e76c8305c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54cf61601701f5e5f1974181b0f122213dd3a7d39418e8938158d88aab89e736 [INFO] running `Command { std: "docker" "start" "-a" "54cf61601701f5e5f1974181b0f122213dd3a7d39418e8938158d88aab89e736", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking r0 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `uniquify` is never used [INFO] [stdout] --> src/compiler.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn uniquify(expr: Expr) -> Expr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `uniqify_expr` is never used [INFO] [stdout] --> src/compiler.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn uniqify_expr(expr: Expr, uniq_name_env: Rc>) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `anf_exp` is never used [INFO] [stdout] --> src/compiler.rs:75:4 [INFO] [stdout] | [INFO] [stdout] 75 | fn anf_exp(expr: Expr) -> Expr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_atm` is never used [INFO] [stdout] --> src/compiler.rs:126:4 [INFO] [stdout] | [INFO] [stdout] 126 | fn is_atm(expr: &Expr) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `readint` is never used [INFO] [stdout] --> src/helper.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn readint() -> i64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_digit` is never used [INFO] [stdout] --> src/helper.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn is_digit(x: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HasDigit` is never used [INFO] [stdout] --> src/helper.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | trait HasDigit { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_var_name` is never used [INFO] [stdout] --> src/helper.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn is_valid_var_name(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `gensym` is never used [INFO] [stdout] --> src/helper.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn gensym() -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interp_exp` is never used [INFO] [stdout] --> src/interp.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn interp_exp(expr: Expr, env: Rc>) -> i64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interp_r1` is never used [INFO] [stdout] --> src/interp.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn interp_r1(expr: Expr) -> i64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Sexpr` is never used [INFO] [stdout] --> src/parser.rs:11:6 [INFO] [stdout] | [INFO] [stdout] 11 | enum Sexpr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scan` is never used [INFO] [stdout] --> src/parser.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn scan(expr: &str) -> Sexpr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_sexpr` is never used [INFO] [stdout] --> src/parser.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn parse_sexpr(sexpr: &Sexpr) -> Expr { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/parser.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn parse(expr: &str) -> Expr { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Int`, `Var`, `Let`, `Prim0`, `Prim1`, and `Prim2` are never constructed [INFO] [stdout] --> src/syntax.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum Expr { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 8 | Int(i64), [INFO] [stdout] | ^^^ [INFO] [stdout] 9 | /// 已有变量名,待查询 [INFO] [stdout] 10 | Var(String), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | Let(String, Box, Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | Prim0(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | Prim1(String, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | Prim2(String, Box, Box), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Expr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SymTable` is never constructed [INFO] [stdout] --> src/syntax.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct SymTable [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `lookup`, `bind`, and `extended` are never used [INFO] [stdout] --> src/syntax.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 31 | / impl SymTable [INFO] [stdout] 32 | | where [INFO] [stdout] 33 | | T: Eq + Hash, [INFO] [stdout] 34 | | H: Eq + Hash, [INFO] [stdout] | |_________________- associated items in this implementation [INFO] [stdout] 35 | { [INFO] [stdout] 36 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn lookup(&self, x: &T) -> &H { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn bind(&mut self, var: T, val: H) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn extended(map: HashMap, table: &Rc>) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HasDigit` is never used [INFO] [stdout] --> src/helper.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | trait HasDigit { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bind` is never used [INFO] [stdout] --> src/syntax.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 31 | / impl SymTable [INFO] [stdout] 32 | | where [INFO] [stdout] 33 | | T: Eq + Hash, [INFO] [stdout] 34 | | H: Eq + Hash, [INFO] [stdout] | |_________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn bind(&mut self, var: T, val: H) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.84s [INFO] running `Command { std: "docker" "inspect" "54cf61601701f5e5f1974181b0f122213dd3a7d39418e8938158d88aab89e736", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54cf61601701f5e5f1974181b0f122213dd3a7d39418e8938158d88aab89e736", kill_on_drop: false }` [INFO] [stdout] 54cf61601701f5e5f1974181b0f122213dd3a7d39418e8938158d88aab89e736