[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0682d981210d3746da6237a423f132f406916a74 [INFO] testing shenhunluo/rustorm-cli against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshenhunluo%2Frustorm-cli" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shenhunluo/rustorm-cli on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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-5/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "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] 34612a3936c7e2a053df0c2afc56e97db8f6f1488aeeca61af76eadce420e9f3 [INFO] running `Command { std: "docker" "start" "-a" "34612a3936c7e2a053df0c2afc56e97db8f6f1488aeeca61af76eadce420e9f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "34612a3936c7e2a053df0c2afc56e97db8f6f1488aeeca61af76eadce420e9f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34612a3936c7e2a053df0c2afc56e97db8f6f1488aeeca61af76eadce420e9f3", kill_on_drop: false }` [INFO] [stdout] 34612a3936c7e2a053df0c2afc56e97db8f6f1488aeeca61af76eadce420e9f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4524320a85c36d5b28d54cdf2daf61f5fe90334b38c654cc948d5724a2c449e1 [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" "4524320a85c36d5b28d54cdf2daf61f5fe90334b38c654cc948d5724a2c449e1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling syn v1.0.7 [INFO] [stderr] Compiling smallvec v0.6.12 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling nodrop v0.1.14 [INFO] [stderr] Compiling static_assertions v0.3.4 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling mysql v16.1.0 [INFO] [stderr] Compiling bit-vec v0.6.1 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling nom v1.2.4 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.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-iter v0.1.39 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling block-padding v0.1.4 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling miniz_oxide v0.3.5 [INFO] [stderr] Compiling lock_api v0.3.1 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling meval v0.1.0 [INFO] [stderr] Compiling block-buffer v0.7.3 [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 aho-corasick v0.7.6 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling flate2 v1.0.12 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.2 [INFO] [stderr] Compiling r2d2 v0.8.6 [INFO] [stderr] Compiling parking_lot v0.4.8 [INFO] [stderr] Compiling tree_magic v0.2.1 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling thiserror-impl v1.0.4 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling thiserror v1.0.4 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling rust_decimal v1.0.3 [INFO] [stderr] Compiling bigdecimal v0.1.0 [INFO] [stderr] Compiling uuid v0.5.1 [INFO] [stderr] Compiling bigdecimal v0.0.14 [INFO] [stderr] Compiling geo v0.4.13 [INFO] [stderr] Compiling mysql_common v0.18.1 [INFO] [stderr] Compiling rustorm_dao v0.4.1 [INFO] [stderr] Compiling rustorm_codegen v0.3.1 [INFO] [stderr] Compiling r2d2_mysql v16.0.0 [INFO] [stderr] Compiling rustorm v0.15.2 [INFO] [stderr] Compiling 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 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 19s [INFO] running `Command { std: "docker" "inspect" "4524320a85c36d5b28d54cdf2daf61f5fe90334b38c654cc948d5724a2c449e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4524320a85c36d5b28d54cdf2daf61f5fe90334b38c654cc948d5724a2c449e1", kill_on_drop: false }` [INFO] [stdout] 4524320a85c36d5b28d54cdf2daf61f5fe90334b38c654cc948d5724a2c449e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c30508a29115e2b491f6eb5e762ebb83c7f83caf0c3c84fd7486f6867baed256 [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" "c30508a29115e2b491f6eb5e762ebb83c7f83caf0c3c84fd7486f6867baed256", kill_on_drop: false }` [INFO] [stderr] Compiling 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 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 test [unoptimized + debuginfo] target(s) in 3.06s [INFO] running `Command { std: "docker" "inspect" "c30508a29115e2b491f6eb5e762ebb83c7f83caf0c3c84fd7486f6867baed256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c30508a29115e2b491f6eb5e762ebb83c7f83caf0c3c84fd7486f6867baed256", kill_on_drop: false }` [INFO] [stdout] c30508a29115e2b491f6eb5e762ebb83c7f83caf0c3c84fd7486f6867baed256 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c9a32d21e5dbc7e5f8889a3ce3723ce7ffb7091f5c4c388f5356171766ff31ee [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" "c9a32d21e5dbc7e5f8889a3ce3723ce7ffb7091f5c4c388f5356171766ff31ee", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ErrorKind` [INFO] [stderr] --> src/cli.rs:4:22 [INFO] [stderr] | [INFO] [stderr] 4 | use std::io::{Write, ErrorKind}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Value` [INFO] [stderr] --> src/main.rs:8:33 [INFO] [stderr] | [INFO] [stderr] 8 | use rustorm::{TableName, Table, Value}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ops::Add` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::ops::Add; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pool` [INFO] [stderr] --> src/main.rs:52:14 [INFO] [stderr] | [INFO] [stderr] 52 | let (mut pool, mut em) = connect(table.get_database_url().as_str()); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pool` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `arg_matchs` [INFO] [stderr] --> src/main.rs:43:30 [INFO] [stderr] | [INFO] [stderr] 43 | ("mybatis-xml", Some(arg_matchs)) => { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_arg_matchs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `databaseurl` [INFO] [stderr] --> src/main.rs:44:17 [INFO] [stderr] | [INFO] [stderr] 44 | let databaseurl = get_database_url(&matches); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_databaseurl` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:52:14 [INFO] [stderr] | [INFO] [stderr] 52 | let (mut pool, mut em) = connect(table.get_database_url().as_str()); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/db/mysql.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 10 | let mut em = pool.em_mut(db_url).unwrap_or_else(|e| { [INFO] [stderr] | ----^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: 8 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.49s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/rustorm_cli-46aa801341632d5a [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c9a32d21e5dbc7e5f8889a3ce3723ce7ffb7091f5c4c388f5356171766ff31ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9a32d21e5dbc7e5f8889a3ce3723ce7ffb7091f5c4c388f5356171766ff31ee", kill_on_drop: false }` [INFO] [stdout] c9a32d21e5dbc7e5f8889a3ce3723ce7ffb7091f5c4c388f5356171766ff31ee