[INFO] fetching crate simple-text-editor 0.2.3... [INFO] testing simple-text-editor-0.2.3 against beta-2022-04-10 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 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 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" "+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-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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72324cdbed31935536a3ffee9f692ec66a43bb4d7e7a6a95dfb0e0b3081c5f50 [INFO] running `Command { std: "docker" "start" "-a" "72324cdbed31935536a3ffee9f692ec66a43bb4d7e7a6a95dfb0e0b3081c5f50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72324cdbed31935536a3ffee9f692ec66a43bb4d7e7a6a95dfb0e0b3081c5f50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72324cdbed31935536a3ffee9f692ec66a43bb4d7e7a6a95dfb0e0b3081c5f50", kill_on_drop: false }` [INFO] [stdout] 72324cdbed31935536a3ffee9f692ec66a43bb4d7e7a6a95dfb0e0b3081c5f50 [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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66e3c4a2713673446b846c0d9524c3e8939097e0a89e409a39be9a6c786e0585 [INFO] running `Command { std: "docker" "start" "-a" "66e3c4a2713673446b846c0d9524c3e8939097e0a89e409a39be9a6c786e0585", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.25s [INFO] running `Command { std: "docker" "inspect" "66e3c4a2713673446b846c0d9524c3e8939097e0a89e409a39be9a6c786e0585", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66e3c4a2713673446b846c0d9524c3e8939097e0a89e409a39be9a6c786e0585", kill_on_drop: false }` [INFO] [stdout] 66e3c4a2713673446b846c0d9524c3e8939097e0a89e409a39be9a6c786e0585 [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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 538c13efe434475575fbeb40db2fd821f92f0343ed7f9652818cc7a64e5d3193 [INFO] running `Command { std: "docker" "start" "-a" "538c13efe434475575fbeb40db2fd821f92f0343ed7f9652818cc7a64e5d3193", 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.58s [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" "538c13efe434475575fbeb40db2fd821f92f0343ed7f9652818cc7a64e5d3193", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "538c13efe434475575fbeb40db2fd821f92f0343ed7f9652818cc7a64e5d3193", kill_on_drop: false }` [INFO] [stdout] 538c13efe434475575fbeb40db2fd821f92f0343ed7f9652818cc7a64e5d3193 [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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 77e38b33e62882da56968142b00d97a9a51af44bda28b62ccf68a0242ba9522d [INFO] running `Command { std: "docker" "start" "-a" "77e38b33e62882da56968142b00d97a9a51af44bda28b62ccf68a0242ba9522d", 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 src/lib.rs (/opt/rustwide/target/debug/deps/simple_text_editor-d81b05a279cb0697) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stderr] Running unittests src/bin/editor.rs (/opt/rustwide/target/debug/deps/editor-c2e4356495094868) [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] [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::Invalid (line 59) ... 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] test src/ops.rs - ops::Operation (line 73) ... ok [INFO] [stdout] test src/ops.rs - ops::Operation::Append (line 7) ... ok [INFO] [stdout] test src/ops.rs - ops::Operation::Undo (line 47) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "77e38b33e62882da56968142b00d97a9a51af44bda28b62ccf68a0242ba9522d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77e38b33e62882da56968142b00d97a9a51af44bda28b62ccf68a0242ba9522d", kill_on_drop: false }` [INFO] [stdout] 77e38b33e62882da56968142b00d97a9a51af44bda28b62ccf68a0242ba9522d