[INFO] cloning repository https://github.com/Codekiller21/wasm_compiler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Codekiller21/wasm_compiler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodekiller21%2Fwasm_compiler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodekiller21%2Fwasm_compiler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 32b57171d6a1477e7a9ba1d9841cf8e5393c0398 [INFO] checking Codekiller21/wasm_compiler against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCodekiller21%2Fwasm_compiler" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Codekiller21/wasm_compiler on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Codekiller21/wasm_compiler [INFO] finished tweaking git repo https://github.com/Codekiller21/wasm_compiler [INFO] tweaked toml for git repo https://github.com/Codekiller21/wasm_compiler written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/Codekiller21/wasm_compiler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54e85322ba5c111de8b80387f7fd937765a6e29ab8393af9b1de9adc6a324245 [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" "54e85322ba5c111de8b80387f7fd937765a6e29ab8393af9b1de9adc6a324245", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54e85322ba5c111de8b80387f7fd937765a6e29ab8393af9b1de9adc6a324245", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54e85322ba5c111de8b80387f7fd937765a6e29ab8393af9b1de9adc6a324245", kill_on_drop: false }` [INFO] [stdout] 54e85322ba5c111de8b80387f7fd937765a6e29ab8393af9b1de9adc6a324245 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 838becac29ca3101f7671985249cf92894756fd215d730f5df872a98f71ceadf [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" "838becac29ca3101f7671985249cf92894756fd215d730f5df872a98f71ceadf", kill_on_drop: false }` [INFO] [stderr] Checking wasm_compiler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tokenizer.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut toks: Vec = Vec::new(); [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: `new` [INFO] [stdout] --> src/tokenizer.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | fn new(token_type: TokenTypes, value: Option, index: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Print` [INFO] [stdout] --> src/tokenizer.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Print, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Number` [INFO] [stdout] --> src/tokenizer.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Number [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_char_alpha` [INFO] [stdout] --> src/tokenizer.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn is_char_alpha(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_string_number` [INFO] [stdout] --> src/tokenizer.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn is_string_number(s: &String) -> Result<(bool, bool), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `tokenize` [INFO] [stdout] --> src/tokenizer.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn tokenize(data: Vec) -> Result, String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tokenizer.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | let mut toks: Vec = Vec::new(); [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: `new` [INFO] [stdout] --> src/tokenizer.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | fn new(token_type: TokenTypes, value: Option, index: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Print` [INFO] [stdout] --> src/tokenizer.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Print, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Number` [INFO] [stdout] --> src/tokenizer.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | Number [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_char_alpha` [INFO] [stdout] --> src/tokenizer.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn is_char_alpha(c: char) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_string_number` [INFO] [stdout] --> src/tokenizer.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn is_string_number(s: &String) -> Result<(bool, bool), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `tokenize` [INFO] [stdout] --> src/tokenizer.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn tokenize(data: Vec) -> Result, String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `Command { std: "docker" "inspect" "838becac29ca3101f7671985249cf92894756fd215d730f5df872a98f71ceadf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "838becac29ca3101f7671985249cf92894756fd215d730f5df872a98f71ceadf", kill_on_drop: false }` [INFO] [stdout] 838becac29ca3101f7671985249cf92894756fd215d730f5df872a98f71ceadf