[INFO] cloning repository https://github.com/TonyHsieh/rustack [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TonyHsieh/rustack" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTonyHsieh%2Frustack", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTonyHsieh%2Frustack'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b2a0fffbb31341381b0cdf9e16ea5e3d67b3ddc3 [INFO] checking TonyHsieh/rustack against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTonyHsieh%2Frustack" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TonyHsieh/rustack on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TonyHsieh/rustack [INFO] finished tweaking git repo https://github.com/TonyHsieh/rustack [INFO] tweaked toml for git repo https://github.com/TonyHsieh/rustack written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/TonyHsieh/rustack already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e19be1aa60a3bd29bd7c3590e60d7a4723a69992ebe54a28e5b2746778b06e1f [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" "e19be1aa60a3bd29bd7c3590e60d7a4723a69992ebe54a28e5b2746778b06e1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e19be1aa60a3bd29bd7c3590e60d7a4723a69992ebe54a28e5b2746778b06e1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e19be1aa60a3bd29bd7c3590e60d7a4723a69992ebe54a28e5b2746778b06e1f", kill_on_drop: false }` [INFO] [stdout] e19be1aa60a3bd29bd7c3590e60d7a4723a69992ebe54a28e5b2746778b06e1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f93150d4c26a779653b69ee777c56948c9bff46b75428812b8e35eb9681b756d [INFO] running `Command { std: "docker" "start" "-a" "f93150d4c26a779653b69ee777c56948c9bff46b75428812b8e35eb9681b756d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling memchr v2.3.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling libsqlite3-sys v0.17.1 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking serde v1.0.104 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking rusqlite v0.21.0 [INFO] [stderr] Checking rustack v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> main.rs:70:90 [INFO] [stdout] | [INFO] [stdout] 70 | fn stack_pop(connect: &rusqlite::Connection, dataMap: HashMap) -> Result<(String)>{ [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:74:3 [INFO] [stdout] | [INFO] [stdout] 74 | / /** [INFO] [stdout] 75 | | let pop_data:String = connect.query_row_and_then( [INFO] [stdout] 76 | | "SELECT stackname, data, MAX(rowid) FROM storage WHERE stackname='?';", [INFO] [stdout] 77 | | params![dataMap["stackname"]], [INFO] [stdout] 78 | | |row| row.get(0), [INFO] [stdout] 79 | | ).unwrap(); [INFO] [stdout] 80 | | **/ [INFO] [stdout] | |_____^ [INFO] [stdout] 81 | [INFO] [stdout] 82 | / let pop_data:Result< String > = connect.query_row_and_then( [INFO] [stdout] 83 | | "SELECT data, MAX(rowid) FROM storage WHERE stackname= ?1;", [INFO] [stdout] 84 | | params![dataMap["stackname"]], [INFO] [stdout] 85 | | |row| row.get(0), [INFO] [stdout] 86 | | ); [INFO] [stdout] | |____- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:184:3 [INFO] [stdout] | [INFO] [stdout] 184 | / /** [INFO] [stdout] 185 | | let raw_string = first_json_bracket(&format!("{}", String::from_utf8_lossy(&buffer[..]).to_string())); [INFO] [stdout] 186 | | attempt_json_parse(raw_string.to_string()); [INFO] [stdout] 187 | | **/ [INFO] [stdout] | |_____^ [INFO] [stdout] ... [INFO] [stdout] 200 | let get = b"GET"; [INFO] [stdout] | ----------------- rustdoc does not generate documentation for statements [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> main.rs:70:90 [INFO] [stdout] | [INFO] [stdout] 70 | fn stack_pop(connect: &rusqlite::Connection, dataMap: HashMap) -> Result<(String)>{ [INFO] [stdout] | ^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:74:3 [INFO] [stdout] | [INFO] [stdout] 74 | / /** [INFO] [stdout] 75 | | let pop_data:String = connect.query_row_and_then( [INFO] [stdout] 76 | | "SELECT stackname, data, MAX(rowid) FROM storage WHERE stackname='?';", [INFO] [stdout] 77 | | params![dataMap["stackname"]], [INFO] [stdout] 78 | | |row| row.get(0), [INFO] [stdout] 79 | | ).unwrap(); [INFO] [stdout] 80 | | **/ [INFO] [stdout] | |_____^ [INFO] [stdout] 81 | [INFO] [stdout] 82 | / let pop_data:Result< String > = connect.query_row_and_then( [INFO] [stdout] 83 | | "SELECT data, MAX(rowid) FROM storage WHERE stackname= ?1;", [INFO] [stdout] 84 | | params![dataMap["stackname"]], [INFO] [stdout] 85 | | |row| row.get(0), [INFO] [stdout] 86 | | ); [INFO] [stdout] | |____- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> main.rs:184:3 [INFO] [stdout] | [INFO] [stdout] 184 | / /** [INFO] [stdout] 185 | | let raw_string = first_json_bracket(&format!("{}", String::from_utf8_lossy(&buffer[..]).to_string())); [INFO] [stdout] 186 | | attempt_json_parse(raw_string.to_string()); [INFO] [stdout] 187 | | **/ [INFO] [stdout] | |_____^ [INFO] [stdout] ... [INFO] [stdout] 200 | let get = b"GET"; [INFO] [stdout] | ----------------- rustdoc does not generate documentation for statements [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> main.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | Err(error) => format!("Stack Underflow!"), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connect` [INFO] [stdout] --> main.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | fn stack_peek(connect: &rusqlite::Connection, dataMap: HashMap) -> Result{ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dataMap` [INFO] [stdout] --> main.rs:106:47 [INFO] [stdout] | [INFO] [stdout] 106 | fn stack_peek(connect: &rusqlite::Connection, dataMap: HashMap) -> Result{ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dataMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stack_peek` [INFO] [stdout] --> main.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn stack_peek(connect: &rusqlite::Connection, dataMap: HashMap) -> Result{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> main.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | Err(error) => format!("Stack Underflow!"), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connect` [INFO] [stdout] --> main.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | fn stack_peek(connect: &rusqlite::Connection, dataMap: HashMap) -> Result{ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dataMap` [INFO] [stdout] --> main.rs:106:47 [INFO] [stdout] | [INFO] [stdout] 106 | fn stack_peek(connect: &rusqlite::Connection, dataMap: HashMap) -> Result{ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dataMap` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stack_peek` [INFO] [stdout] --> main.rs:106:4 [INFO] [stdout] | [INFO] [stdout] 106 | fn stack_peek(connect: &rusqlite::Connection, dataMap: HashMap) -> Result{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> main.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | init_db(&conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dataMap` should have a snake case name [INFO] [stdout] --> main.rs:54:47 [INFO] [stdout] | [INFO] [stdout] 54 | fn stack_push(connect: &rusqlite::Connection, dataMap: HashMap) -> Result { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `data_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dataMap` should have a snake case name [INFO] [stdout] --> main.rs:70:46 [INFO] [stdout] | [INFO] [stdout] 70 | fn stack_pop(connect: &rusqlite::Connection, dataMap: HashMap) -> Result<(String)>{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `data_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dataMap` should have a snake case name [INFO] [stdout] --> main.rs:106:47 [INFO] [stdout] | [INFO] [stdout] 106 | fn stack_peek(connect: &rusqlite::Connection, dataMap: HashMap) -> Result{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `data_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> main.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | init_db(&conn); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dataMap` should have a snake case name [INFO] [stdout] --> main.rs:54:47 [INFO] [stdout] | [INFO] [stdout] 54 | fn stack_push(connect: &rusqlite::Connection, dataMap: HashMap) -> Result { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `data_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dataMap` should have a snake case name [INFO] [stdout] --> main.rs:70:46 [INFO] [stdout] | [INFO] [stdout] 70 | fn stack_pop(connect: &rusqlite::Connection, dataMap: HashMap) -> Result<(String)>{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `data_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dataMap` should have a snake case name [INFO] [stdout] --> main.rs:106:47 [INFO] [stdout] | [INFO] [stdout] 106 | fn stack_peek(connect: &rusqlite::Connection, dataMap: HashMap) -> Result{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `data_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 50.18s [INFO] running `Command { std: "docker" "inspect" "f93150d4c26a779653b69ee777c56948c9bff46b75428812b8e35eb9681b756d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f93150d4c26a779653b69ee777c56948c9bff46b75428812b8e35eb9681b756d", kill_on_drop: false }` [INFO] [stdout] f93150d4c26a779653b69ee777c56948c9bff46b75428812b8e35eb9681b756d