[INFO] cloning repository https://github.com/shenhunluo/rustorm-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shenhunluo/rustorm-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshenhunluo%2Frustorm-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshenhunluo%2Frustorm-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0682d981210d3746da6237a423f132f406916a74 [INFO] checking shenhunluo/rustorm-cli against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshenhunluo%2Frustorm-cli" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shenhunluo/rustorm-cli 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/shenhunluo/rustorm-cli [INFO] finished tweaking git repo https://github.com/shenhunluo/rustorm-cli [INFO] tweaked toml for git repo https://github.com/shenhunluo/rustorm-cli written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/shenhunluo/rustorm-cli 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-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] 15adc62baf727357c4574754855adf133dddd23ad7acc141b1a646e10b4047ff [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" "15adc62baf727357c4574754855adf133dddd23ad7acc141b1a646e10b4047ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15adc62baf727357c4574754855adf133dddd23ad7acc141b1a646e10b4047ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15adc62baf727357c4574754855adf133dddd23ad7acc141b1a646e10b4047ff", kill_on_drop: false }` [INFO] [stdout] 15adc62baf727357c4574754855adf133dddd23ad7acc141b1a646e10b4047ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 558f575f3382f0de281ca9ddb6491122b07f9ba537c9fbf7cc08e601cbd4022a [INFO] running `Command { std: "docker" "start" "-a" "558f575f3382f0de281ca9ddb6491122b07f9ba537c9fbf7cc08e601cbd4022a", 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 proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking fixedbitset v0.1.9 [INFO] [stderr] Checking ordermap v0.3.5 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking nom v2.2.1 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking block-padding v0.1.4 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking meval v0.1.0 [INFO] [stderr] Checking miniz_oxide v0.3.5 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking block-buffer v0.7.3 [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-iter v0.1.39 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Checking petgraph v0.4.13 [INFO] [stderr] Checking sha2 v0.8.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling lexical-core v0.4.6 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling lexical v2.2.2 [INFO] [stderr] Compiling syn v1.0.7 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking regex v1.3.1 [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] Compiling rand v0.3.23 [INFO] [stderr] Checking scheduled-thread-pool v0.2.2 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking r2d2 v0.8.6 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking parking_lot v0.4.8 [INFO] [stderr] Checking tree_magic v0.2.1 [INFO] [stderr] Checking num v0.2.0 [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 chrono v0.4.9 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking rust_decimal v1.0.3 [INFO] [stderr] Checking bigdecimal v0.1.0 [INFO] [stderr] Checking bigdecimal v0.0.14 [INFO] [stderr] Checking geo v0.4.13 [INFO] [stderr] Checking uuid v0.5.1 [INFO] [stderr] Checking mysql_common v0.18.1 [INFO] [stderr] Checking rustorm_dao v0.4.1 [INFO] [stderr] Checking mysql v16.1.0 [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: 8 warnings emitted [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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 01s [INFO] running `Command { std: "docker" "inspect" "558f575f3382f0de281ca9ddb6491122b07f9ba537c9fbf7cc08e601cbd4022a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "558f575f3382f0de281ca9ddb6491122b07f9ba537c9fbf7cc08e601cbd4022a", kill_on_drop: false }` [INFO] [stdout] 558f575f3382f0de281ca9ddb6491122b07f9ba537c9fbf7cc08e601cbd4022a