[INFO] crate dist_tx 0.2.1 is already in cache [INFO] extracting crate dist_tx 0.2.1 into work/ex/clippy-test-run/sources/stable/reg/dist_tx/0.2.1 [INFO] extracting crate dist_tx 0.2.1 into work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/dist_tx/0.2.1 [INFO] validating manifest of dist_tx-0.2.1 on toolchain stable [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of dist_tx-0.2.1 on toolchain stable+rustflags=-Dclippy::into_iter_on_array [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing dist_tx-0.2.1 [INFO] finished frobbing dist_tx-0.2.1 [INFO] frobbed toml for dist_tx-0.2.1 written to work/ex/clippy-test-run/sources/stable/reg/dist_tx/0.2.1/Cargo.toml [INFO] started frobbing dist_tx-0.2.1 [INFO] finished frobbing dist_tx-0.2.1 [INFO] frobbed toml for dist_tx-0.2.1 written to work/ex/clippy-test-run/sources/stable+rustflags=-Dclippy%3A%3Ainto_iter_on_array/reg/dist_tx/0.2.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+stable" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] linting dist_tx-0.2.1 against stable for clippy-test-run [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/clippy-test-run/worker-1/stable:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/clippy-test-run/sources/stable/reg/dist_tx/0.2.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+stable" "clippy" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 870acb5c29fa459341b1b5e3c05a00f1aa430d077c7e1ef78e29f7da2605fece [INFO] running `"docker" "start" "-a" "870acb5c29fa459341b1b5e3c05a00f1aa430d077c7e1ef78e29f7da2605fece"` [INFO] [stderr] Checking dist_tx v0.2.1 (/opt/crater/workdir) [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/rm/rm_error.rs:77:19 [INFO] [stderr] | [INFO] [stderr] 77 | RmError { c: c, s: s } [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/rm/rm_error.rs:77:25 [INFO] [stderr] | [INFO] [stderr] 77 | RmError { c: c, s: s } [INFO] [stderr] | ^^^^ help: replace it with: `s` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/tm/simple_transaction_manager.rs:49:13 [INFO] [stderr] | [INFO] [stderr] 49 | name: name, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `name` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/tm/xa_transaction_id.rs:44:17 [INFO] [stderr] | [INFO] [stderr] 44 | format_id: format_id, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `format_id` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/tm/xa_transaction_id.rs:45:17 [INFO] [stderr] | [INFO] [stderr] 45 | global_tid: global_tid, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `global_tid` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/tm/xa_transaction_id.rs:46:17 [INFO] [stderr] | [INFO] [stderr] 46 | branch_qualifier: branch_qualifier, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `branch_qualifier` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/rm/rm_error.rs:77:19 [INFO] [stderr] | [INFO] [stderr] 77 | RmError { c: c, s: s } [INFO] [stderr] | ^^^^ help: replace it with: `c` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::redundant_field_names)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/rm/rm_error.rs:77:25 [INFO] [stderr] | [INFO] [stderr] 77 | RmError { c: c, s: s } [INFO] [stderr] | ^^^^ help: replace it with: `s` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/tm/simple_transaction_manager.rs:49:13 [INFO] [stderr] | [INFO] [stderr] 49 | name: name, [INFO] [stderr] | ^^^^^^^^^^ help: replace it with: `name` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/tm/xa_transaction_id.rs:44:17 [INFO] [stderr] | [INFO] [stderr] 44 | format_id: format_id, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: replace it with: `format_id` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/tm/xa_transaction_id.rs:45:17 [INFO] [stderr] | [INFO] [stderr] 45 | global_tid: global_tid, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `global_tid` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: redundant field names in struct initialization [INFO] [stderr] --> src/tm/xa_transaction_id.rs:46:17 [INFO] [stderr] | [INFO] [stderr] 46 | branch_qualifier: branch_qualifier, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `branch_qualifier` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_field_names [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/rm/flags.rs:48:26 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn contains_only(&self, other: Flags) -> bool { [INFO] [stderr] | ^^^^^ help: consider passing by value instead: `self` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::trivially_copy_pass_by_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/tm/simple_transaction_manager.rs:95:55 [INFO] [stderr] | [INFO] [stderr] 95 | fn rm_action(&mut self, action: F, global_tid: &u64) -> XaResult<()> [INFO] [stderr] | ^^^^ help: consider passing by value instead: `u64` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/tm/simple_transaction_manager.rs:113:40 [INFO] [stderr] | [INFO] [stderr] 113 | fn rm_start(&mut self, global_tid: &u64) -> XaResult<()> { [INFO] [stderr] | ^^^^ help: consider passing by value instead: `u64` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/tm/simple_transaction_manager.rs:129:46 [INFO] [stderr] | [INFO] [stderr] 129 | fn rm_end_success(&mut self, global_tid: &u64) -> XaResult<()> { [INFO] [stderr] | ^^^^ help: consider passing by value instead: `u64` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/tm/simple_transaction_manager.rs:133:46 [INFO] [stderr] | [INFO] [stderr] 133 | fn rm_end_failure(&mut self, global_tid: &u64) -> XaResult<()> { [INFO] [stderr] | ^^^^ help: consider passing by value instead: `u64` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/tm/simple_transaction_manager.rs:137:42 [INFO] [stderr] | [INFO] [stderr] 137 | fn rm_prepare(&mut self, global_tid: &u64) -> XaResult<()> { [INFO] [stderr] | ^^^^ help: consider passing by value instead: `u64` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/tm/simple_transaction_manager.rs:141:41 [INFO] [stderr] | [INFO] [stderr] 141 | fn rm_commit(&mut self, global_tid: &u64) -> XaResult<()> { [INFO] [stderr] | ^^^^ help: consider passing by value instead: `u64` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/tm/simple_transaction_manager.rs:145:51 [INFO] [stderr] | [INFO] [stderr] 145 | fn rm_commit_one_phase(&mut self, global_tid: &u64) -> XaResult<()> { [INFO] [stderr] | ^^^^ help: consider passing by value instead: `u64` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/tm/simple_transaction_manager.rs:149:43 [INFO] [stderr] | [INFO] [stderr] 149 | fn rm_rollback(&mut self, global_tid: &u64) -> XaResult<()> { [INFO] [stderr] | ^^^^ help: consider passing by value instead: `u64` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/tm/simple_transaction_manager.rs:162:46 [INFO] [stderr] | [INFO] [stderr] 162 | fn trace_error(&self, e: &XaError, gtid: &u64, method_name: &'static str) { [INFO] [stderr] | ^^^^ help: consider passing by value instead: `u64` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/tm/simple_transaction_manager.rs:172:52 [INFO] [stderr] | [INFO] [stderr] 172 | fn try_rollback_after(&mut self, current_gtid: &u64, method: &'static str) -> XaResult<()> { [INFO] [stderr] | ^^^^ help: consider passing by value instead: `u64` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/tm/simple_transaction_manager.rs:224:26 [INFO] [stderr] | [INFO] [stderr] 224 | fn new_xatid(global_tid: &u64, tm_id: &u64, rm_id: &u64) -> XaTransactionId { [INFO] [stderr] | ^^^^ help: consider passing by value instead: `u64` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/tm/simple_transaction_manager.rs:224:39 [INFO] [stderr] | [INFO] [stderr] 224 | fn new_xatid(global_tid: &u64, tm_id: &u64, rm_id: &u64) -> XaTransactionId { [INFO] [stderr] | ^^^^ help: consider passing by value instead: `u64` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/tm/simple_transaction_manager.rs:224:52 [INFO] [stderr] | [INFO] [stderr] 224 | fn new_xatid(global_tid: &u64, tm_id: &u64, rm_id: &u64) -> XaTransactionId { [INFO] [stderr] | ^^^^ help: consider passing by value instead: `u64` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/rm/flags.rs:48:26 [INFO] [stderr] | [INFO] [stderr] 48 | pub fn contains_only(&self, other: Flags) -> bool { [INFO] [stderr] | ^^^^^ help: consider passing by value instead: `self` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(clippy::trivially_copy_pass_by_ref)] on by default [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/tm/simple_transaction_manager.rs:95:55 [INFO] [stderr] | [INFO] [stderr] 95 | fn rm_action(&mut self, action: F, global_tid: &u64) -> XaResult<()> [INFO] [stderr] | ^^^^ help: consider passing by value instead: `u64` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/tm/simple_transaction_manager.rs:113:40 [INFO] [stderr] | [INFO] [stderr] 113 | fn rm_start(&mut self, global_tid: &u64) -> XaResult<()> { [INFO] [stderr] | ^^^^ help: consider passing by value instead: `u64` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/tm/simple_transaction_manager.rs:129:46 [INFO] [stderr] | [INFO] [stderr] 129 | fn rm_end_success(&mut self, global_tid: &u64) -> XaResult<()> { [INFO] [stderr] | ^^^^ help: consider passing by value instead: `u64` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/tm/simple_transaction_manager.rs:133:46 [INFO] [stderr] | [INFO] [stderr] 133 | fn rm_end_failure(&mut self, global_tid: &u64) -> XaResult<()> { [INFO] [stderr] | ^^^^ help: consider passing by value instead: `u64` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/tm/simple_transaction_manager.rs:137:42 [INFO] [stderr] | [INFO] [stderr] 137 | fn rm_prepare(&mut self, global_tid: &u64) -> XaResult<()> { [INFO] [stderr] | ^^^^ help: consider passing by value instead: `u64` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/tm/simple_transaction_manager.rs:141:41 [INFO] [stderr] | [INFO] [stderr] 141 | fn rm_commit(&mut self, global_tid: &u64) -> XaResult<()> { [INFO] [stderr] | ^^^^ help: consider passing by value instead: `u64` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/tm/simple_transaction_manager.rs:145:51 [INFO] [stderr] | [INFO] [stderr] 145 | fn rm_commit_one_phase(&mut self, global_tid: &u64) -> XaResult<()> { [INFO] [stderr] | ^^^^ help: consider passing by value instead: `u64` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/tm/simple_transaction_manager.rs:149:43 [INFO] [stderr] | [INFO] [stderr] 149 | fn rm_rollback(&mut self, global_tid: &u64) -> XaResult<()> { [INFO] [stderr] | ^^^^ help: consider passing by value instead: `u64` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/tm/simple_transaction_manager.rs:162:46 [INFO] [stderr] | [INFO] [stderr] 162 | fn trace_error(&self, e: &XaError, gtid: &u64, method_name: &'static str) { [INFO] [stderr] | ^^^^ help: consider passing by value instead: `u64` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/tm/simple_transaction_manager.rs:172:52 [INFO] [stderr] | [INFO] [stderr] 172 | fn try_rollback_after(&mut self, current_gtid: &u64, method: &'static str) -> XaResult<()> { [INFO] [stderr] | ^^^^ help: consider passing by value instead: `u64` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/tm/simple_transaction_manager.rs:224:26 [INFO] [stderr] | [INFO] [stderr] 224 | fn new_xatid(global_tid: &u64, tm_id: &u64, rm_id: &u64) -> XaTransactionId { [INFO] [stderr] | ^^^^ help: consider passing by value instead: `u64` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/tm/simple_transaction_manager.rs:224:39 [INFO] [stderr] | [INFO] [stderr] 224 | fn new_xatid(global_tid: &u64, tm_id: &u64, rm_id: &u64) -> XaTransactionId { [INFO] [stderr] | ^^^^ help: consider passing by value instead: `u64` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] warning: this argument is passed by reference, but would be more efficient if passed by value [INFO] [stderr] --> src/tm/simple_transaction_manager.rs:224:52 [INFO] [stderr] | [INFO] [stderr] 224 | fn new_xatid(global_tid: &u64, tm_id: &u64, rm_id: &u64) -> XaTransactionId { [INFO] [stderr] | ^^^^ help: consider passing by value instead: `u64` [INFO] [stderr] | [INFO] [stderr] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#trivially_copy_pass_by_ref [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.40s [INFO] running `"docker" "inspect" "870acb5c29fa459341b1b5e3c05a00f1aa430d077c7e1ef78e29f7da2605fece"` [INFO] running `"docker" "rm" "-f" "870acb5c29fa459341b1b5e3c05a00f1aa430d077c7e1ef78e29f7da2605fece"` [INFO] [stdout] 870acb5c29fa459341b1b5e3c05a00f1aa430d077c7e1ef78e29f7da2605fece