[INFO] fetching crate ws2can 0.1.0... [INFO] testing ws2can-0.1.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate ws2can 0.1.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate ws2can 0.1.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ws2can 0.1.0 [INFO] finished tweaking crates.io crate ws2can 0.1.0 [INFO] tweaked toml for crates.io crate ws2can 0.1.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate ws2can 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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] 6c7cb523dd5ab1c9845d35e3558fd0b966a7350b6adeaf5204dcb31c1d8a71ab [INFO] running `Command { std: "docker" "start" "-a" "6c7cb523dd5ab1c9845d35e3558fd0b966a7350b6adeaf5204dcb31c1d8a71ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c7cb523dd5ab1c9845d35e3558fd0b966a7350b6adeaf5204dcb31c1d8a71ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c7cb523dd5ab1c9845d35e3558fd0b966a7350b6adeaf5204dcb31c1d8a71ab", kill_on_drop: false }` [INFO] [stdout] 6c7cb523dd5ab1c9845d35e3558fd0b966a7350b6adeaf5204dcb31c1d8a71ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0cd99cbd9938a5843e9d0f9ba20999155e8252508ae287a9db1e0a669d334f3 [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" "b0cd99cbd9938a5843e9d0f9ba20999155e8252508ae287a9db1e0a669d334f3", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.63 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling try_from v0.2.2 [INFO] [stderr] Compiling hex v0.2.0 [INFO] [stderr] Compiling itertools v0.4.19 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling tokio v1.3.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling mio v0.7.9 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling regex v1.4.4 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling socketcan v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling tungstenite v0.13.0 [INFO] [stderr] Compiling pin-project v1.0.5 [INFO] [stderr] Compiling futures-executor v0.3.13 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Compiling tokio-tungstenite v0.14.0 [INFO] [stderr] Compiling tokio-socketcan v0.3.0 [INFO] [stderr] Compiling ws2can v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | panic!(print_usage()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 11 | panic!("{}", print_usage()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 11 | std::panic::panic_any(print_usage()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.47s [INFO] running `Command { std: "docker" "inspect" "b0cd99cbd9938a5843e9d0f9ba20999155e8252508ae287a9db1e0a669d334f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0cd99cbd9938a5843e9d0f9ba20999155e8252508ae287a9db1e0a669d334f3", kill_on_drop: false }` [INFO] [stdout] b0cd99cbd9938a5843e9d0f9ba20999155e8252508ae287a9db1e0a669d334f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c13d0127d51a0be4cecfee6512920e110bed58e628571d17f9c213eecaf6d4db [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" "c13d0127d51a0be4cecfee6512920e110bed58e628571d17f9c213eecaf6d4db", kill_on_drop: false }` [INFO] [stderr] Compiling ws2can v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | panic!(print_usage()); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 11 | panic!("{}", print_usage()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 11 | std::panic::panic_any(print_usage()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.84s [INFO] running `Command { std: "docker" "inspect" "c13d0127d51a0be4cecfee6512920e110bed58e628571d17f9c213eecaf6d4db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c13d0127d51a0be4cecfee6512920e110bed58e628571d17f9c213eecaf6d4db", kill_on_drop: false }` [INFO] [stdout] c13d0127d51a0be4cecfee6512920e110bed58e628571d17f9c213eecaf6d4db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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] 127c21cf56500ca69d03e77abdf738aabd1f5a0862e6d4eee5833c5e67e4b796 [INFO] running `Command { std: "docker" "start" "-a" "127c21cf56500ca69d03e77abdf738aabd1f5a0862e6d4eee5833c5e67e4b796", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:11:16 [INFO] [stderr] | [INFO] [stderr] 11 | panic!(print_usage()); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 11 | panic!("{}", print_usage()); [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 11 | std::panic::panic_any(print_usage()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/ws2can-6ecd78d847de3cc2) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test can::tests::serialize_can_frame ... ok [INFO] [stdout] test can::tests::deserialize_can_frame ... 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 unittests (/opt/rustwide/target/debug/deps/ws2can-b4a5322f50999341) [INFO] [stdout] [INFO] [stderr] Doc-tests ws2can [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - run (line 120) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - run (line 120) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sync` [INFO] [stdout] --> src/lib.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 3 | (in_tx , in_rx ) = sync::mpsc::channel(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `sync` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `sync` [INFO] [stdout] --> src/lib.rs:122:30 [INFO] [stdout] | [INFO] [stdout] 4 | (out_tx , out_rx) = sync::mpsc::channel(); [INFO] [stdout] | ^^^^ use of undeclared crate or module `sync` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `in_tx` in this scope [INFO] [stdout] --> src/lib.rs:121:2 [INFO] [stdout] | [INFO] [stdout] 3 | (in_tx , in_rx ) = sync::mpsc::channel(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `in_rx` in this scope [INFO] [stdout] --> src/lib.rs:121:14 [INFO] [stdout] | [INFO] [stdout] 3 | (in_tx , in_rx ) = sync::mpsc::channel(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `out_tx` in this scope [INFO] [stdout] --> src/lib.rs:122:3 [INFO] [stdout] | [INFO] [stdout] 4 | (out_tx , out_rx) = sync::mpsc::channel(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `out_rx` in this scope [INFO] [stdout] --> src/lib.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 4 | (out_tx , out_rx) = sync::mpsc::channel(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0658]: destructuring assignments are unstable [INFO] [stdout] --> src/lib.rs:121:27 [INFO] [stdout] | [INFO] [stdout] 3 | (in_tx , in_rx ) = sync::mpsc::channel(); [INFO] [stdout] | -------------------- ^ [INFO] [stdout] | | [INFO] [stdout] | cannot assign to this expression [INFO] [stdout] | [INFO] [stdout] = note: see issue #71126 for more information [INFO] [stdout] = help: add `#![feature(destructuring_assignment)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] error[E0658]: destructuring assignments are unstable [INFO] [stdout] --> src/lib.rs:122:28 [INFO] [stdout] | [INFO] [stdout] 4 | (out_tx , out_rx) = sync::mpsc::channel(); [INFO] [stdout] | -------------------- ^ [INFO] [stdout] | | [INFO] [stdout] | cannot assign to this expression [INFO] [stdout] | [INFO] [stdout] = note: see issue #71126 for more information [INFO] [stdout] = help: add `#![feature(destructuring_assignment)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0658. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - run (line 120) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.74s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "127c21cf56500ca69d03e77abdf738aabd1f5a0862e6d4eee5833c5e67e4b796", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "127c21cf56500ca69d03e77abdf738aabd1f5a0862e6d4eee5833c5e67e4b796", kill_on_drop: false }` [INFO] [stdout] 127c21cf56500ca69d03e77abdf738aabd1f5a0862e6d4eee5833c5e67e4b796