[INFO] cloning repository https://github.com/loganintech/one_time_pad [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/loganintech/one_time_pad" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floganintech%2Fone_time_pad", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floganintech%2Fone_time_pad'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd98cb689d973b07be91b4bfe2fd838d39c6ebff [INFO] checking loganintech/one_time_pad against master#09a371361240e42b0d69438fd1179efcf212e576 for pr-157814-crater-rollup [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Floganintech%2Fone_time_pad" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/loganintech/one_time_pad [INFO] finished tweaking git repo https://github.com/loganintech/one_time_pad [INFO] tweaked toml for git repo https://github.com/loganintech/one_time_pad written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/loganintech/one_time_pad on toolchain 09a371361240e42b0d69438fd1179efcf212e576 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09a371361240e42b0d69438fd1179efcf212e576" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/loganintech/one_time_pad 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" "+09a371361240e42b0d69438fd1179efcf212e576" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: otp_enc/Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `otp_enc` (manifest) generated 1 warning [INFO] [stderr] warning: keygen/Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `keygen` (manifest) generated 1 warning [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `one_time_pad` (manifest) generated 1 warning [INFO] [stderr] warning: otp_dec/Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `otp_dec` (manifest) generated 1 warning [INFO] [stderr] warning: otp_dec_d/Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `otp_dec_d` (manifest) generated 1 warning [INFO] [stderr] warning: otp_enc_d/Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `otp_enc_d` (manifest) generated 1 warning [INFO] [stderr] warning: otp_lib/Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `otp_lib` (manifest) generated 1 warning [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_isaac v0.1.0 [INFO] [stderr] Downloaded rand v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7cf07dcec6eec8f91d8fcff9552b5c74122c05467aaf1800be6da9d6f61e2ab2" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] e929ac494a160703532493f62a865f62a2993a23d1ec837d27c38ae9f1c1645f [INFO] running `Command { std: "docker" "start" "e929ac494a160703532493f62a865f62a2993a23d1ec837d27c38ae9f1c1645f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e929ac494a160703532493f62a865f62a2993a23d1ec837d27c38ae9f1c1645f" "/opt/rustwide/cargo-home/bin/cargo" "+09a371361240e42b0d69438fd1179efcf212e576" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e929ac494a160703532493f62a865f62a2993a23d1ec837d27c38ae9f1c1645f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e929ac494a160703532493f62a865f62a2993a23d1ec837d27c38ae9f1c1645f" "/opt/rustwide/cargo-home/bin/cargo" "+09a371361240e42b0d69438fd1179efcf212e576" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: otp_dec/Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `otp_dec` (manifest) generated 1 warning [INFO] [stderr] warning: otp_lib/Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `otp_lib` (manifest) generated 1 warning [INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `one_time_pad` (manifest) generated 1 warning [INFO] [stderr] warning: keygen/Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `keygen` (manifest) generated 1 warning [INFO] [stderr] warning: otp_enc/Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `otp_enc` (manifest) generated 1 warning [INFO] [stderr] warning: otp_dec_d/Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `otp_dec_d` (manifest) generated 1 warning [INFO] [stderr] warning: otp_enc_d/Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] warning: `otp_enc_d` (manifest) generated 1 warning [INFO] [stderr] Checking otp_lib v0.1.0 (/opt/rustwide/workdir/otp_lib) [INFO] [stderr] Checking rand_xorshift v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.0 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.1.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand v0.6.0 [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> otp_lib/src/lib.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> otp_lib/src/lib.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | mod test { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking otp_dec_d v0.1.0 (/opt/rustwide/workdir/otp_dec_d) [INFO] [stderr] Checking otp_enc_d v0.1.0 (/opt/rustwide/workdir/otp_enc_d) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> otp_enc_d/src/main.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> otp_dec_d/src/main.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> otp_enc_d/src/main.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> otp_dec_d/src/main.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking one_time_pad v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking otp_enc v0.1.0 (/opt/rustwide/workdir/otp_enc) [INFO] [stderr] Checking otp_dec v0.1.0 (/opt/rustwide/workdir/otp_dec) [INFO] [stderr] Checking keygen v0.1.0 (/opt/rustwide/workdir/keygen) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> otp_lib/src/lib.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> otp_lib/src/lib.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | mod test { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> otp_enc/src/main.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | let plaintext = plaintext.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 29 - let plaintext = plaintext.trim_right(); [INFO] [stdout] 29 + let plaintext = plaintext.trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> otp_dec/src/main.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | let plaintext = plaintext.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 29 - let plaintext = plaintext.trim_right(); [INFO] [stdout] 29 + let plaintext = plaintext.trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> otp_enc/src/main.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | let one_time_pad = one_time_pad.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 46 - let one_time_pad = one_time_pad.trim_right(); [INFO] [stdout] 46 + let one_time_pad = one_time_pad.trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> otp_dec/src/main.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | let key = key.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 46 - let key = key.trim_right(); [INFO] [stdout] 46 + let key = key.trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> otp_enc/src/main.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | let plaintext = plaintext.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 29 - let plaintext = plaintext.trim_right(); [INFO] [stdout] 29 + let plaintext = plaintext.trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> otp_enc/src/main.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | let one_time_pad = one_time_pad.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 46 - let one_time_pad = one_time_pad.trim_right(); [INFO] [stdout] 46 + let one_time_pad = one_time_pad.trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> otp_dec_d/src/main.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> otp_dec/src/main.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | let plaintext = plaintext.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 29 - let plaintext = plaintext.trim_right(); [INFO] [stdout] 29 + let plaintext = plaintext.trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> otp_dec/src/main.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | let key = key.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 46 - let key = key.trim_right(); [INFO] [stdout] 46 + let key = key.trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> otp_dec/src/main.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | let plaintext = plaintext.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 29 - let plaintext = plaintext.trim_right(); [INFO] [stdout] 29 + let plaintext = plaintext.trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> otp_dec/src/main.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | let key = key.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 46 - let key = key.trim_right(); [INFO] [stdout] 46 + let key = key.trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> otp_enc_d/src/main.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> otp_enc_d/src/main.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> otp_enc/src/main.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | let plaintext = plaintext.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 29 - let plaintext = plaintext.trim_right(); [INFO] [stdout] 29 + let plaintext = plaintext.trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> otp_enc/src/main.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | let one_time_pad = one_time_pad.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 46 - let one_time_pad = one_time_pad.trim_right(); [INFO] [stdout] 46 + let one_time_pad = one_time_pad.trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> otp_enc/src/main.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | let plaintext = plaintext.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 29 - let plaintext = plaintext.trim_right(); [INFO] [stdout] 29 + let plaintext = plaintext.trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> otp_enc/src/main.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | let one_time_pad = one_time_pad.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 46 - let one_time_pad = one_time_pad.trim_right(); [INFO] [stdout] 46 + let one_time_pad = one_time_pad.trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> otp_dec/src/main.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | let plaintext = plaintext.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 29 - let plaintext = plaintext.trim_right(); [INFO] [stdout] 29 + let plaintext = plaintext.trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `core::str::::trim_right`: superseded by `trim_end` [INFO] [stdout] --> otp_dec/src/main.rs:46:19 [INFO] [stdout] | [INFO] [stdout] 46 | let key = key.trim_right(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated method [INFO] [stdout] | [INFO] [stdout] 46 - let key = key.trim_right(); [INFO] [stdout] 46 + let key = key.trim_end(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> otp_dec_d/src/main.rs:47:29 [INFO] [stdout] | [INFO] [stdout] 47 | fn main() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 47 | fn main() -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.21s [INFO] running `Command { std: "docker" "inspect" "e929ac494a160703532493f62a865f62a2993a23d1ec837d27c38ae9f1c1645f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e929ac494a160703532493f62a865f62a2993a23d1ec837d27c38ae9f1c1645f", kill_on_drop: false }` [INFO] [stdout] e929ac494a160703532493f62a865f62a2993a23d1ec837d27c38ae9f1c1645f