[INFO] fetching crate rg_formats 0.1.2... [INFO] testing rg_formats-0.1.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate rg_formats 0.1.2 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate rg_formats 0.1.2 [INFO] finished tweaking crates.io crate rg_formats 0.1.2 [INFO] tweaked toml for crates.io crate rg_formats 0.1.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rg_formats 0.1.2 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rg_formats 0.1.2 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 76ad062cdb34da6fe27565a5abb140525283edf23ae678b3687aecbf14208243 [INFO] running `Command { std: "docker" "start" "-a" "76ad062cdb34da6fe27565a5abb140525283edf23ae678b3687aecbf14208243", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "76ad062cdb34da6fe27565a5abb140525283edf23ae678b3687aecbf14208243", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76ad062cdb34da6fe27565a5abb140525283edf23ae678b3687aecbf14208243", kill_on_drop: false }` [INFO] [stdout] 76ad062cdb34da6fe27565a5abb140525283edf23ae678b3687aecbf14208243 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6d98163e6da5a317edc668949bd0a35b340109414913b2368df2ac3a180be1f [INFO] running `Command { std: "docker" "start" "-a" "f6d98163e6da5a317edc668949bd0a35b340109414913b2368df2ac3a180be1f", kill_on_drop: false }` [INFO] [stderr] Compiling lexical-util v0.8.5 [INFO] [stderr] Compiling proc-macro2 v1.0.64 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling lexical-parse-integer v0.8.6 [INFO] [stderr] Compiling lexical-write-integer v0.8.5 [INFO] [stderr] Compiling lexical-parse-float v0.8.5 [INFO] [stderr] Compiling lexical-write-float v0.8.5 [INFO] [stderr] Compiling syn v2.0.25 [INFO] [stderr] Compiling lexical-core v0.8.5 [INFO] [stderr] Compiling lexical v6.1.1 [INFO] [stderr] Compiling regex-automata v0.3.2 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stderr] Compiling rg_formats v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `byte_slice_trim_ascii` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | #![feature(byte_slice_trim_ascii)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/path.rs:2210:1: 2210:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/path.rs" }) } [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/sm.rs:174:27 [INFO] [stdout] | [INFO] [stdout] 174 | let path = path.as_ref().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 174 - let path = path.as_ref().clone(); [INFO] [stdout] 174 + let path = path.as_ref(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(buf: &[u8]) -> ByteIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(buf: &[u8]) -> ByteIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.03s [INFO] running `Command { std: "docker" "inspect" "f6d98163e6da5a317edc668949bd0a35b340109414913b2368df2ac3a180be1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6d98163e6da5a317edc668949bd0a35b340109414913b2368df2ac3a180be1f", kill_on_drop: false }` [INFO] [stdout] f6d98163e6da5a317edc668949bd0a35b340109414913b2368df2ac3a180be1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ba7b18b433afdd1489f536be96670e7aef5841a4f5f5965410963170275308d [INFO] running `Command { std: "docker" "start" "-a" "6ba7b18b433afdd1489f536be96670e7aef5841a4f5f5965410963170275308d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling serde v1.0.171 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rustix v0.38.3 [INFO] [stderr] Compiling serde_json v1.0.100 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling anstyle v1.0.1 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling ciborium-io v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.171 [INFO] [stderr] Compiling clap_lex v0.5.0 [INFO] [stderr] Compiling ryu v1.0.14 [INFO] [stderr] Compiling plotters-backend v0.3.5 [INFO] [stderr] Compiling linux-raw-sys v0.4.3 [INFO] [stderr] Compiling itoa v1.0.8 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling clap_builder v4.3.11 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/path.rs:2210:1: 2210:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/path.rs" }) } [INFO] [stdout] warning: the feature `byte_slice_trim_ascii` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | #![feature(byte_slice_trim_ascii)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/sm.rs:174:27 [INFO] [stdout] | [INFO] [stdout] 174 | let path = path.as_ref().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 174 - let path = path.as_ref().clone(); [INFO] [stdout] 174 + let path = path.as_ref(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(buf: &[u8]) -> ByteIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(buf: &[u8]) -> ByteIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling plotters-svg v0.3.5 [INFO] [stderr] Compiling ciborium-ll v0.2.1 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling plotters v0.3.5 [INFO] [stderr] Compiling clap v4.3.11 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling ciborium v0.2.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling rg_formats v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `byte_slice_trim_ascii` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | #![feature(byte_slice_trim_ascii)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/path.rs:2210:1: 2210:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/path.rs" }) } [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/sm.rs:174:27 [INFO] [stdout] | [INFO] [stdout] 174 | let path = path.as_ref().clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 174 - let path = path.as_ref().clone(); [INFO] [stdout] 174 + let path = path.as_ref(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(buf: &[u8]) -> ByteIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(buf: &[u8]) -> ByteIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.70s [INFO] running `Command { std: "docker" "inspect" "6ba7b18b433afdd1489f536be96670e7aef5841a4f5f5965410963170275308d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ba7b18b433afdd1489f536be96670e7aef5841a4f5f5965410963170275308d", kill_on_drop: false }` [INFO] [stdout] 6ba7b18b433afdd1489f536be96670e7aef5841a4f5f5965410963170275308d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 20232e20df470d0d6e4fbea6c9af2cfe425407b62eb90208de53579e18ebf9c6 [INFO] running `Command { std: "docker" "start" "-a" "20232e20df470d0d6e4fbea6c9af2cfe425407b62eb90208de53579e18ebf9c6", kill_on_drop: false }` [INFO] [stderr] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 29 | #![feature(let_chains)] [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(stable_features)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the feature `byte_slice_trim_ascii` has been stable since 1.80.0 and no longer requires an attribute to enable [INFO] [stderr] --> src/lib.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 30 | #![feature(byte_slice_trim_ascii)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/path.rs:2210:1: 2210:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/path.rs" }) } [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/sm.rs:174:27 [INFO] [stderr] | [INFO] [stderr] 174 | let path = path.as_ref().clone(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 174 - let path = path.as_ref().clone(); [INFO] [stderr] 174 + let path = path.as_ref(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/utils.rs:10:18 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn new(buf: &[u8]) -> ByteIterator { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 10 | pub fn new(buf: &[u8]) -> ByteIterator<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rg_formats` (lib) generated 4 warnings (run `cargo fix --lib -p rg_formats` to apply 2 suggestions) [INFO] [stderr] WARN rustc_errors::emitter Invalid span /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/path.rs:2210:1: 2210:1 (#0), error=SourceNotAvailable { filename: Real(Remapped { local_path: None, virtual_name: "/rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/path.rs" }) } [INFO] [stderr] warning: `rg_formats` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rg_formats-00999643233d8f19) [INFO] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test sm::tests::bpm_partial ... ok [INFO] [stdout] test sm::tests::bpms ... ok [INFO] [stdout] test sm::tests::load_notes ... ok [INFO] [stdout] test sm_msd::tests::multival ... ok [INFO] [stdout] test sm_msd::tests::list ... ok [INFO] [stdout] test sm_msd::tests::full_parse_simple ... ok [INFO] [stdout] test sm_msd::tests::full_parse ... ok [INFO] [stdout] test sm_msd::tests::escape ... ok [INFO] [stdout] test sm_msd::tests::p_val ... ok [INFO] [stdout] test sm::tests::load_notes_obscurekeysounds ... ok [INFO] [stdout] test sm_msd::tests::comment ... ok [INFO] [stdout] test sm::tests::infer_author_square ... ok [INFO] [stdout] test sm::tests::infer_author_space ... ok [INFO] [stdout] test sm::tests::infer_author_start ... ok [INFO] [stdout] test sm::tests::infer_author_sq_start ... ok [INFO] [stdout] test sm::tests::infer_author_normal ... ok [INFO] [stdout] test sm_msd::tests::newlines ... ok [INFO] [stdout] test sm::tests::infer_author_space2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests rg_formats [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 20) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 20) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (72) panicked at src/lib.rs:7:6: [INFO] [stdout] failed to open file: Os { code: 2, kind: NotFound, message: "No such file or directory" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x61f88565c332 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x61f88565c332 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x61f88565c332 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x61f88565c332 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x61f88566d01f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x61f88566d01f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x61f885639171 - std::io::default_write_fmt::h45f0f9de0268fdcb [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x61f885639171 - std::io::Write::write_fmt::hc685c74e0b8ce55d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x61f88563eba2 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x61f885640a2c - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x61f885640886 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x61f8856410b5 - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x61f885640f4a - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x61f88563ece9 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x61f88562d1fd - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x61f8856759a0 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 16: 0x61f885674d46 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 17: 0x61f885402d62 - core::result::Result::expect::h72c828a42bfdfd3c [INFO] [stdout] 18: 0x61f88540524c - rust_out::main::_doctest_main_src_lib_rs_20_0::h549ca9103ee40247 [INFO] [stdout] 19: 0x61f885405206 - rust_out::main::he42420d96a9d7f64 [INFO] [stdout] 20: 0x61f8853ffc33 - core::ops::function::FnOnce::call_once::h69ea4ce53012ff78 [INFO] [stdout] 21: 0x61f8853ff5e6 - std::sys::backtrace::__rust_begin_short_backtrace::h3de91f36bae4c6b1 [INFO] [stdout] 22: 0x61f8853ff389 - std::rt::lang_start::{{closure}}::h8b7ae09552e39435 [INFO] [stdout] 23: 0x61f88563a2d0 - core::ops::function::impls:: for &F>::call_once::h387c5546b57ddfde [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 24: 0x61f88563a2d0 - std::panicking::catch_unwind::do_call::hf9fdd250c001d1cd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 25: 0x61f88563a2d0 - std::panicking::catch_unwind::hc213e1339e7313f3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 26: 0x61f88563a2d0 - std::panic::catch_unwind::h7e2e13142bd98e67 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 27: 0x61f88563a2d0 - std::rt::lang_start_internal::{{closure}}::ha8eea67def213c83 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/rt.rs:175:24 [INFO] [stdout] 28: 0x61f88563a2d0 - std::panicking::catch_unwind::do_call::hc6f04b090be4f56e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x61f88563a2d0 - std::panicking::catch_unwind::hfb8ae23b2e34f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x61f88563a2d0 - std::panic::catch_unwind::hf2cef20feb3addd6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x61f88563a2d0 - std::rt::lang_start_internal::h1ca864a6b9355c57 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/rt.rs:171:5 [INFO] [stdout] 32: 0x61f8853ff371 - std::rt::lang_start::h60a8ec71437d48b3 [INFO] [stdout] 33: 0x61f885405735 - main [INFO] [stdout] 34: 0x777e040aa1ca - [INFO] [stdout] 35: 0x777e040aa28b - __libc_start_main [INFO] [stdout] 36: 0x61f8853fa1d5 - _start [INFO] [stdout] 37: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 20) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.73s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "20232e20df470d0d6e4fbea6c9af2cfe425407b62eb90208de53579e18ebf9c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20232e20df470d0d6e4fbea6c9af2cfe425407b62eb90208de53579e18ebf9c6", kill_on_drop: false }` [INFO] [stdout] 20232e20df470d0d6e4fbea6c9af2cfe425407b62eb90208de53579e18ebf9c6