[INFO] fetching crate file-content 0.3.1...
[INFO] testing file-content-0.3.1 against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] extracting crate file-content 0.3.1 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate file-content 0.3.1
[INFO] finished tweaking crates.io crate file-content 0.3.1
[INFO] tweaked toml for crates.io crate file-content 0.3.1 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate file-content 0.3.1 on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate crates.io crate file-content 0.3.1 already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] f41ea59f10170b75da830726b5dece25c0e295b269fc2b49811a6aa3c51b313d
[INFO] running `"docker" "start" "f41ea59f10170b75da830726b5dece25c0e295b269fc2b49811a6aa3c51b313d"`
[INFO] running `"docker" "inspect" "f41ea59f10170b75da830726b5dece25c0e295b269fc2b49811a6aa3c51b313d"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f41ea59f10170b75da830726b5dece25c0e295b269fc2b49811a6aa3c51b313d" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "f41ea59f10170b75da830726b5dece25c0e295b269fc2b49811a6aa3c51b313d"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f41ea59f10170b75da830726b5dece25c0e295b269fc2b49811a6aa3c51b313d" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling syn v2.0.55
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling file-content v0.3.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 4.54s
[INFO] running `"docker" "inspect" "f41ea59f10170b75da830726b5dece25c0e295b269fc2b49811a6aa3c51b313d"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f41ea59f10170b75da830726b5dece25c0e295b269fc2b49811a6aa3c51b313d" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling anyhow v1.0.81
[INFO] [stderr]    Compiling syn v2.0.55
[INFO] [stderr]    Compiling test-case-core v3.3.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.58
[INFO] [stderr]    Compiling test-case-macros v3.3.1
[INFO] [stderr]    Compiling test-case v3.3.1
[INFO] [stderr]    Compiling thiserror v1.0.58
[INFO] [stderr]    Compiling file-content v0.3.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 9.32s
[INFO] running `"docker" "inspect" "f41ea59f10170b75da830726b5dece25c0e295b269fc2b49811a6aa3c51b313d"`
[INFO] running `"docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f41ea59f10170b75da830726b5dece25c0e295b269fc2b49811a6aa3c51b313d" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"`
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/file-content/c5f82bebe9e0a0a3/out/file_content-c5f82bebe9e0a0a3)
[INFO] [stdout] 
[INFO] [stdout] running 57 tests
[INFO] [stdout] test encoding::tests::test_to_utf16_be::_16_bit_chars ... ok
[INFO] [stdout] test encoding::tests::test_to_utf16_le::_16_bit_chars ... ok
[INFO] [stdout] test encoding::tests::test_to_utf16_le::mixed_length_chars_with_be_bom ... ok
[INFO] [stdout] test encoding::tests::test_to_utf16_le::_32_bit_chars_with_be_bom ... ok
[INFO] [stdout] test encoding::tests::test_to_utf8_bom::latin_1_chars_16_bit_chars_ ... ok
[INFO] [stdout] test encoding::tests::test_to_utf16_be::_32_bit_chars_with_be_bom ... ok
[INFO] [stdout] test encoding::tests::test_to_utf16_be::no_chars ... ok
[INFO] [stdout] test encoding::tests::test_to_utf16_le::no_chars ... ok
[INFO] [stdout] test encoding::tests::test_to_utf8_bom::ascii_chars_8_bit_chars_ ... ok
[INFO] [stdout] test encoding::tests::test_to_utf8_bom::mandarin_chars_24_bit_chars_ ... ok
[INFO] [stdout] test encoding::tests::test_to_utf8_bom::no_chars ... ok
[INFO] [stdout] test file::tests::load_from_encoded_content::utf16le_ascii_content_encoding_utf16le_expects ... ok
[INFO] [stdout] test encoding::tests::test_to_utf16_be::mixed_length_chars_with_be_bom ... ok
[INFO] [stdout] test encoding::tests::test_to_utf8_bom::supplementary_multilingual_plane_chars_32_bit_chars_ ... ok
[INFO] [stdout] test file::tests::load_from_binary ... ok
[INFO] [stdout] test file::tests::load_from_encoded_content::b_hello_encoding_utf8_expects ... ok
[INFO] [stdout] test file::tests::load_from_encoded_content::utf16be_ascii_content_encoding_utf16be_expects ... ok
[INFO] [stdout] test file::tests::load_from_encoded_content::utf8bom_ascii_content_encoding_utf8bom_expects ... ok
[INFO] [stdout] test text_data::tests::from_binary::single_zero_byte ... ok
[INFO] [stdout] test text_data::tests::from_invalid_utf16le::code_points_above_maximum ... ok
[INFO] [stdout] test text_data::tests::from_invalid_utf16le::incomplete_sequence ... ok
[INFO] [stdout] test text_data::tests::from_binary::trailing_zero_byte ... ok
[INFO] [stdout] test text_data::tests::from_invalid_utf16le::invalid_high_surrogate ... ok
[INFO] [stdout] test text_data::tests::from_binary::zero_byte_at_start ... ok
[INFO] [stdout] test text_data::tests::from_invalid_utf16le::invalid_low_surrogate ... ok
[INFO] [stdout] test text_data::tests::from_invalid_utf16be::code_points_above_maximum ... ok
[INFO] [stdout] test text_data::tests::from_invalid_utf16be::incomplete_sequence ... ok
[INFO] [stdout] test text_data::tests::from_invalid_utf16be::invalid_low_surrogate ... ok
[INFO] [stdout] test text_data::tests::from_invalid_utf8_with_bom::code_points_above_maximum ... ok
[INFO] [stdout] test text_data::tests::from_invalid_utf8_with_bom::incomplete_sequence ... ok
[INFO] [stdout] test text_data::tests::from_invalid_utf8_with_bom::invalid_start_byte ... ok
[INFO] [stdout] test text_data::tests::from_invalid_utf8_with_bom::overlong_encoding ... ok
[INFO] [stdout] test text_data::tests::from_valid_utf16be::ascii_chars ... ok
[INFO] [stdout] test text_data::tests::from_valid_utf16le::ascii_chars ... ok
[INFO] [stdout] test text_data::tests::from_valid_utf16le::no_content ... ok
[INFO] [stdout] test text_data::tests::from_valid_utf16le::unicode_chars ... ok
[INFO] [stdout] test text_data::tests::from_valid_utf16be::unicode_chars ... ok
[INFO] [stdout] test text_data::tests::from_valid_utf8::ascii_chars ... ok
[INFO] [stdout] test text_data::tests::from_invalid_utf16be::invalid_high_surrogate ... ok
[INFO] [stdout] test text_data::tests::from_valid_utf8::no_content ... ok
[INFO] [stdout] test text_data::tests::from_valid_utf8::unicode_chars ... ok
[INFO] [stdout] test text_data::tests::from_valid_utf8_with_bom::ascii_chars ... ok
[INFO] [stdout] test text_data::tests::from_valid_utf8_with_bom::no_content ... ok
[INFO] [stdout] test text_data::tests::from_invalid_utf8::code_points_above_maximum ... ok
[INFO] [stdout] test text_data::tests::from_invalid_utf8::incomplete_sequence ... ok
[INFO] [stdout] test text_data::tests::from_valid_utf16be::no_content ... ok
[INFO] [stdout] test text_data::tests::from_valid_utf8_with_bom::unicode_chars ... ok
[INFO] [stdout] test utf16::tests::invalid_be ... ok
[INFO] [stderr]      Running tests/file_tests.rs (/opt/rustwide/target/release/build/file-content/b806e32734367851/out/file_tests-b806e32734367851)
[INFO] [stdout] test text_data::tests::from_invalid_utf8::invalid_start_byte ... ok
[INFO] [stdout] test utf16::tests::valid_le::b_x12_x34_0x3412_expects ... ok
[INFO] [stdout] test utf16::tests::valid_be::b_x12_x34_0x1234_expects ... ok
[INFO] [stdout] test text_data::tests::from_invalid_utf8::overlong_encoding ... ok
[INFO] [stdout] test utf16::tests::valid_be::b_x12_x34_x56_x78_0x1234_0x5678_expects ... ok
[INFO] [stdout] test utf16::tests::invalid_le ... ok
[INFO] [stdout] test utf16::tests::valid_be::b_expects ... ok
[INFO] [stdout] test utf16::tests::valid_le::b_expects ... ok
[INFO] [stdout] test utf16::tests::valid_le::b_x12_x34_x56_x78_0x3412_0x7856_expects ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 57 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 5 tests
[INFO] [stdout] test file_io_tests::save_binary_content ... FAILED
[INFO] [stderr] error: test failed, to rerun pass `--test file_tests`
[INFO] [stdout] test file_io_tests::save_encoded_content::utf_16be ... FAILED
[INFO] [stdout] test file_io_tests::save_encoded_content::utf_8withbom ... FAILED
[INFO] [stdout] test file_io_tests::save_encoded_content::utf_8 ... FAILED
[INFO] [stdout] test file_io_tests::save_encoded_content::utf_16le ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- file_io_tests::save_binary_content stdout ----
[INFO] [stdout] Error: Read-only file system (os error 30)
[INFO] [stdout] 
[INFO] [stdout] Stack backtrace:
[INFO] [stdout]    0: <anyhow::Error as core::convert::From<core::io::error::Error>>::from
[INFO] [stdout]    1: <file_tests::file_io_tests::save_binary_content::{closure#0} as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]    2: test::__rust_begin_short_backtrace::<core::result::Result<(), alloc::string::String>, fn() -> core::result::Result<(), alloc::string::String>>
[INFO] [stdout]    3: test::run_test::{closure#0}
[INFO] [stdout]    4: std::sys::backtrace::__rust_begin_short_backtrace::<test::run_test::{closure#1}, ()>
[INFO] [stdout]    5: <std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]    6: <std::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]    7: <unknown>
[INFO] [stdout]    8: clone
[INFO] [stdout] 
[INFO] [stdout] ---- file_io_tests::save_encoded_content::utf_16be stdout ----
[INFO] [stdout] Error: Read-only file system (os error 30)
[INFO] [stdout] 
[INFO] [stdout] Stack backtrace:
[INFO] [stdout]    0: <anyhow::Error as core::convert::From<core::io::error::Error>>::from
[INFO] [stdout]    1: file_tests::file_io_tests::save_encoded_content
[INFO] [stdout]    2: <file_tests::file_io_tests::save_encoded_content::utf_16be::{closure#0} as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]    3: test::__rust_begin_short_backtrace::<core::result::Result<(), alloc::string::String>, fn() -> core::result::Result<(), alloc::string::String>>
[INFO] [stdout]    4: test::run_test::{closure#0}
[INFO] [stdout]    5: std::sys::backtrace::__rust_begin_short_backtrace::<test::run_test::{closure#1}, ()>
[INFO] [stdout]    6: <std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]    7: <std::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]    8: <unknown>
[INFO] [stdout]    9: clone
[INFO] [stdout] 
[INFO] [stdout] ---- file_io_tests::save_encoded_content::utf_8withbom stdout ----
[INFO] [stdout] Error: Read-only file system (os error 30)
[INFO] [stdout] 
[INFO] [stdout] Stack backtrace:
[INFO] [stdout]    0: <anyhow::Error as core::convert::From<core::io::error::Error>>::from
[INFO] [stdout]    1: file_tests::file_io_tests::save_encoded_content
[INFO] [stdout]    2: <file_tests::file_io_tests::save_encoded_content::utf_8withbom::{closure#0} as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]    3: test::__rust_begin_short_backtrace::<core::result::Result<(), alloc::string::String>, fn() -> core::result::Result<(), alloc::string::String>>
[INFO] [stdout]    4: test::run_test::{closure#0}
[INFO] [stdout]    5: std::sys::backtrace::__rust_begin_short_backtrace::<test::run_test::{closure#1}, ()>
[INFO] [stdout]    6: <std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]    7: <std::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]    8: <unknown>
[INFO] [stdout]    9: clone
[INFO] [stdout] 
[INFO] [stdout] ---- file_io_tests::save_encoded_content::utf_8 stdout ----
[INFO] [stdout] Error: Read-only file system (os error 30)
[INFO] [stdout] 
[INFO] [stdout] Stack backtrace:
[INFO] [stdout]    0: <anyhow::Error as core::convert::From<core::io::error::Error>>::from
[INFO] [stdout]    1: file_tests::file_io_tests::save_encoded_content
[INFO] [stdout]    2: <file_tests::file_io_tests::save_encoded_content::utf_8::{closure#0} as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]    3: test::__rust_begin_short_backtrace::<core::result::Result<(), alloc::string::String>, fn() -> core::result::Result<(), alloc::string::String>>
[INFO] [stdout]    4: test::run_test::{closure#0}
[INFO] [stdout]    5: std::sys::backtrace::__rust_begin_short_backtrace::<test::run_test::{closure#1}, ()>
[INFO] [stdout]    6: <std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]    7: <std::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]    8: <unknown>
[INFO] [stdout]    9: clone
[INFO] [stdout] 
[INFO] [stdout] ---- file_io_tests::save_encoded_content::utf_16le stdout ----
[INFO] [stdout] Error: Read-only file system (os error 30)
[INFO] [stdout] 
[INFO] [stdout] Stack backtrace:
[INFO] [stdout]    0: <anyhow::Error as core::convert::From<core::io::error::Error>>::from
[INFO] [stdout]    1: file_tests::file_io_tests::save_encoded_content
[INFO] [stdout]    2: <file_tests::file_io_tests::save_encoded_content::utf_16le::{closure#0} as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]    3: test::__rust_begin_short_backtrace::<core::result::Result<(), alloc::string::String>, fn() -> core::result::Result<(), alloc::string::String>>
[INFO] [stdout]    4: test::run_test::{closure#0}
[INFO] [stdout]    5: std::sys::backtrace::__rust_begin_short_backtrace::<test::run_test::{closure#1}, ()>
[INFO] [stdout]    6: <std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]    7: <std::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]    8: <unknown>
[INFO] [stdout]    9: clone
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     file_io_tests::save_binary_content
[INFO] [stdout]     file_io_tests::save_encoded_content::utf_16be
[INFO] [stdout]     file_io_tests::save_encoded_content::utf_16le
[INFO] [stdout]     file_io_tests::save_encoded_content::utf_8
[INFO] [stdout]     file_io_tests::save_encoded_content::utf_8withbom
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 5 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `"docker" "inspect" "f41ea59f10170b75da830726b5dece25c0e295b269fc2b49811a6aa3c51b313d"`
[INFO] running `"docker" "rm" "-f" "f41ea59f10170b75da830726b5dece25c0e295b269fc2b49811a6aa3c51b313d"`
[INFO] [stdout] f41ea59f10170b75da830726b5dece25c0e295b269fc2b49811a6aa3c51b313d
