[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 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f6696e1532bc8911c00e7f29262d37448e546b8f45160038627cc6fd9429f41 [INFO] running `Command { std: "docker" "start" "-a" "4f6696e1532bc8911c00e7f29262d37448e546b8f45160038627cc6fd9429f41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f6696e1532bc8911c00e7f29262d37448e546b8f45160038627cc6fd9429f41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f6696e1532bc8911c00e7f29262d37448e546b8f45160038627cc6fd9429f41", kill_on_drop: false }` [INFO] [stdout] 4f6696e1532bc8911c00e7f29262d37448e546b8f45160038627cc6fd9429f41 [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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11a8a50d7d95fb01a8938f6bba7de60499edeccc34b9a0e959baf5237feaff0b [INFO] running `Command { std: "docker" "start" "-a" "11a8a50d7d95fb01a8938f6bba7de60499edeccc34b9a0e959baf5237feaff0b", 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.08s [INFO] running `Command { std: "docker" "inspect" "11a8a50d7d95fb01a8938f6bba7de60499edeccc34b9a0e959baf5237feaff0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11a8a50d7d95fb01a8938f6bba7de60499edeccc34b9a0e959baf5237feaff0b", kill_on_drop: false }` [INFO] [stdout] 11a8a50d7d95fb01a8938f6bba7de60499edeccc34b9a0e959baf5237feaff0b [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" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12f4f877d7e6cf9fc95494f2abd756c566f7aee7becf14d31323647227e13b32 [INFO] running `Command { std: "docker" "start" "-a" "12f4f877d7e6cf9fc95494f2abd756c566f7aee7becf14d31323647227e13b32", 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.60s [INFO] running `Command { std: "docker" "inspect" "12f4f877d7e6cf9fc95494f2abd756c566f7aee7becf14d31323647227e13b32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12f4f877d7e6cf9fc95494f2abd756c566f7aee7becf14d31323647227e13b32", kill_on_drop: false }` [INFO] [stdout] 12f4f877d7e6cf9fc95494f2abd756c566f7aee7becf14d31323647227e13b32 [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" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7988a430d030013df36aff053f62c7f5ee53acf5fc50dc473b680c007aab7fa2 [INFO] running `Command { std: "docker" "start" "-a" "7988a430d030013df36aff053f62c7f5ee53acf5fc50dc473b680c007aab7fa2", kill_on_drop: false }` [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.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/simple_text_editor-9446b7ce6f12b4b9) [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 (/opt/rustwide/target/debug/deps/editor-e8e0855da1fe8192) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests simple-text-editor [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::Operation::Invalid (line 59) ... 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] test src/text.rs - text::Text (line 19) ... ok [INFO] [stdout] test src/ops.rs - ops::Operation::Print (line 33) ... ok [INFO] [stdout] test src/ops.rs - ops::Operation::Delete (line 20) ... ok [INFO] [stdout] test src/ops.rs - ops::parse (line 121) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7988a430d030013df36aff053f62c7f5ee53acf5fc50dc473b680c007aab7fa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7988a430d030013df36aff053f62c7f5ee53acf5fc50dc473b680c007aab7fa2", kill_on_drop: false }` [INFO] [stdout] 7988a430d030013df36aff053f62c7f5ee53acf5fc50dc473b680c007aab7fa2