[INFO] cloning repository https://github.com/teivah/vega [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/teivah/vega" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteivah%2Fvega", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteivah%2Fvega'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 292d45b446d4fe1aa96dc6b16593f007948a7a89 [INFO] checking teivah/vega against master#b286722878e18db29a7fbe672be7c4d3b02e8e4d for pr-127655 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fteivah%2Fvega" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/teivah/vega on toolchain b286722878e18db29a7fbe672be7c4d3b02e8e4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b286722878e18db29a7fbe672be7c4d3b02e8e4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/teivah/vega [INFO] finished tweaking git repo https://github.com/teivah/vega [INFO] tweaked toml for git repo https://github.com/teivah/vega written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/teivah/vega already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b286722878e18db29a7fbe672be7c4d3b02e8e4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded queues v1.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+b286722878e18db29a7fbe672be7c4d3b02e8e4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c2591f39f0dac5483a7ba497417be212f82b6b0752417b53b949cd4b7f7c1e4 [INFO] running `Command { std: "docker" "start" "-a" "1c2591f39f0dac5483a7ba497417be212f82b6b0752417b53b949cd4b7f7c1e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c2591f39f0dac5483a7ba497417be212f82b6b0752417b53b949cd4b7f7c1e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c2591f39f0dac5483a7ba497417be212f82b6b0752417b53b949cd4b7f7c1e4", kill_on_drop: false }` [INFO] [stdout] 1c2591f39f0dac5483a7ba497417be212f82b6b0752417b53b949cd4b7f7c1e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+b286722878e18db29a7fbe672be7c4d3b02e8e4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0078ac0d6e88c7d011c231544f62d83d9d79504e54401522325148f5d8fe20cc [INFO] running `Command { std: "docker" "start" "-a" "0078ac0d6e88c7d011c231544f62d83d9d79504e54401522325148f5d8fe20cc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling syn v1.0.36 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking array-macro v1.0.5 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking aho-corasick v0.7.13 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking queues v1.1.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling enum-map-derive v0.4.3 [INFO] [stderr] Checking enum-map v0.6.2 [INFO] [stderr] Checking majorana v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/mvm3.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/mvm3.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Once` [INFO] [stdout] --> src/mvm3.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Once; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/mvm1.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/mvm1.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/mvm2.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/mvm2.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> src/opcodes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/opcodes.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> src/opcodes.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `VirtualMachine` is never used [INFO] [stdout] --> src/main.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | trait VirtualMachine { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYCLES_MEMORY_ACCESS` is never used [INFO] [stdout] --> src/mvm1.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const CYCLES_MEMORY_ACCESS: f32 = 50.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYCLES_REGISTER_ACCESS` is never used [INFO] [stdout] --> src/mvm1.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const CYCLES_REGISTER_ACCESS: f32 = 1.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYCLES_DECODE` is never used [INFO] [stdout] --> src/mvm1.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const CYCLES_DECODE: f32 = 1.; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ctx` and `cycles` are never read [INFO] [stdout] --> src/mvm1.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Mvm1 { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 11 | ctx: Context, [INFO] [stdout] | ^^^ [INFO] [stdout] 12 | cycles: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fetch_instruction`, `decode`, and `execute` are never used [INFO] [stdout] --> src/mvm1.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl Mvm1 { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | fn fetch_instruction(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | fn decode<'a>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYCLES_L1_ACCESS` is never used [INFO] [stdout] --> src/mvm2.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | const CYCLES_L1_ACCESS: f32 = 1.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYCLES_MEMORY_ACCESS` is never used [INFO] [stdout] --> src/mvm2.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const CYCLES_MEMORY_ACCESS: f32 = 50. + CYCLES_L1_ACCESS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYCLES_REGISTER_ACCESS` is never used [INFO] [stdout] --> src/mvm2.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const CYCLES_REGISTER_ACCESS: f32 = 1.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYCLES_DECODE` is never used [INFO] [stdout] --> src/mvm2.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const CYCLES_DECODE: f32 = 1.; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `L1I_SIZE` is never used [INFO] [stdout] --> src/mvm2.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const L1I_SIZE: i32 = 64; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ctx`, `cycles`, and `l1i` are never read [INFO] [stdout] --> src/mvm2.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Mvm2 { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 13 | ctx: Context, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | cycles: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 15 | l1i: (i32, i32), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `fetch_instruction`, `present_in_l1i`, `fetch_l1i`, `decode`, and `execute` are never used [INFO] [stdout] --> src/mvm2.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl Mvm2 { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | fn fetch_instruction(&mut self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | fn present_in_l1i(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn fetch_l1i(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn decode<'a>( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | fn execute( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Runner` is never constructed [INFO] [stdout] --> src/opcodes.rs:1331:8 [INFO] [stdout] | [INFO] [stdout] 1331 | struct Runner { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `run` are never used [INFO] [stdout] --> src/opcodes.rs:1337:8 [INFO] [stdout] | [INFO] [stdout] 1336 | impl Runner { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 1337 | fn new(application: Application, memory_bytes: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1344 | fn run(&mut self) -> Result<(), String> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse` is never used [INFO] [stdout] --> src/parser.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn parse(s: String) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_args` is never used [INFO] [stdout] --> src/parser.rs:341:4 [INFO] [stdout] | [INFO] [stdout] 341 | fn validate_args(expected: usize, args: &Vec<&str>, line: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_args_interval` is never used [INFO] [stdout] --> src/parser.rs:355:4 [INFO] [stdout] | [INFO] [stdout] 355 | fn validate_args_interval( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `i32` is never used [INFO] [stdout] --> src/parser.rs:375:4 [INFO] [stdout] | [INFO] [stdout] 375 | fn i32(s: String) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_offset_reg` is never used [INFO] [stdout] --> src/parser.rs:382:4 [INFO] [stdout] | [INFO] [stdout] 382 | fn parse_offset_reg(s: String) -> Result<(i32, RegisterType), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_register` is never used [INFO] [stdout] --> src/parser.rs:398:4 [INFO] [stdout] | [INFO] [stdout] 398 | fn parse_register(s: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/mvm3.rs:555:26 [INFO] [stdout] | [INFO] [stdout] 555 | .as_str() [INFO] [stdout] | __________________________^ [INFO] [stdout] 556 | | .borrow(), [INFO] [stdout] | |_________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/mvm3.rs:571:26 [INFO] [stdout] | [INFO] [stdout] 571 | .as_str() [INFO] [stdout] | __________________________^ [INFO] [stdout] 572 | | .borrow(), [INFO] [stdout] | |_________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/mvm1.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | .as_str() [INFO] [stdout] | __________________________^ [INFO] [stdout] 119 | | .borrow(), [INFO] [stdout] | |_________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/mvm2.rs:136:26 [INFO] [stdout] | [INFO] [stdout] 136 | .as_str() [INFO] [stdout] | __________________________^ [INFO] [stdout] 137 | | .borrow(), [INFO] [stdout] | |_________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/opcodes.rs:1406:26 [INFO] [stdout] | [INFO] [stdout] 1406 | .as_str() [INFO] [stdout] | __________________________^ [INFO] [stdout] 1407 | | .borrow(), [INFO] [stdout] | |_________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/opcodes.rs:1418:26 [INFO] [stdout] | [INFO] [stdout] 1418 | .as_str() [INFO] [stdout] | __________________________^ [INFO] [stdout] 1419 | | .borrow(), [INFO] [stdout] | |_________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | .as_str() [INFO] [stdout] | __________________________^ [INFO] [stdout] 51 | | .borrow(), [INFO] [stdout] | |_________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | .as_str() [INFO] [stdout] | __________________________^ [INFO] [stdout] 65 | | .borrow(), [INFO] [stdout] | |_________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:78:26 [INFO] [stdout] | [INFO] [stdout] 78 | .as_str() [INFO] [stdout] | __________________________^ [INFO] [stdout] 79 | | .borrow() [INFO] [stdout] | |_________________________^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Borrow`, so calling `borrow` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.19s [INFO] running `Command { std: "docker" "inspect" "0078ac0d6e88c7d011c231544f62d83d9d79504e54401522325148f5d8fe20cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0078ac0d6e88c7d011c231544f62d83d9d79504e54401522325148f5d8fe20cc", kill_on_drop: false }` [INFO] [stdout] 0078ac0d6e88c7d011c231544f62d83d9d79504e54401522325148f5d8fe20cc