[INFO] fetching crate rustorm-cli 0.1.0... [INFO] checking rustorm-cli-0.1.0 against master#7f5a42b073dc2bee2aa625052eb066ee07072048 for pr-78991 [INFO] extracting crate rustorm-cli 0.1.0 into /workspace/builds/worker-14/source [INFO] validating manifest of crates.io crate rustorm-cli 0.1.0 on toolchain 7f5a42b073dc2bee2aa625052eb066ee07072048 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate rustorm-cli 0.1.0 [INFO] finished tweaking crates.io crate rustorm-cli 0.1.0 [INFO] tweaked toml for crates.io crate rustorm-cli 0.1.0 written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate crates.io crate rustorm-cli 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "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-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "metadata" "--no-deps" "--format-version=1", 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] 5eece12b7c11ca751858b80f5a82367c9ed8afbef4882d0ce02b4b34cb8b5a1c [INFO] running `Command { std: "docker" "start" "-a" "5eece12b7c11ca751858b80f5a82367c9ed8afbef4882d0ce02b4b34cb8b5a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5eece12b7c11ca751858b80f5a82367c9ed8afbef4882d0ce02b4b34cb8b5a1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5eece12b7c11ca751858b80f5a82367c9ed8afbef4882d0ce02b4b34cb8b5a1c", kill_on_drop: false }` [INFO] [stdout] 5eece12b7c11ca751858b80f5a82367c9ed8afbef4882d0ce02b4b34cb8b5a1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+7f5a42b073dc2bee2aa625052eb066ee07072048" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38472127518e557c76c66ebe8aa5b66012e9d0b0c54d03d95accf2e3b6bac508 [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" "38472127518e557c76c66ebe8aa5b66012e9d0b0c54d03d95accf2e3b6bac508", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking smallvec v0.6.12 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling mysql v16.1.0 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking nom v1.2.4 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking block-padding v0.1.4 [INFO] [stderr] Checking miniz_oxide v0.3.5 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking petgraph v0.4.13 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Checking arrayvec v0.4.12 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking meval v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking sha2 v0.8.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling lexical-core v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling lexical v2.2.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking flate2 v1.0.12 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking scheduled-thread-pool v0.2.2 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking r2d2 v0.8.6 [INFO] [stderr] Checking parking_lot v0.4.8 [INFO] [stderr] Checking num v0.2.0 [INFO] [stderr] Checking tree_magic v0.2.1 [INFO] [stderr] Checking twox-hash v1.5.0 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling thiserror-impl v1.0.4 [INFO] [stderr] Checking thiserror v1.0.4 [INFO] [stderr] Checking serde v1.0.102 [INFO] [stderr] Compiling uuid v0.5.1 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling geo v0.4.13 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling bigdecimal v0.0.14 [INFO] [stderr] Checking bigdecimal v0.1.0 [INFO] [stderr] Checking rust_decimal v1.0.3 [INFO] [stderr] Compiling rustorm_dao v0.4.1 [INFO] [stderr] Checking mysql_common v0.18.1 [INFO] [stderr] Compiling rustorm_codegen v0.3.1 [INFO] [stderr] Checking r2d2_mysql v16.0.0 [INFO] [stderr] Checking rustorm v0.15.2 [INFO] [stderr] Checking rustorm-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/cli.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Write, ErrorKind}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/main.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use rustorm::{TableName, Table, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ErrorKind` [INFO] [stdout] --> src/cli.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{Write, ErrorKind}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/main.rs:8:33 [INFO] [stdout] | [INFO] [stdout] 8 | use rustorm::{TableName, Table, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Add` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ops::Add; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/main.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | let (mut pool, mut em) = connect(table.get_database_url().as_str()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg_matchs` [INFO] [stdout] --> src/main.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | ("mybatis-xml", Some(arg_matchs)) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_matchs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `databaseurl` [INFO] [stdout] --> src/main.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let databaseurl = get_database_url(&matches); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_databaseurl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | let (mut pool, mut em) = connect(table.get_database_url().as_str()); [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: variable does not need to be mutable [INFO] [stdout] --> src/db/mysql.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut em = pool.em_mut(db_url).unwrap_or_else(|e| { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pool` [INFO] [stdout] --> src/main.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | let (mut pool, mut em) = connect(table.get_database_url().as_str()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `arg_matchs` [INFO] [stdout] --> src/main.rs:43:30 [INFO] [stdout] | [INFO] [stdout] 43 | ("mybatis-xml", Some(arg_matchs)) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_matchs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `databaseurl` [INFO] [stdout] --> src/main.rs:44:17 [INFO] [stdout] | [INFO] [stdout] 44 | let databaseurl = get_database_url(&matches); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_databaseurl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | let (mut pool, mut em) = connect(table.get_database_url().as_str()); [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: variable does not need to be mutable [INFO] [stdout] --> src/db/mysql.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut em = pool.em_mut(db_url).unwrap_or_else(|e| { [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 00s [INFO] running `Command { std: "docker" "inspect" "38472127518e557c76c66ebe8aa5b66012e9d0b0c54d03d95accf2e3b6bac508", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38472127518e557c76c66ebe8aa5b66012e9d0b0c54d03d95accf2e3b6bac508", kill_on_drop: false }` [INFO] [stdout] 38472127518e557c76c66ebe8aa5b66012e9d0b0c54d03d95accf2e3b6bac508