[INFO] fetching crate clia-rustorm 0.19.1... [INFO] checking clia-rustorm-0.19.1 against master#0aaad9e757207657064d70bf9e6c1e6eb327bf15 for pr-104148 [INFO] extracting crate clia-rustorm 0.19.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate clia-rustorm 0.19.1 on toolchain 0aaad9e757207657064d70bf9e6c1e6eb327bf15 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0aaad9e757207657064d70bf9e6c1e6eb327bf15" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate clia-rustorm 0.19.1 [INFO] finished tweaking crates.io crate clia-rustorm 0.19.1 [INFO] tweaked toml for crates.io crate clia-rustorm 0.19.1 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate clia-rustorm 0.19.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0aaad9e757207657064d70bf9e6c1e6eb327bf15" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clia-rustorm-dao v0.18.0 [INFO] [stderr] Downloaded clia-rustorm-codegen v0.18.0 [INFO] [stderr] Downloaded r2d2_mysql v21.0.0 [INFO] [stderr] Downloaded r2d2_sqlite v0.19.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+0aaad9e757207657064d70bf9e6c1e6eb327bf15" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c043de1df21bfef656db443390677fca8333b58a6c9e4bc1a20c397dfa076ca4 [INFO] running `Command { std: "docker" "start" "-a" "c043de1df21bfef656db443390677fca8333b58a6c9e4bc1a20c397dfa076ca4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c043de1df21bfef656db443390677fca8333b58a6c9e4bc1a20c397dfa076ca4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c043de1df21bfef656db443390677fca8333b58a6c9e4bc1a20c397dfa076ca4", kill_on_drop: false }` [INFO] [stdout] c043de1df21bfef656db443390677fca8333b58a6c9e4bc1a20c397dfa076ca4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+0aaad9e757207657064d70bf9e6c1e6eb327bf15" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37ef01317ac0d654289e67af82dc1c61a63e05c0703ca61949f9d1caa240f93c [INFO] running `Command { std: "docker" "start" "-a" "37ef01317ac0d654289e67af82dc1c61a63e05c0703ca61949f9d1caa240f93c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling serde_derive v1.0.147 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.87 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling iana-time-zone v0.1.51 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling getrandom v0.2.8 [INFO] [stderr] Compiling itoa v1.0.4 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling time v0.3.16 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking scheduled-thread-pool v0.2.6 [INFO] [stderr] Checking nom v1.2.4 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking meval v0.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Checking bigdecimal v0.3.0 [INFO] [stderr] Checking geo-types v0.7.7 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking chrono v0.4.22 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Checking clia-rustorm-dao v0.18.0 [INFO] [stderr] Compiling find-crate v0.6.3 [INFO] [stderr] Compiling clia-rustorm-codegen v0.18.0 [INFO] [stderr] Checking clia-rustorm v0.19.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable definition [INFO] [stdout] --> examples/update_usage_mysql.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut em = pool [INFO] [stdout] | __________________- [INFO] [stdout] 17 | | .em(db_url) [INFO] [stdout] 18 | | .expect("Should be able to get a connection here.."); [INFO] [stdout] | |____________________________________________________________- any code following this expression is unreachable [INFO] [stdout] 19 | let sql = "UPDATE actor SET last_name = ? WHERE first_name = ?".to_string(); [INFO] [stdout] | ^^^ unreachable definition [INFO] [stdout] | [INFO] [stdout] note: this expression has type `EntityManager`, which is uninhabited [INFO] [stdout] --> examples/update_usage_mysql.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | let mut em = pool [INFO] [stdout] | __________________^ [INFO] [stdout] 17 | | .em(db_url) [INFO] [stdout] 18 | | .expect("Should be able to get a connection here.."); [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `em` [INFO] [stdout] --> examples/update_usage_mysql.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let mut em = pool [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_em` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/update_usage_mysql.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut em = pool [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: unreachable definition [INFO] [stdout] --> examples/simple_select.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut dm = pool.dm(db_url).unwrap(); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] 11 | let sql = "SELECT * FROM actor LIMIT 10"; [INFO] [stdout] | ^^^ unreachable definition [INFO] [stdout] | [INFO] [stdout] note: this expression has type `DaoManager`, which is uninhabited [INFO] [stdout] --> examples/simple_select.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | let mut dm = pool.dm(db_url).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dm` [INFO] [stdout] --> examples/simple_select.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let mut dm = pool.dm(db_url).unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/simple_select.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut dm = pool.dm(db_url).unwrap(); [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable definition [INFO] [stdout] --> examples/select_usage.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut em = pool.em(db_url).unwrap(); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] 24 | let sql = "SELECT * FROM actor LIMIT 10"; [INFO] [stdout] | ^^^ unreachable definition [INFO] [stdout] | [INFO] [stdout] note: this expression has type `EntityManager`, which is uninhabited [INFO] [stdout] --> examples/select_usage.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let mut em = pool.em(db_url).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `em` [INFO] [stdout] --> examples/select_usage.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut em = pool.em(db_url).unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_em` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable definition [INFO] [stdout] --> examples/select_usage_sqlite.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut em = pool.em(db_url).unwrap(); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] 24 | let sql = "SELECT * FROM actor LIMIT 10"; [INFO] [stdout] | ^^^ unreachable definition [INFO] [stdout] | [INFO] [stdout] note: this expression has type `EntityManager`, which is uninhabited [INFO] [stdout] --> examples/select_usage_sqlite.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let mut em = pool.em(db_url).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/select_usage.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut em = pool.em(db_url).unwrap(); [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: unused variable: `em` [INFO] [stdout] --> examples/select_usage_sqlite.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut em = pool.em(db_url).unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_em` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/select_usage_sqlite.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut em = pool.em(db_url).unwrap(); [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: unreachable definition [INFO] [stdout] --> examples/select_usage_mysql.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut em = pool [INFO] [stdout] | __________________- [INFO] [stdout] 24 | | .em(db_url) [INFO] [stdout] 25 | | .expect("Should be able to get a connection here.."); [INFO] [stdout] | |____________________________________________________________- any code following this expression is unreachable [INFO] [stdout] 26 | let sql = "SELECT * FROM actor LIMIT 10"; [INFO] [stdout] | ^^^ unreachable definition [INFO] [stdout] | [INFO] [stdout] note: this expression has type `EntityManager`, which is uninhabited [INFO] [stdout] --> examples/select_usage_mysql.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 23 | let mut em = pool [INFO] [stdout] | __________________^ [INFO] [stdout] 24 | | .em(db_url) [INFO] [stdout] 25 | | .expect("Should be able to get a connection here.."); [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `em` [INFO] [stdout] --> examples/select_usage_mysql.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let mut em = pool [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_em` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable definition [INFO] [stdout] --> examples/insert_usage_mysql.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut em = pool.em(db_url).expect("Can not connect"); [INFO] [stdout] | ----------------------------------------- any code following this expression is unreachable [INFO] [stdout] 47 | let tom_cruise = for_insert::Actor { [INFO] [stdout] | ^^^^^^^^^^ unreachable definition [INFO] [stdout] | [INFO] [stdout] note: this expression has type `EntityManager`, which is uninhabited [INFO] [stdout] --> examples/insert_usage_mysql.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | let mut em = pool.em(db_url).expect("Can not connect"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `em` [INFO] [stdout] --> examples/insert_usage_mysql.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let mut em = pool.em(db_url).expect("Can not connect"); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_em` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/select_usage_mysql.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut em = pool [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] --> examples/insert_usage_mysql.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut em = pool.em(db_url).expect("Can not connect"); [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: unreachable definition [INFO] [stdout] --> examples/insert_to_sqlite.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut em = pool.em(db_url).unwrap(); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] 53 | let ret = em.db().execute_sql_with_return(create_sql, &[]); [INFO] [stdout] | ^^^ unreachable definition [INFO] [stdout] | [INFO] [stdout] note: this expression has type `EntityManager`, which is uninhabited [INFO] [stdout] --> examples/insert_to_sqlite.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 52 | let mut em = pool.em(db_url).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `create_sql` [INFO] [stdout] --> examples/insert_to_sqlite.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let create_sql = "CREATE TABLE actor( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_create_sql` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `em` [INFO] [stdout] --> examples/insert_to_sqlite.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let mut em = pool.em(db_url).unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_em` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable definition [INFO] [stdout] --> examples/show_tables_mysql.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut dm = pool [INFO] [stdout] | __________________- [INFO] [stdout] 11 | | .dm(db_url) [INFO] [stdout] 12 | | .expect("Should be able to get a connection here.."); [INFO] [stdout] | |____________________________________________________________- any code following this expression is unreachable [INFO] [stdout] 13 | let sql = "SHOW TABLES"; [INFO] [stdout] | ^^^ unreachable definition [INFO] [stdout] | [INFO] [stdout] note: this expression has type `DaoManager`, which is uninhabited [INFO] [stdout] --> examples/show_tables_mysql.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | let mut dm = pool [INFO] [stdout] | __________________^ [INFO] [stdout] 11 | | .dm(db_url) [INFO] [stdout] 12 | | .expect("Should be able to get a connection here.."); [INFO] [stdout] | |____________________________________________________________^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dm` [INFO] [stdout] --> examples/show_tables_mysql.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let mut dm = pool [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/show_tables_mysql.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut dm = pool [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] --> examples/insert_to_sqlite.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut em = pool.em(db_url).unwrap(); [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable definition [INFO] [stdout] --> examples/insert_usage.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut em = pool.em(db_url).unwrap(); [INFO] [stdout] | ------------------------ any code following this expression is unreachable [INFO] [stdout] 42 | let tom_cruise = for_insert::Actor { [INFO] [stdout] | ^^^^^^^^^^ unreachable definition [INFO] [stdout] | [INFO] [stdout] note: this expression has type `EntityManager`, which is uninhabited [INFO] [stdout] --> examples/insert_usage.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | let mut em = pool.em(db_url).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `em` [INFO] [stdout] --> examples/insert_usage.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut em = pool.em(db_url).unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_em` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/insert_usage.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let mut em = pool.em(db_url).unwrap(); [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "37ef01317ac0d654289e67af82dc1c61a63e05c0703ca61949f9d1caa240f93c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37ef01317ac0d654289e67af82dc1c61a63e05c0703ca61949f9d1caa240f93c", kill_on_drop: false }` [INFO] [stdout] 37ef01317ac0d654289e67af82dc1c61a63e05c0703ca61949f9d1caa240f93c