[INFO] cloning repository https://github.com/alihsaas/neko [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alihsaas/neko" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falihsaas%2Fneko", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falihsaas%2Fneko'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45b616cbdb03763b7bdc345c20340027def67b75 [INFO] checking alihsaas/neko against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falihsaas%2Fneko" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/alihsaas/neko [INFO] finished tweaking git repo https://github.com/alihsaas/neko [INFO] tweaked toml for git repo https://github.com/alihsaas/neko written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alihsaas/neko on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/alihsaas/neko 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd52b2a1643e4e65301ed22a059766be35428a3ecf524d24e51bb6e215ca0e8c [INFO] running `Command { std: "docker" "start" "-a" "dd52b2a1643e4e65301ed22a059766be35428a3ecf524d24e51bb6e215ca0e8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd52b2a1643e4e65301ed22a059766be35428a3ecf524d24e51bb6e215ca0e8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd52b2a1643e4e65301ed22a059766be35428a3ecf524d24e51bb6e215ca0e8c", kill_on_drop: false }` [INFO] [stdout] dd52b2a1643e4e65301ed22a059766be35428a3ecf524d24e51bb6e215ca0e8c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a89cafe3114684e4d0985c3e3d31724fe15a16e7916d0e63381e9c454b6d59b5 [INFO] running `Command { std: "docker" "start" "-a" "a89cafe3114684e4d0985c3e3d31724fe15a16e7916d0e63381e9c454b6d59b5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling jobserver v0.1.22 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling libgit2-sys v0.12.20+1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking fd-lock v2.0.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling rustyline-derive v0.4.0 [INFO] [stderr] Checking rustyline v8.2.0 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Compiling git2 v0.13.19 [INFO] [stderr] Checking semver v0.11.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking cargo-lock v6.0.1 [INFO] [stderr] Checking built v0.5.0 [INFO] [stderr] Compiling neko v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `enable_editor` is never used [INFO] [stdout] --> src/repl.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Repl { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn enable_editor(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `analyze` is never used [INFO] [stdout] --> src/semantic_analyzer.rs:259:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl SemanticAnalyzer { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 259 | pub fn analyze(&mut self, node: &Node) -> SResult { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `symbol_type` are never read [INFO] [stdout] --> src/symbol.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct VarSymbol { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 3 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | pub symbol_type: TypeSymbol, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VarSymbol` 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: fields `name` and `param` are never read [INFO] [stdout] --> src/symbol.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct FunctionSymbol { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 9 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub param: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionSymbol` 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 `Number` is never constructed [INFO] [stdout] --> src/symbol.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum TypeSymbol { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 15 | Number, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeSymbol` 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: field `0` is never read [INFO] [stdout] --> src/symbol.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | VarSymbol(VarSymbol), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Symbol` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 - VarSymbol(VarSymbol), [INFO] [stdout] 21 + VarSymbol(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/symbol.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | FunctionSymbol(FunctionSymbol), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Symbol` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 - FunctionSymbol(FunctionSymbol), [INFO] [stdout] 23 + FunctionSymbol(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scope_name` is never read [INFO] [stdout] --> src/symbol_table.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SymbolTable { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 6 | pub symbols: HashMap, [INFO] [stdout] 7 | pub scope_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | / /// file to process [INFO] [stdout] 28 | | file: Option, [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/enviroment.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 15 | function: fn(args: Vec) -> Result, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `neko` (bin "neko") due to 1 previous error; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: method `enable_editor` is never used [INFO] [stdout] --> src/repl.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Repl { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn enable_editor(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `symbol_type` are never read [INFO] [stdout] --> src/symbol.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct VarSymbol { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 3 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 4 | pub symbol_type: TypeSymbol, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VarSymbol` 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: fields `name` and `param` are never read [INFO] [stdout] --> src/symbol.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct FunctionSymbol { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 9 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub param: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FunctionSymbol` 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 `Number` is never constructed [INFO] [stdout] --> src/symbol.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum TypeSymbol { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 15 | Number, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TypeSymbol` 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: field `0` is never read [INFO] [stdout] --> src/symbol.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | VarSymbol(VarSymbol), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Symbol` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 - VarSymbol(VarSymbol), [INFO] [stdout] 21 + VarSymbol(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/symbol.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | FunctionSymbol(FunctionSymbol), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Symbol` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 - FunctionSymbol(FunctionSymbol), [INFO] [stdout] 23 + FunctionSymbol(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `scope_name` is never read [INFO] [stdout] --> src/symbol_table.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct SymbolTable { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 6 | pub symbols: HashMap, [INFO] [stdout] 7 | pub scope_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SymbolTable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | / /// file to process [INFO] [stdout] 28 | | file: Option, [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/enviroment.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 15 | function: fn(args: Vec) -> Result, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `neko` (bin "neko" test) due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a89cafe3114684e4d0985c3e3d31724fe15a16e7916d0e63381e9c454b6d59b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a89cafe3114684e4d0985c3e3d31724fe15a16e7916d0e63381e9c454b6d59b5", kill_on_drop: false }` [INFO] [stdout] a89cafe3114684e4d0985c3e3d31724fe15a16e7916d0e63381e9c454b6d59b5