[INFO] cloning repository https://github.com/nilslice/simple-text-editor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nilslice/simple-text-editor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilslice%2Fsimple-text-editor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilslice%2Fsimple-text-editor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 889b2dbf04faa68e13f74dba161a3ae32c983951 [INFO] testing nilslice/simple-text-editor against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilslice%2Fsimple-text-editor" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nilslice/simple-text-editor on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nilslice/simple-text-editor [INFO] finished tweaking git repo https://github.com/nilslice/simple-text-editor [INFO] tweaked toml for git repo https://github.com/nilslice/simple-text-editor written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/nilslice/simple-text-editor already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57be94e282bddfd57b681a0bacbd08d8ac3fd3890a30e87d0757f572952e73af [INFO] running `Command { std: "docker" "start" "-a" "57be94e282bddfd57b681a0bacbd08d8ac3fd3890a30e87d0757f572952e73af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57be94e282bddfd57b681a0bacbd08d8ac3fd3890a30e87d0757f572952e73af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57be94e282bddfd57b681a0bacbd08d8ac3fd3890a30e87d0757f572952e73af", kill_on_drop: false }` [INFO] [stdout] 57be94e282bddfd57b681a0bacbd08d8ac3fd3890a30e87d0757f572952e73af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38f374bfa732e6ec2ba8d0c34d994fa7b98a4051415a61cf2daea50c6dacd2c1 [INFO] running `Command { std: "docker" "start" "-a" "38f374bfa732e6ec2ba8d0c34d994fa7b98a4051415a61cf2daea50c6dacd2c1", kill_on_drop: false }` [INFO] [stderr] Compiling simple-text-editor v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/text.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | / format!( [INFO] [stdout] 47 | | "The input exceeds the max number of operations permitted. ({})", [INFO] [stdout] 48 | | MAX_OPS [INFO] [stdout] 49 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 46 ~ [INFO] [stdout] 47 | "The input exceeds the max number of operations permitted. ({})", [INFO] [stdout] 48 | MAX_OPS [INFO] [stdout] 49 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/text.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | ... format!("The provided count doesn't match the number of valid operations parsed. (count = {}, valid operations = {})", self.num_ops, ops.len()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 53 - format!("The provided count doesn't match the number of valid operations parsed. (count = {}, valid operations = {})", self.num_ops, ops.len()) [INFO] [stdout] 53 + "The provided count doesn't match the number of valid operations parsed. (count = {}, valid operations = {})", self.num_ops, ops.len() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/text.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | format!("The input exceeds the max number of characters which can be deleted. ({})", MAX_DELETE_OPS) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 73 - format!("The input exceeds the max number of characters which can be deleted. ({})", MAX_DELETE_OPS) [INFO] [stdout] 73 + "The input exceeds the max number of characters which can be deleted. ({})", MAX_DELETE_OPS [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.04s [INFO] running `Command { std: "docker" "inspect" "38f374bfa732e6ec2ba8d0c34d994fa7b98a4051415a61cf2daea50c6dacd2c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38f374bfa732e6ec2ba8d0c34d994fa7b98a4051415a61cf2daea50c6dacd2c1", kill_on_drop: false }` [INFO] [stdout] 38f374bfa732e6ec2ba8d0c34d994fa7b98a4051415a61cf2daea50c6dacd2c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cc07051afaa9031afff68eeb24cd7f74d763775483a3f8976096a4923db4425 [INFO] running `Command { std: "docker" "start" "-a" "6cc07051afaa9031afff68eeb24cd7f74d763775483a3f8976096a4923db4425", kill_on_drop: false }` [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/text.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | / format!( [INFO] [stdout] 47 | | "The input exceeds the max number of operations permitted. ({})", [INFO] [stdout] 48 | | MAX_OPS [INFO] [stdout] 49 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 46 ~ [INFO] [stdout] 47 | "The input exceeds the max number of operations permitted. ({})", [INFO] [stdout] 48 | MAX_OPS [INFO] [stdout] 49 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/text.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | ... format!("The provided count doesn't match the number of valid operations parsed. (count = {}, valid operations = {})", self.num_ops, ops.len()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 53 - format!("The provided count doesn't match the number of valid operations parsed. (count = {}, valid operations = {})", self.num_ops, ops.len()) [INFO] [stdout] 53 + "The provided count doesn't match the number of valid operations parsed. (count = {}, valid operations = {})", self.num_ops, ops.len() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling simple-text-editor v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/text.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | format!("The input exceeds the max number of characters which can be deleted. ({})", MAX_DELETE_OPS) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 73 - format!("The input exceeds the max number of characters which can be deleted. ({})", MAX_DELETE_OPS) [INFO] [stdout] 73 + "The input exceeds the max number of characters which can be deleted. ({})", MAX_DELETE_OPS [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/text.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | / format!( [INFO] [stdout] 47 | | "The input exceeds the max number of operations permitted. ({})", [INFO] [stdout] 48 | | MAX_OPS [INFO] [stdout] 49 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 46 ~ [INFO] [stdout] 47 | "The input exceeds the max number of operations permitted. ({})", [INFO] [stdout] 48 | MAX_OPS [INFO] [stdout] 49 ~ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/text.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | ... format!("The provided count doesn't match the number of valid operations parsed. (count = {}, valid operations = {})", self.num_ops, ops.len()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 53 - format!("The provided count doesn't match the number of valid operations parsed. (count = {}, valid operations = {})", self.num_ops, ops.len()) [INFO] [stdout] 53 + "The provided count doesn't match the number of valid operations parsed. (count = {}, valid operations = {})", self.num_ops, ops.len() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/text.rs:73:25 [INFO] [stdout] | [INFO] [stdout] 73 | format!("The input exceeds the max number of characters which can be deleted. ({})", MAX_DELETE_OPS) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 73 - format!("The input exceeds the max number of characters which can be deleted. ({})", MAX_DELETE_OPS) [INFO] [stdout] 73 + "The input exceeds the max number of characters which can be deleted. ({})", MAX_DELETE_OPS [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | / &[ [INFO] [stdout] 5 | | ("1 abc", Operation::Append("abc")), [INFO] [stdout] 6 | | ("1 abc", Operation::Append(" abc")), [INFO] [stdout] 7 | | ("1 ", Operation::Append(" ")), [INFO] [stdout] ... | [INFO] [stdout] 22 | | assert_eq!(Operation::from(case.0), case.1); [INFO] [stdout] 23 | | }); [INFO] [stdout] | |______^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 4 | let _ = &[ [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.44s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/simple_text_editor-d81b05a279cb0697) [INFO] [stderr] Executable unittests src/bin/editor.rs (/opt/rustwide/target/debug/deps/editor-c2e4356495094868) [INFO] running `Command { std: "docker" "inspect" "6cc07051afaa9031afff68eeb24cd7f74d763775483a3f8976096a4923db4425", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cc07051afaa9031afff68eeb24cd7f74d763775483a3f8976096a4923db4425", kill_on_drop: false }` [INFO] [stdout] 6cc07051afaa9031afff68eeb24cd7f74d763775483a3f8976096a4923db4425 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d8a1360f90624ef2ade3f45b5c39c9c3d6ff66b460732c6974c52bcb4240e3e7 [INFO] running `Command { std: "docker" "start" "-a" "d8a1360f90624ef2ade3f45b5c39c9c3d6ff66b460732c6974c52bcb4240e3e7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/text.rs:46:13 [INFO] [stderr] | [INFO] [stderr] 46 | / format!( [INFO] [stderr] 47 | | "The input exceeds the max number of operations permitted. ({})", [INFO] [stderr] 48 | | MAX_OPS [INFO] [stderr] 49 | | ) [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 46 ~ [INFO] [stderr] 47 | "The input exceeds the max number of operations permitted. ({})", [INFO] [stderr] 48 | MAX_OPS [INFO] [stderr] 49 ~ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/text.rs:53:13 [INFO] [stderr] | [INFO] [stderr] 53 | ... format!("The provided count doesn't match the number of valid operations parsed. (count = {}, valid operations = {})", self.num_ops, ops.len()) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 53 - format!("The provided count doesn't match the number of valid operations parsed. (count = {}, valid operations = {})", self.num_ops, ops.len()) [INFO] [stderr] 53 + "The provided count doesn't match the number of valid operations parsed. (count = {}, valid operations = {})", self.num_ops, ops.len() [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/text.rs:73:25 [INFO] [stderr] | [INFO] [stderr] 73 | format!("The input exceeds the max number of characters which can be deleted. ({})", MAX_DELETE_OPS) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 73 - format!("The input exceeds the max number of characters which can be deleted. ({})", MAX_DELETE_OPS) [INFO] [stderr] 73 + "The input exceeds the max number of characters which can be deleted. ({})", MAX_DELETE_OPS [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `simple-text-editor` (lib) generated 3 warnings [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/tests.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | / &[ [INFO] [stderr] 5 | | ("1 abc", Operation::Append("abc")), [INFO] [stderr] 6 | | ("1 abc", Operation::Append(" abc")), [INFO] [stderr] 7 | | ("1 ", Operation::Append(" ")), [INFO] [stderr] ... | [INFO] [stderr] 22 | | assert_eq!(Operation::from(case.0), case.1); [INFO] [stderr] 23 | | }); [INFO] [stderr] | |______^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 4 | let _ = &[ [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `simple-text-editor` (lib test) generated 4 warnings (3 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/simple_text_editor-d81b05a279cb0697) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::test_apply_ops ... ok [INFO] [stdout] test tests::test_op_from_str ... ok [INFO] [stdout] test tests::test_parse_input ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/editor.rs (/opt/rustwide/target/debug/deps/editor-c2e4356495094868) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests simple-text-editor [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/ops.rs - ops::Operation (line 73) ... ok [INFO] [stdout] test src/ops.rs - ops::parse (line 121) ... ok [INFO] [stdout] test src/ops.rs - ops::Operation::Invalid (line 59) ... ok [INFO] [stdout] test src/ops.rs - ops::Operation::Delete (line 20) ... ok [INFO] [stdout] test src/ops.rs - ops::Operation::Print (line 33) ... ok [INFO] [stdout] test src/text.rs - text::Text (line 19) ... ok [INFO] [stdout] test src/ops.rs - ops::Operation::Undo (line 47) ... ok [INFO] [stdout] test src/ops.rs - ops::Operation::Append (line 7) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d8a1360f90624ef2ade3f45b5c39c9c3d6ff66b460732c6974c52bcb4240e3e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8a1360f90624ef2ade3f45b5c39c9c3d6ff66b460732c6974c52bcb4240e3e7", kill_on_drop: false }` [INFO] [stdout] d8a1360f90624ef2ade3f45b5c39c9c3d6ff66b460732c6974c52bcb4240e3e7