[INFO] fetching crate nardol 0.0.3... [INFO] testing nardol-0.0.3 against 1.90.0 for beta-1.91-3 [INFO] extracting crate nardol 0.0.3 into /workspace/builds/worker-1-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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate nardol 0.0.3 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 58 packages to latest compatible versions [INFO] [stderr] Adding indoc v1.0.9 (available: v2.0.6) [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" "+1.90.0" "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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 28fbe2eeeb9219e0b7c637197e9b38bd2ab033e24572d5f0b5bd05417742cfce [INFO] running `Command { std: "docker" "start" "-a" "28fbe2eeeb9219e0b7c637197e9b38bd2ab033e24572d5f0b5bd05417742cfce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "28fbe2eeeb9219e0b7c637197e9b38bd2ab033e24572d5f0b5bd05417742cfce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28fbe2eeeb9219e0b7c637197e9b38bd2ab033e24572d5f0b5bd05417742cfce", kill_on_drop: false }` [INFO] [stdout] 28fbe2eeeb9219e0b7c637197e9b38bd2ab033e24572d5f0b5bd05417742cfce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c98b8c873a228ac027f4925f6e751112bacef89344e0abcbf0207ad83a9869eb [INFO] running `Command { std: "docker" "start" "-a" "c98b8c873a228ac027f4925f6e751112bacef89344e0abcbf0207ad83a9869eb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling ron v0.6.6 [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::::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::::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)]` 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 [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)]` 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 [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 23.24s [INFO] running `Command { std: "docker" "inspect" "c98b8c873a228ac027f4925f6e751112bacef89344e0abcbf0207ad83a9869eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c98b8c873a228ac027f4925f6e751112bacef89344e0abcbf0207ad83a9869eb", kill_on_drop: false }` [INFO] [stdout] c98b8c873a228ac027f4925f6e751112bacef89344e0abcbf0207ad83a9869eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e236bc5ddd017fbdc2ebb5144b853a5422f2dc48f0a10d3ca4d9e67ae1fc8cd3 [INFO] running `Command { std: "docker" "start" "-a" "e236bc5ddd017fbdc2ebb5144b853a5422f2dc48f0a10d3ca4d9e67ae1fc8cd3", 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::::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::::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)]` 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 [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)]` 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 [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::::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::::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)]` 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 [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)]` 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 [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.35s [INFO] running `Command { std: "docker" "inspect" "e236bc5ddd017fbdc2ebb5144b853a5422f2dc48f0a10d3ca4d9e67ae1fc8cd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e236bc5ddd017fbdc2ebb5144b853a5422f2dc48f0a10d3ca4d9e67ae1fc8cd3", kill_on_drop: false }` [INFO] [stdout] e236bc5ddd017fbdc2ebb5144b853a5422f2dc48f0a10d3ca4d9e67ae1fc8cd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0a5cfbc7786489cef0569a18464a2ea9a84a47080eecdc7fc8c86f2eee7b4634 [INFO] running `Command { std: "docker" "start" "-a" "0a5cfbc7786489cef0569a18464a2ea9a84a47080eecdc7fc8c86f2eee7b4634", 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::::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::::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)]` 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 [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)]` 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 [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.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/nardol-bc510984f06eb86d) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] Running tests/packet_tests.rs (/opt/rustwide/target/debug/deps/packet_tests-8bebe11fe077fea7) [INFO] [stdout] test bytes::split_at_pat_test ... ok [INFO] [stdout] test bytes::find_pattern_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] [stdout] [INFO] [stdout] running 18 tests [INFO] [stdout] test from_buff_correctness_test ... ok [INFO] [stdout] test into_Bytes ... ok [INFO] [stdout] test description_size_multiple_threads_access ... ok [INFO] [stdout] test max_content_size ... ok [INFO] [stdout] test max_size_single_threaded_access ... ok [INFO] [stdout] test peek_from_and_send_to ... ok [INFO] [stdout] test new ... 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 split_to_max_packet_size ... ok [INFO] [stdout] test receive_from_connected ... ok [INFO] [stdout] test description_size_single_threaded_access ... ok [INFO] [stdout] test max_size_multiple_threads_access ... FAILED [INFO] [stdout] test from_buff_size_test ... ok [INFO] [stdout] test peek ... ok [INFO] [stdout] test receive ... ok [INFO] [stdout] test set_max_size_multiple_threads_access ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- max_size_multiple_threads_access stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'max_size_multiple_threads_access' panicked at tests/packet_tests.rs:293:5: [INFO] [stdout] This might be a false failure if tests are run in parallel. [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x561faaf89f82 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x561faaf89f82 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x561faaf89f82 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x561faaf89f82 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x561faafb0893 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x561faafb0893 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x561faaf86a83 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x561faaf86a83 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x561faaf89dd2 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x561faaf8b599 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x561faaf8b3ce - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x561faae22384 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x561faae22384 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x561faaf8bf6e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x561faaf8bf6e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x561faaf8bd06 - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:699:13 [INFO] [stdout] 16: 0x561faaf8a479 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x561faaf8b9cd - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x561faafaec70 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x561faadd0453 - packet_tests::max_size_multiple_threads_access::ha02e7c0ed141aa07 [INFO] [stdout] at /opt/rustwide/workdir/tests/packet_tests.rs:293:5 [INFO] [stdout] 20: 0x561faadd0277 - packet_tests::max_size_multiple_threads_access::{{closure}}::hbe152ef3e7d4f4e2 [INFO] [stdout] at /opt/rustwide/workdir/tests/packet_tests.rs:268:38 [INFO] [stdout] 21: 0x561faadd94f6 - core::ops::function::FnOnce::call_once::h1b6451b8fd65ae1d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 22: 0x561faae27beb - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 23: 0x561faae27beb - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 24: 0x561faae26d25 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 25: 0x561faae26d25 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 26: 0x561faae26d25 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 27: 0x561faae26d25 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 28: 0x561faae26d25 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 29: 0x561faae26d25 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 30: 0x561faae26d25 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 31: 0x561faadea924 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 32: 0x561faadea924 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 33: 0x561faadee2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 34: 0x561faadee2fa - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 35: 0x561faadee2fa - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 36: 0x561faadee2fa - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 37: 0x561faadee2fa - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 38: 0x561faadee2fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 39: 0x561faadee2fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 40: 0x561faaf8ef7f - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 41: 0x561faaf8ef7f - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 42: 0x78b42440daa4 - [INFO] [stdout] 43: 0x78b42449aa34 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] max_size_multiple_threads_access [INFO] [stdout] [INFO] [stdout] test result: FAILED. 17 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test packet_tests` [INFO] running `Command { std: "docker" "inspect" "0a5cfbc7786489cef0569a18464a2ea9a84a47080eecdc7fc8c86f2eee7b4634", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a5cfbc7786489cef0569a18464a2ea9a84a47080eecdc7fc8c86f2eee7b4634", kill_on_drop: false }` [INFO] [stdout] 0a5cfbc7786489cef0569a18464a2ea9a84a47080eecdc7fc8c86f2eee7b4634