[INFO] fetching crate mathematica-notebook-filter 0.2.2... [INFO] testing mathematica-notebook-filter-0.2.2 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate mathematica-notebook-filter 0.2.2 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate mathematica-notebook-filter 0.2.2 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 mathematica-notebook-filter 0.2.2 [INFO] finished tweaking crates.io crate mathematica-notebook-filter 0.2.2 [INFO] tweaked toml for crates.io crate mathematica-notebook-filter 0.2.2 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e4f974ed8d4cbf67b041d65a3601f9866d8c2ced21f0e222f38107a1ea61225a [INFO] running `Command { std: "docker" "start" "-a" "e4f974ed8d4cbf67b041d65a3601f9866d8c2ced21f0e222f38107a1ea61225a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4f974ed8d4cbf67b041d65a3601f9866d8c2ced21f0e222f38107a1ea61225a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4f974ed8d4cbf67b041d65a3601f9866d8c2ced21f0e222f38107a1ea61225a", kill_on_drop: false }` [INFO] [stdout] e4f974ed8d4cbf67b041d65a3601f9866d8c2ced21f0e222f38107a1ea61225a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 567d5c633a6df0475f5dac30eab5ac4f41e88073351c0743f0f825a3fa5a6c07 [INFO] running `Command { std: "docker" "start" "-a" "567d5c633a6df0475f5dac30eab5ac4f41e88073351c0743f0f825a3fa5a6c07", kill_on_drop: false }` [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling thread_local v0.3.4 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling stderrlog v0.4.3 [INFO] [stderr] Compiling mathematica-notebook-filter v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | let mut input_file: Box = match matches.value_of("input") { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 - let mut input_file: Box = match matches.value_of("input") { [INFO] [stdout] 136 + let mut input_file: Box = match matches.value_of("input") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:164:50 [INFO] [stdout] | [INFO] [stdout] 164 | let (mut output_file, output_filename): (Box, _) = [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 164 - let (mut output_file, output_filename): (Box, _) = [INFO] [stdout] 164 + let (mut output_file, output_filename): (Box, _) = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.36s [INFO] running `Command { std: "docker" "inspect" "567d5c633a6df0475f5dac30eab5ac4f41e88073351c0743f0f825a3fa5a6c07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "567d5c633a6df0475f5dac30eab5ac4f41e88073351c0743f0f825a3fa5a6c07", kill_on_drop: false }` [INFO] [stdout] 567d5c633a6df0475f5dac30eab5ac4f41e88073351c0743f0f825a3fa5a6c07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73a2df633a24160df100d7d778f5768c7ccf46caf561ed65890fb0948ed6a938 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "73a2df633a24160df100d7d778f5768c7ccf46caf561ed65890fb0948ed6a938", kill_on_drop: false }` [INFO] [stderr] Compiling mathematica-notebook-filter v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:136:29 [INFO] [stdout] | [INFO] [stdout] 136 | let mut input_file: Box = match matches.value_of("input") { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 136 - let mut input_file: Box = match matches.value_of("input") { [INFO] [stdout] 136 + let mut input_file: Box = match matches.value_of("input") { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:164:50 [INFO] [stdout] | [INFO] [stdout] 164 | let (mut output_file, output_filename): (Box, _) = [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 164 - let (mut output_file, output_filename): (Box, _) = [INFO] [stdout] 164 + let (mut output_file, output_filename): (Box, _) = [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/parser/whitespace.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | wc.write_all(input).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/parser/whitespace.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | wc.flush().is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/parser/whitespace.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | wc.write_all(input.as_bytes()).is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stdout] --> src/parser/whitespace.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | wc.flush().is_ok(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.92s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/mathematica_notebook_filter-de624f4d507fd5cc) [INFO] running `Command { std: "docker" "inspect" "73a2df633a24160df100d7d778f5768c7ccf46caf561ed65890fb0948ed6a938", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73a2df633a24160df100d7d778f5768c7ccf46caf561ed65890fb0948ed6a938", kill_on_drop: false }` [INFO] [stdout] 73a2df633a24160df100d7d778f5768c7ccf46caf561ed65890fb0948ed6a938 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 55e222d886284b85f4e7d99ae602f2b83377acf3ac96611e2d4072ecf5c7f32b [INFO] running `Command { std: "docker" "start" "-a" "55e222d886284b85f4e7d99ae602f2b83377acf3ac96611e2d4072ecf5c7f32b", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:136:29 [INFO] [stderr] | [INFO] [stderr] 136 | let mut input_file: Box = match matches.value_of("input") { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 136 - let mut input_file: Box = match matches.value_of("input") { [INFO] [stderr] 136 + let mut input_file: Box = match matches.value_of("input") { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:164:50 [INFO] [stderr] | [INFO] [stderr] 164 | let (mut output_file, output_filename): (Box, _) = [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 164 - let (mut output_file, output_filename): (Box, _) = [INFO] [stderr] 164 + let (mut output_file, output_filename): (Box, _) = [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stderr] --> src/parser/whitespace.rs:90:13 [INFO] [stderr] | [INFO] [stderr] 90 | wc.write_all(input).is_ok(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stderr] --> src/parser/whitespace.rs:91:13 [INFO] [stderr] | [INFO] [stderr] 91 | wc.flush().is_ok(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stderr] --> src/parser/whitespace.rs:111:13 [INFO] [stderr] | [INFO] [stderr] 111 | wc.write_all(input.as_bytes()).is_ok(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Result::::is_ok` that must be used [INFO] [stderr] --> src/parser/whitespace.rs:112:13 [INFO] [stderr] | [INFO] [stderr] 112 | wc.flush().is_ok(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you intended to assert that this is ok, consider `.unwrap()` instead [INFO] [stderr] [INFO] [stderr] warning: `mathematica-notebook-filter` (bin "mathematica-notebook-filter" test) generated 6 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mathematica_notebook_filter-de624f4d507fd5cc) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test parser::cell_group_data::test::cell_group_data ... ok [INFO] [stdout] test parser::cell::test::cell ... ok [INFO] [stdout] test parser::cell_group_data::test::cell_group_data_end ... ok [INFO] [stdout] test parser::cell_group_data::test::cell_group_data_start ... ok [INFO] [stdout] test parser::utilities::test::check_start ... ok [INFO] [stdout] test parser::utilities::test::load_function ... ok [INFO] [stdout] test parser::utilities::test::load_rest_of_function ... ok [INFO] [stdout] test parser::utilities::test::read_consume_output ... ok [INFO] [stdout] test parser::whitespace::test::write ... ok [INFO] [stdout] test parser::header::test::content_type ... ok [INFO] [stdout] test parser::notebook::test::notebook_end ... ok [INFO] [stdout] test parser::notebook::test::notebook_start ... ok [INFO] [stdout] test parser::notebook::test::notebook ... ok [INFO] [stdout] test parser::cell::test::cell_list ... ok [INFO] [stdout] test parser::header::test::beginning_notebook ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "55e222d886284b85f4e7d99ae602f2b83377acf3ac96611e2d4072ecf5c7f32b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55e222d886284b85f4e7d99ae602f2b83377acf3ac96611e2d4072ecf5c7f32b", kill_on_drop: false }` [INFO] [stdout] 55e222d886284b85f4e7d99ae602f2b83377acf3ac96611e2d4072ecf5c7f32b