[INFO] fetching crate rocstr 0.6.2... [INFO] testing rocstr-0.6.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate rocstr 0.6.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate rocstr 0.6.2 [INFO] finished tweaking crates.io crate rocstr 0.6.2 [INFO] tweaked toml for crates.io crate rocstr 0.6.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rocstr 0.6.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rocstr 0.6.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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded imstr v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2951aa8c286923d0a97b2483a94e7d59c240707f22813cdb1c463f6633061142 [INFO] running `Command { std: "docker" "start" "-a" "2951aa8c286923d0a97b2483a94e7d59c240707f22813cdb1c463f6633061142", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2951aa8c286923d0a97b2483a94e7d59c240707f22813cdb1c463f6633061142", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2951aa8c286923d0a97b2483a94e7d59c240707f22813cdb1c463f6633061142", kill_on_drop: false }` [INFO] [stdout] 2951aa8c286923d0a97b2483a94e7d59c240707f22813cdb1c463f6633061142 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6715202af153d0e338ef832af6317a252305b04f1793c6ea28e2fb774d6d96ed [INFO] running `Command { std: "docker" "start" "-a" "6715202af153d0e338ef832af6317a252305b04f1793c6ea28e2fb774d6d96ed", kill_on_drop: false }` [INFO] [stderr] Compiling rocstr v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocerr.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocerr.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocerr.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocstr.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocstr.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocstr.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocstr.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocstr.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocstr.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocstr.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 358 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] running `Command { std: "docker" "inspect" "6715202af153d0e338ef832af6317a252305b04f1793c6ea28e2fb774d6d96ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6715202af153d0e338ef832af6317a252305b04f1793c6ea28e2fb774d6d96ed", kill_on_drop: false }` [INFO] [stdout] 6715202af153d0e338ef832af6317a252305b04f1793c6ea28e2fb774d6d96ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00dd76cb77509b907a086124d6de4fdd214f9b84b63de9ffd522befb05d46a98 [INFO] running `Command { std: "docker" "start" "-a" "00dd76cb77509b907a086124d6de4fdd214f9b84b63de9ffd522befb05d46a98", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling clap_builder v4.5.35 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling winnow v0.7.6 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling smol_str v0.3.2 [INFO] [stderr] Compiling imstr v0.2.0 [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocerr.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocerr.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocerr.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocstr.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocstr.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocstr.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocstr.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocstr.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocstr.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocstr.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 358 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling clap v4.5.35 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling rocstr v0.6.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocerr.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocerr.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocerr.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocstr.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocstr.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocstr.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 314 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocstr.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocstr.rs:341:5 [INFO] [stdout] | [INFO] [stdout] 341 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocstr.rs:350:5 [INFO] [stdout] | [INFO] [stdout] 350 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/rocstr.rs:358:5 [INFO] [stdout] | [INFO] [stdout] 358 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 23.82s [INFO] running `Command { std: "docker" "inspect" "00dd76cb77509b907a086124d6de4fdd214f9b84b63de9ffd522befb05d46a98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00dd76cb77509b907a086124d6de4fdd214f9b84b63de9ffd522befb05d46a98", kill_on_drop: false }` [INFO] [stdout] 00dd76cb77509b907a086124d6de4fdd214f9b84b63de9ffd522befb05d46a98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e9c2251d85f959a90ceb0a0b55b512c34dcd2a9d95811752b1b88c1eb58b9f38 [INFO] running `Command { std: "docker" "start" "-a" "e9c2251d85f959a90ceb0a0b55b512c34dcd2a9d95811752b1b88c1eb58b9f38", kill_on_drop: false }` [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/rocerr.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/rocerr.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/rocerr.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/rocstr.rs:287:5 [INFO] [stderr] | [INFO] [stderr] 287 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/rocstr.rs:301:5 [INFO] [stderr] | [INFO] [stderr] 301 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/rocstr.rs:314:5 [INFO] [stderr] | [INFO] [stderr] 314 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/rocstr.rs:330:5 [INFO] [stderr] | [INFO] [stderr] 330 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/rocstr.rs:341:5 [INFO] [stderr] | [INFO] [stderr] 341 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/rocstr.rs:350:5 [INFO] [stderr] | [INFO] [stderr] 350 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stderr] --> src/rocstr.rs:358:5 [INFO] [stderr] | [INFO] [stderr] 358 | #[must_use] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = help: `#[must_use]` can be applied to data types, functions, unions, required trait methods, provided trait methods, inherent methods, foreign functions, and traits [INFO] [stderr] [INFO] [stderr] warning: `rocstr` (lib) generated 10 warnings (run `cargo fix --lib -p rocstr` to apply 10 suggestions) [INFO] [stderr] warning: `rocstr` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rocstr-088dcca8f0135d8b) [INFO] [stdout] [INFO] [stdout] running 69 tests [INFO] [stdout] test rocstr::tests::bytes_from_rocstr_should_be_the_bytes_of_the_inner_str ... ok [INFO] [stdout] test rocerr::tests::rocerr_should_display_as_a_str_message ... ok [INFO] [stdout] test rocerr::tests::rocerr_from_rocstr_should_contains_rocstr_message ... ok [INFO] [stdout] test rocerr::tests::rocerr_from_str_should_contains_str_message ... ok [INFO] [stdout] test rocstr::tests::concat_a_str_to_rocstr_first_with_enough_capacity_should_be_the_concateenation ... ok [INFO] [stdout] test rocstr::tests::concat_a_str_to_rocstr_first_without_enough_capacity_should_be_trimmed_concateenation ... ok [INFO] [stdout] test rocstr::tests::concat_an_empty_str_to_rocstr_should_be_a_noop ... ok [INFO] [stdout] test rocstr::tests::concat_two_rocstrs_first_with_enough_capacity_should_be_the_concateenation ... ok [INFO] [stdout] test rocstr::tests::concat_two_rocstrs_first_without_enough_capacity_should_be_trimmed_concateenation ... ok [INFO] [stdout] test rocerr::tests::default_rocerr_should_be_the_defined_default_value ... ok [INFO] [stdout] test rocstr::tests::convert_max_i16_to_rocstr_should_be_max_i16_as_str ... ok [INFO] [stdout] test rocstr::tests::convert_max_i128_to_rocstr_should_be_max_i128_as_str ... ok [INFO] [stdout] test rocstr::tests::convert_max_i64_to_rocstr_should_be_max_i64_as_str ... ok [INFO] [stdout] test rocstr::tests::convert_max_i32_to_rocstr_should_be_max_i32_as_str ... ok [INFO] [stdout] test rocstr::tests::convert_max_i8_to_rocstr_should_be_max_i8_as_str ... ok [INFO] [stdout] test rocstr::tests::convert_max_isize_to_rocstr_should_be_max_isize_as_str ... ok [INFO] [stdout] test rocstr::tests::convert_max_u128_to_rocstr_should_be_max_u128_as_str ... ok [INFO] [stdout] test rocstr::tests::convert_min_i8_to_rocstr_should_be_min_i8_as_str ... ok [INFO] [stdout] test rocstr::tests::convert_min_isize_to_rocstr_should_be_min_isize_as_str ... ok [INFO] [stdout] test rocstr::tests::convert_min_u128_to_rocstr_should_be_min_u128_as_str ... ok [INFO] [stdout] test rocstr::tests::convert_min_u16_to_rocstr_should_be_min_u16_as_str ... ok [INFO] [stdout] test rocstr::tests::convert_max_u32_to_rocstr_should_be_max_u32_as_str ... ok [INFO] [stdout] test rocstr::tests::convert_max_u64_to_rocstr_should_be_max_u64_as_str ... ok [INFO] [stdout] test rocstr::tests::convert_max_u8_to_rocstr_should_be_max_u8_as_str ... ok [INFO] [stdout] test rocstr::tests::convert_max_usize_to_rocstr_should_be_max_usize_as_str ... ok [INFO] [stdout] test rocstr::tests::convert_min_i128_plus_one_to_rocstr_should_be_min_i128_plus_one_as_str ... ok [INFO] [stdout] test rocstr::tests::convert_min_i16_to_rocstr_should_be_min_i16_as_str ... ok [INFO] [stdout] test rocstr::tests::convert_min_i32_to_rocstr_should_be_min_i32_as_str ... ok [INFO] [stdout] test rocstr::tests::convert_min_u64_to_rocstr_should_be_min_u64_as_str ... ok [INFO] [stdout] test rocstr::tests::convert_min_u8_to_rocstr_should_be_min_u8_as_str ... ok [INFO] [stdout] test rocstr::tests::convert_min_usize_to_rocstr_should_be_min_usize_as_str ... ok [INFO] [stdout] test rocstr::tests::convert_negative_i16_to_rocstr_should_start_with_a_minus_sign ... ok [INFO] [stdout] test rocstr::tests::convert_min_u32_to_rocstr_should_be_min_u32_as_str ... ok [INFO] [stdout] test rocstr::tests::convert_negative_i32_to_rocstr_should_start_with_a_minus_sign ... ok [INFO] [stdout] test rocstr::tests::convert_negative_i8_to_rocstr_should_start_with_a_minus_sign ... ok [INFO] [stdout] test rocstr::tests::convert_max_u16_to_rocstr_should_be_max_u16_as_str ... ok [INFO] [stdout] test rocstr::tests::convert_negative_isize_to_rocstr_should_start_with_a_minus_sign ... ok [INFO] [stdout] test rocstr::tests::convert_min_i64_to_rocstr_should_be_min_i64_as_str ... ok [INFO] [stdout] test rocstr::tests::convert_zero_i32_to_rocstr_should_be_str_zero ... ok [INFO] [stdout] test rocstr::tests::convert_zero_i8_to_rocstr_should_be_str_zero ... ok [INFO] [stdout] test rocstr::tests::convert_zero_isize_to_rocstr_should_be_str_zero ... ok [INFO] [stdout] test rocstr::tests::empty_rocstr_should_say_it_is_empty ... ok [INFO] [stdout] test rocstr::tests::extract_utf8_within_should_a_valid_utf8_with_len_lower_or_eq_than_len ... ok [INFO] [stdout] test rocstr::tests::extract_utf8_within_should_return_the_string_if_len_is_greater_than ... ok [INFO] [stdout] test rocstr::tests::hash_rocstr_should_be_the_hash_of_the_inner_str ... ok [INFO] [stdout] test rocstr::tests::not_empty_rocstr_should_say_it_is_not_empty ... ok [INFO] [stdout] test rocstr::tests::convert_negative_i64_to_rocstr_should_start_with_a_minus_sign ... ok [INFO] [stdout] test rocstr::tests::convert_zero_i16_to_rocstr_should_be_str_zero ... ok [INFO] [stdout] test rocstr::tests::replace_an_str_at_the_begining_of_a_rocstr_should_be_the_rocstr_with_str_replaced ... ok [INFO] [stdout] test rocstr::tests::replace_an_str_at_the_end_of_a_rocstr_should_be_the_rocstr_with_str_replaced ... ok [INFO] [stdout] test rocstr::tests::replace_an_str_in_a_rocstr_should_be_the_rocstr_with_str_replaced ... ok [INFO] [stdout] test rocstr::tests::replace_an_str_inside_a_rocstr_that_overflow_at_last_should_be_the_truncated_str_replaced ... ok [INFO] [stdout] test rocstr::tests::replace_an_str_in_a_rocstr_that_overflow_should_be_the_truncated_str_replaced ... ok [INFO] [stdout] test rocstr::tests::replace_an_str_inside_a_rocstr_that_overflow_should_be_the_truncated_str_replaced ... ok [INFO] [stdout] test rocstr::tests::reshaped_rocstr_should_have_the_new_capacity ... ok [INFO] [stdout] test rocstr::tests::rocerr_debug_info_should_display_inner_field_as_str ... ok [INFO] [stdout] test rocstr::tests::rocstr_as_str_should_be_inner_str ... ok [INFO] [stdout] test rocstr::tests::rocstr_capacity_should_be_its_generic_parameter_size ... ok [INFO] [stdout] test rocstr::tests::rocstr_ref_should_equal_inner_str ... ok [INFO] [stdout] test rocstr::tests::rocstr_len_should_count_the_number_of_bytes ... ok [INFO] [stdout] test rocstr::tests::rocstr_should_equal_inner_str ... ok [INFO] [stdout] test rocstr::tests::rocstr_as_bytes_should_be_the_bytes_of_the_inner_str ... ok [INFO] [stdout] test rocstr::tests::rocstr_starts_with_should_return_true_if_it_starts_with ... ok [INFO] [stdout] test rocstr::tests::str_could_be_compared_to_rocstr ... ok [INFO] [stdout] test rocstr::tests::rocstr_starts_with_should_return_false_if_it_does_not_start_with ... ok [INFO] [stdout] test rocstr::tests::truncate_rocstr_should_contain_a_valid_utf8_with_at_most_len_bytes ... ok [INFO] [stdout] test rocstr::tests::convert_min_i128_to_rocstr_should_be_min_i128_as_str ... ok [INFO] [stdout] test rocstr::tests::concat_an_empty_rocstr_to_rocstr_should_be_a_noop ... ok [INFO] [stdout] test rocstr::tests::convert_zero_i64_to_rocstr_should_be_str_zero ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 69 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Doc-tests rocstr [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/rocstr.rs - rocstr::RocStr::reshape (line 192) ... ok [INFO] [stdout] test src/rocstr.rs - rocstr::RocStr::as_bytes (line 26) ... ok [INFO] [stdout] test src/rocstr.rs - rocstr::RocStr::is_empty (line 70) ... ok [INFO] [stdout] test src/rocstr.rs - rocstr::RocStr::capacity (line 53) ... ok [INFO] [stdout] test src/rocstr.rs - rocstr::RocStr::replace (line 117) ... ok [INFO] [stdout] test src/rocstr.rs - rocstr::RocStr::replace (line 128) ... ok [INFO] [stdout] test src/lib.rs - (line 23) ... ok [INFO] [stdout] test src/rocstr.rs - rocstr::RocStr::as_str (line 38) ... ok [INFO] [stdout] test src/rocstr.rs - rocstr::RocStr::starts_with (line 218) ... ok [INFO] [stdout] test src/rocstr.rs - rocstr::RocStr::len (line 89) ... ok [INFO] [stdout] test src/rocstr.rs - rocstr::RocStr::truncate (line 235) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.56s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e9c2251d85f959a90ceb0a0b55b512c34dcd2a9d95811752b1b88c1eb58b9f38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9c2251d85f959a90ceb0a0b55b512c34dcd2a9d95811752b1b88c1eb58b9f38", kill_on_drop: false }` [INFO] [stdout] e9c2251d85f959a90ceb0a0b55b512c34dcd2a9d95811752b1b88c1eb58b9f38