[INFO] fetching crate simple-text-editor 0.2.3... [INFO] testing simple-text-editor-0.2.3 against 1.60.0 for beta-1.61-1 [INFO] extracting crate simple-text-editor 0.2.3 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate simple-text-editor 0.2.3 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 crates.io crate simple-text-editor 0.2.3 [INFO] finished tweaking crates.io crate simple-text-editor 0.2.3 [INFO] tweaked toml for crates.io crate simple-text-editor 0.2.3 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate simple-text-editor 0.2.3 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] a222a8bc041708aab757a6559d7f0838f0fb02848a4f5cb3958f33bc1f72c854 [INFO] running `Command { std: "docker" "start" "-a" "a222a8bc041708aab757a6559d7f0838f0fb02848a4f5cb3958f33bc1f72c854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a222a8bc041708aab757a6559d7f0838f0fb02848a4f5cb3958f33bc1f72c854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a222a8bc041708aab757a6559d7f0838f0fb02848a4f5cb3958f33bc1f72c854", kill_on_drop: false }` [INFO] [stdout] a222a8bc041708aab757a6559d7f0838f0fb02848a4f5cb3958f33bc1f72c854 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 63cb8e551f7ccd363d8e0106174658bed4efb24f89a62d8db1d98f9e86338240 [INFO] running `Command { std: "docker" "start" "-a" "63cb8e551f7ccd363d8e0106174658bed4efb24f89a62d8db1d98f9e86338240", 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.66s [INFO] running `Command { std: "docker" "inspect" "63cb8e551f7ccd363d8e0106174658bed4efb24f89a62d8db1d98f9e86338240", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63cb8e551f7ccd363d8e0106174658bed4efb24f89a62d8db1d98f9e86338240", kill_on_drop: false }` [INFO] [stdout] 63cb8e551f7ccd363d8e0106174658bed4efb24f89a62d8db1d98f9e86338240 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] 0d4b8632652e27860b3d28c99d055e80f8e92c371951c58d9ca9110220254b3c [INFO] running `Command { std: "docker" "start" "-a" "0d4b8632652e27860b3d28c99d055e80f8e92c371951c58d9ca9110220254b3c", 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] [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.81s [INFO] running `Command { std: "docker" "inspect" "0d4b8632652e27860b3d28c99d055e80f8e92c371951c58d9ca9110220254b3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d4b8632652e27860b3d28c99d055e80f8e92c371951c58d9ca9110220254b3c", kill_on_drop: false }` [INFO] [stdout] 0d4b8632652e27860b3d28c99d055e80f8e92c371951c58d9ca9110220254b3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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] d835ea3a00b5a791417b39acad28b641a0aaa18e9fa5675ee07b24e4ec7e80b0 [INFO] running `Command { std: "docker" "start" "-a" "d835ea3a00b5a791417b39acad28b641a0aaa18e9fa5675ee07b24e4ec7e80b0", 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.00s [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] [stderr] Doc-tests simple-text-editor [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] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/ops.rs - ops::Operation::Append (line 7) ... ok [INFO] [stdout] test src/ops.rs - ops::Operation::Invalid (line 59) ... ok [INFO] [stdout] test src/ops.rs - ops::parse (line 121) ... ok [INFO] [stdout] test src/ops.rs - ops::Operation::Delete (line 20) ... ok [INFO] [stdout] test src/ops.rs - ops::Operation::Undo (line 47) ... ok [INFO] [stdout] test src/ops.rs - ops::Operation::Print (line 33) ... ok [INFO] [stdout] test src/ops.rs - ops::Operation (line 73) ... ok [INFO] [stdout] test src/text.rs - text::Text (line 19) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.35s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d835ea3a00b5a791417b39acad28b641a0aaa18e9fa5675ee07b24e4ec7e80b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d835ea3a00b5a791417b39acad28b641a0aaa18e9fa5675ee07b24e4ec7e80b0", kill_on_drop: false }` [INFO] [stdout] d835ea3a00b5a791417b39acad28b641a0aaa18e9fa5675ee07b24e4ec7e80b0