[INFO] fetching crate nardol 0.0.3...
[INFO] testing nardol-0.0.3 against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6
[INFO] extracting crate nardol 0.0.3 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate nardol 0.0.3
[INFO] finished tweaking crates.io crate nardol 0.0.3
[INFO] tweaked toml for crates.io crate nardol 0.0.3 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate nardol 0.0.3 on toolchain 1ef7943ee607160a564655b6596f83670ef95df5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 57 packages to latest compatible versions
[INFO] [stderr]       Adding indoc v1.0.9 (available: v2.0.7)
[INFO] [stderr]       Adding itertools v0.10.5 (available: v0.14.0)
[INFO] [stderr]       Adding rand v0.8.5 (available: v0.9.2)
[INFO] [stderr]       Adding ron v0.6.6 (available: v0.11.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ron v0.6.6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9da71c08bc14393a945cbced17ca88b5e5a921b82d1d310e8903848bd2edf5c0
[INFO] running `Command { std: "docker" "start" "-a" "9da71c08bc14393a945cbced17ca88b5e5a921b82d1d310e8903848bd2edf5c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9da71c08bc14393a945cbced17ca88b5e5a921b82d1d310e8903848bd2edf5c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9da71c08bc14393a945cbced17ca88b5e5a921b82d1d310e8903848bd2edf5c0", kill_on_drop: false }`
[INFO] [stdout] 9da71c08bc14393a945cbced17ca88b5e5a921b82d1d310e8903848bd2edf5c0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 552554ab6360ccb49b5c2aa3729fb20d4e15387f96ca647285874234715ac036
[INFO] running `Command { std: "docker" "start" "-a" "552554ab6360ccb49b5c2aa3729fb20d4e15387f96ca647285874234715ac036", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.177
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling indoc v1.0.9
[INFO] [stderr]    Compiling ron v0.6.6
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling backtrace v0.3.76
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling nardol v0.0.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead
[INFO] [stdout]    --> src/bytes/from_bytes.rs:213:45
[INFO] [stdout]     |
[INFO] [stdout] 213 |         let naive_datetime = NaiveDateTime::from_timestamp(usize::try_from(value)? as i64, 0);
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]    --> src/bytes/from_bytes.rs:215:22
[INFO] [stdout]     |
[INFO] [stdout] 215 |         Ok(DateTime::from_utc(naive_datetime, Utc))
[INFO] [stdout]     |                      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead
[INFO] [stdout]    --> src/bytes/from_bytes.rs:233:45
[INFO] [stdout]     |
[INFO] [stdout] 233 |         let naive_datetime = NaiveDateTime::from_timestamp(usize::try_from(value)? as i64, 0);
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]    --> src/bytes/from_bytes.rs:235:22
[INFO] [stdout]     |
[INFO] [stdout] 235 |         Ok(DateTime::from_utc(naive_datetime, Utc))
[INFO] [stdout]     |                      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_content` is never used
[INFO] [stdout]   --> src/message/utils.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn send_content(stream: &mut TcpStream, content: Bytes) -> Result<(), Error> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `receive_content` is never used
[INFO] [stdout]   --> src/message/utils.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn receive_content(stream: &mut TcpStream) -> Result<(Bytes, Packet), Error> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_file` is never used
[INFO] [stdout]   --> src/message/utils.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub fn send_file(stream: &mut TcpStream, path: &Path) -> Result<(), Error> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `receive_file` is never used
[INFO] [stdout]    --> src/message/utils.rs:121:8
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub fn receive_file(
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/packet/mod.rs:507:18
[INFO] [stdout]     |
[INFO] [stdout] 507 |         unsafe { MAX_PACKET_SIZE.load(Ordering::SeqCst) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/packet/mod.rs:518:13
[INFO] [stdout]     |
[INFO] [stdout] 518 |             MAX_PACKET_SIZE.store(size, Ordering::SeqCst);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.21s
[INFO] running `Command { std: "docker" "inspect" "552554ab6360ccb49b5c2aa3729fb20d4e15387f96ca647285874234715ac036", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "552554ab6360ccb49b5c2aa3729fb20d4e15387f96ca647285874234715ac036", kill_on_drop: false }`
[INFO] [stdout] 552554ab6360ccb49b5c2aa3729fb20d4e15387f96ca647285874234715ac036
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6fb3cda2ebf42ba48307a851d45ddee6687439802f0398f071995b5b8476cfca
[INFO] running `Command { std: "docker" "start" "-a" "6fb3cda2ebf42ba48307a851d45ddee6687439802f0398f071995b5b8476cfca", kill_on_drop: false }`
[INFO] [stderr]    Compiling nardol v0.0.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead
[INFO] [stdout]    --> src/bytes/from_bytes.rs:213:45
[INFO] [stdout]     |
[INFO] [stdout] 213 |         let naive_datetime = NaiveDateTime::from_timestamp(usize::try_from(value)? as i64, 0);
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]    --> src/bytes/from_bytes.rs:215:22
[INFO] [stdout]     |
[INFO] [stdout] 215 |         Ok(DateTime::from_utc(naive_datetime, Utc))
[INFO] [stdout]     |                      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead
[INFO] [stdout]    --> src/bytes/from_bytes.rs:233:45
[INFO] [stdout]     |
[INFO] [stdout] 233 |         let naive_datetime = NaiveDateTime::from_timestamp(usize::try_from(value)? as i64, 0);
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]    --> src/bytes/from_bytes.rs:235:22
[INFO] [stdout]     |
[INFO] [stdout] 235 |         Ok(DateTime::from_utc(naive_datetime, Utc))
[INFO] [stdout]     |                      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_content` is never used
[INFO] [stdout]   --> src/message/utils.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn send_content(stream: &mut TcpStream, content: Bytes) -> Result<(), Error> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `receive_content` is never used
[INFO] [stdout]   --> src/message/utils.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn receive_content(stream: &mut TcpStream) -> Result<(Bytes, Packet), Error> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_file` is never used
[INFO] [stdout]   --> src/message/utils.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub fn send_file(stream: &mut TcpStream, path: &Path) -> Result<(), Error> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `receive_file` is never used
[INFO] [stdout]    --> src/message/utils.rs:121:8
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub fn receive_file(
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/packet/mod.rs:507:18
[INFO] [stdout]     |
[INFO] [stdout] 507 |         unsafe { MAX_PACKET_SIZE.load(Ordering::SeqCst) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/packet/mod.rs:518:13
[INFO] [stdout]     |
[INFO] [stdout] 518 |             MAX_PACKET_SIZE.store(size, Ordering::SeqCst);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead
[INFO] [stdout]    --> src/bytes/from_bytes.rs:213:45
[INFO] [stdout]     |
[INFO] [stdout] 213 |         let naive_datetime = NaiveDateTime::from_timestamp(usize::try_from(value)? as i64, 0);
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]    --> src/bytes/from_bytes.rs:215:22
[INFO] [stdout]     |
[INFO] [stdout] 215 |         Ok(DateTime::from_utc(naive_datetime, Utc))
[INFO] [stdout]     |                      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead
[INFO] [stdout]    --> src/bytes/from_bytes.rs:233:45
[INFO] [stdout]     |
[INFO] [stdout] 233 |         let naive_datetime = NaiveDateTime::from_timestamp(usize::try_from(value)? as i64, 0);
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stdout]    --> src/bytes/from_bytes.rs:235:22
[INFO] [stdout]     |
[INFO] [stdout] 235 |         Ok(DateTime::from_utc(naive_datetime, Utc))
[INFO] [stdout]     |                      ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_content` is never used
[INFO] [stdout]   --> src/message/utils.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub fn send_content(stream: &mut TcpStream, content: Bytes) -> Result<(), Error> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `receive_content` is never used
[INFO] [stdout]   --> src/message/utils.rs:26:8
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub fn receive_content(stream: &mut TcpStream) -> Result<(Bytes, Packet), Error> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_file` is never used
[INFO] [stdout]   --> src/message/utils.rs:68:8
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub fn send_file(stream: &mut TcpStream, path: &Path) -> Result<(), Error> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `receive_file` is never used
[INFO] [stdout]    --> src/message/utils.rs:121:8
[INFO] [stdout]     |
[INFO] [stdout] 121 | pub fn receive_file(
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/packet/mod.rs:507:18
[INFO] [stdout]     |
[INFO] [stdout] 507 |         unsafe { MAX_PACKET_SIZE.load(Ordering::SeqCst) }
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/packet/mod.rs:518:13
[INFO] [stdout]     |
[INFO] [stdout] 518 |             MAX_PACKET_SIZE.store(size, Ordering::SeqCst);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.75s
[INFO] running `Command { std: "docker" "inspect" "6fb3cda2ebf42ba48307a851d45ddee6687439802f0398f071995b5b8476cfca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6fb3cda2ebf42ba48307a851d45ddee6687439802f0398f071995b5b8476cfca", kill_on_drop: false }`
[INFO] [stdout] 6fb3cda2ebf42ba48307a851d45ddee6687439802f0398f071995b5b8476cfca
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 758529ceadaea848041f69c77ee565a8aeeb5b170060361e45d9825ce288447c
[INFO] running `Command { std: "docker" "start" "-a" "758529ceadaea848041f69c77ee565a8aeeb5b170060361e45d9825ce288447c", kill_on_drop: false }`
[INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead
[INFO] [stderr]    --> src/bytes/from_bytes.rs:213:45
[INFO] [stderr]     |
[INFO] [stderr] 213 |         let naive_datetime = NaiveDateTime::from_timestamp(usize::try_from(value)? as i64, 0);
[INFO] [stderr]     |                                             ^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stderr]    --> src/bytes/from_bytes.rs:215:22
[INFO] [stderr]     |
[INFO] [stderr] 215 |         Ok(DateTime::from_utc(naive_datetime, Utc))
[INFO] [stderr]     |                      ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDateTime::from_timestamp`: use `DateTime::from_timestamp` instead
[INFO] [stderr]    --> src/bytes/from_bytes.rs:233:45
[INFO] [stderr]     |
[INFO] [stderr] 233 |         let naive_datetime = NaiveDateTime::from_timestamp(usize::try_from(value)? as i64, 0);
[INFO] [stderr]     |                                             ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::<Tz>::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead
[INFO] [stderr]    --> src/bytes/from_bytes.rs:235:22
[INFO] [stderr]     |
[INFO] [stderr] 235 |         Ok(DateTime::from_utc(naive_datetime, Utc))
[INFO] [stderr]     |                      ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `send_content` is never used
[INFO] [stderr]   --> src/message/utils.rs:13:8
[INFO] [stderr]    |
[INFO] [stderr] 13 | pub fn send_content(stream: &mut TcpStream, content: Bytes) -> Result<(), Error> {
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `receive_content` is never used
[INFO] [stderr]   --> src/message/utils.rs:26:8
[INFO] [stderr]    |
[INFO] [stderr] 26 | pub fn receive_content(stream: &mut TcpStream) -> Result<(Bytes, Packet), Error> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `send_file` is never used
[INFO] [stderr]   --> src/message/utils.rs:68:8
[INFO] [stderr]    |
[INFO] [stderr] 68 | pub fn send_file(stream: &mut TcpStream, path: &Path) -> Result<(), Error> {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `receive_file` is never used
[INFO] [stderr]    --> src/message/utils.rs:121:8
[INFO] [stderr]     |
[INFO] [stderr] 121 | pub fn receive_file(
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/packet/mod.rs:507:18
[INFO] [stderr]     |
[INFO] [stderr] 507 |         unsafe { MAX_PACKET_SIZE.load(Ordering::SeqCst) }
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/packet/mod.rs:518:13
[INFO] [stderr]     |
[INFO] [stderr] 518 |             MAX_PACKET_SIZE.store(size, Ordering::SeqCst);
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: `nardol` (lib) generated 10 warnings
[INFO] [stderr] warning: `nardol` (lib test) generated 10 warnings (10 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nardol-c2c59dfe4072984f)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test bytes::find_pattern_test ... ok
[INFO] [stdout] test bytes::split_at_pat_test ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/packet_tests.rs (/opt/rustwide/target/debug/deps/packet_tests-243e62d2eb32ec7b)
[INFO] [stdout] 
[INFO] [stdout] running 18 tests
[INFO] [stdout] test from_buff_correctness_test ... ok
[INFO] [stdout] test max_content_size ... ok
[INFO] [stdout] test into_Bytes ... ok
[INFO] [stdout] test new ... ok
[INFO] [stdout] test max_size_single_threaded_access ... ok
[INFO] [stdout] test description_size_single_threaded_access ... ok
[INFO] [stdout] test peek_from_and_send_to ... ok
[INFO] [stdout] test number_of_packets ... ok
[INFO] [stdout] test peek_from_and_send_to_connected ... ok
[INFO] [stdout] test receive_from ... ok
[INFO] [stdout] test receive_from_connected ... ok
[INFO] [stdout] test max_size_multiple_threads_access ... ok
[INFO] [stdout] test split_to_max_packet_size ... ok
[INFO] [stdout] test description_size_multiple_threads_access ... ok
[INFO] [stdout] test from_buff_size_test ... ok
[INFO] [stdout] test receive ... ok
[INFO] [stdout] test peek ... ok
[INFO] [stdout] test set_max_size_multiple_threads_access ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.01s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/root.rs (/opt/rustwide/target/debug/deps/root-e5621712c5627a98)
[INFO] [stdout] 
[INFO] [stdout] running 19 tests
[INFO] [stdout] test packet_tests::description_size_single_threaded_access ... ok
[INFO] [stdout] test packet_tests::from_buff_correctness_test ... ok
[INFO] [stdout] test packet_tests::into_Bytes ... ok
[INFO] [stdout] test packet_tests::new ... ok
[INFO] [stdout] test packet_tests::max_size_single_threaded_access ... ok
[INFO] [stdout] test packet_tests::number_of_packets ... ok
[INFO] [stdout] test packet_tests::peek_from_and_send_to ... ok
[INFO] [stdout] test packet_tests::max_size_multiple_threads_access ... ok
[INFO] [stdout] test packet_tests::peek_from_and_send_to_connected ... ok
[INFO] [stdout] test packet_tests::receive_from ... ok
[INFO] [stdout] test packet_tests::receive_from_connected ... ok
[INFO] [stdout] test packet_tests::split_to_max_packet_size ... ok
[INFO] [stdout] test general_tests::from_arr ... ok
[INFO] [stdout] test packet_tests::max_content_size ... ok
[INFO] [stdout] test packet_tests::description_size_multiple_threads_access ... ok
[INFO] [stdout] test packet_tests::from_buff_size_test ... ok
[INFO] [stdout] test packet_tests::peek ... ok
[INFO] [stdout] test packet_tests::receive ... ok
[INFO] [stdout] test packet_tests::set_max_size_multiple_threads_access ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.12s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests nardol
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test src/packet/mod.rs - packet::Packet::new (line 173) ... FAILED
[INFO] [stdout] test src/error/mod.rs - error::Error::new (line 50) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/packet/mod.rs - packet::Packet::new (line 173) stdout ----
[INFO] [stdout] error[E0603]: module `packet` is private
[INFO] [stdout]   --> src/packet/mod.rs:175:13
[INFO] [stdout]    |
[INFO] [stdout]  5 | use nardol::packet::{Packet, PacketKind};
[INFO] [stdout]    |             ^^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] note: the module `packet` is defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | mod packet;
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `packet` is private
[INFO] [stdout]   --> src/packet/mod.rs:175:13
[INFO] [stdout]    |
[INFO] [stdout]  5 | use nardol::packet::{Packet, PacketKind};
[INFO] [stdout]    |             ^^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum instead:
[INFO] [stdout]       nardol::PacketKind
[INFO] [stdout]   --> src/packet/mod.rs:175:30
[INFO] [stdout]    |
[INFO] [stdout]  5 | use nardol::packet::{Packet, PacketKind};
[INFO] [stdout]    |                              ^^^^^^^^^^
[INFO] [stdout] note: the module `packet` is defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:19:1
[INFO] [stdout]    |
[INFO] [stdout] 19 | mod packet;
[INFO] [stdout]    | ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `bytes` is private
[INFO] [stdout]   --> src/packet/mod.rs:176:13
[INFO] [stdout]    |
[INFO] [stdout]  6 | use nardol::bytes::Bytes;
[INFO] [stdout]    |             ^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] note: the module `bytes` is defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | mod bytes;
[INFO] [stdout]    | ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `error` is private
[INFO] [stdout]   --> src/packet/mod.rs:177:48
[INFO] [stdout]    |
[INFO] [stdout]  7 | fn packet_new_doc_test() -> Result<(), nardol::error::Error> {
[INFO] [stdout]    |                                                ^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] note: the module `error` is defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | mod error;
[INFO] [stdout]    | ^^^^^^^^^
[INFO] [stdout] help: consider importing this struct instead
[INFO] [stdout]    |
[INFO] [stdout]  7 - fn packet_new_doc_test() -> Result<(), nardol::error::Error> {
[INFO] [stdout]  7 + fn packet_new_doc_test() -> Result<(), nardol::Error> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0603`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/error/mod.rs - error::Error::new (line 50) stdout ----
[INFO] [stdout] error[E0603]: module `error` is private
[INFO] [stdout]   --> src/error/mod.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout]  5 | use nardol::error::Error;
[INFO] [stdout]    |             ^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] note: the module `error` is defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | mod error;
[INFO] [stdout]    | ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0603]: module `error` is private
[INFO] [stdout]   --> src/error/mod.rs:53:13
[INFO] [stdout]    |
[INFO] [stdout]  6 | use nardol::error::ErrorKind;
[INFO] [stdout]    |             ^^^^^ private module
[INFO] [stdout]    |
[INFO] [stdout] note: the module `error` is defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | mod error;
[INFO] [stdout]    | ^^^^^^^^^
[INFO] [stdout] help: consider importing this enum instead
[INFO] [stdout]    |
[INFO] [stdout]  6 - use nardol::error::ErrorKind;
[INFO] [stdout]  6 + use nardol::ErrorKind;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0603`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/error/mod.rs - error::Error::new (line 50)
[INFO] [stdout]     src/packet/mod.rs - packet::Packet::new (line 173)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "758529ceadaea848041f69c77ee565a8aeeb5b170060361e45d9825ce288447c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "758529ceadaea848041f69c77ee565a8aeeb5b170060361e45d9825ce288447c", kill_on_drop: false }`
[INFO] [stdout] 758529ceadaea848041f69c77ee565a8aeeb5b170060361e45d9825ce288447c
