[INFO] fetching crate oneshot 0.1.2... [INFO] testing oneshot-0.1.2 against 1.55.0 for beta-1.56-1 [INFO] extracting crate oneshot 0.1.2 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate oneshot 0.1.2 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate oneshot 0.1.2 [INFO] finished tweaking crates.io crate oneshot 0.1.2 [INFO] tweaked toml for crates.io crate oneshot 0.1.2 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate crates.io crate oneshot 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ca30b9f3641ac6c52e42652ea7a925e40c60e3a948a437781f820d707779905 [INFO] running `Command { std: "docker" "start" "-a" "7ca30b9f3641ac6c52e42652ea7a925e40c60e3a948a437781f820d707779905", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ca30b9f3641ac6c52e42652ea7a925e40c60e3a948a437781f820d707779905", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ca30b9f3641ac6c52e42652ea7a925e40c60e3a948a437781f820d707779905", kill_on_drop: false }` [INFO] [stdout] 7ca30b9f3641ac6c52e42652ea7a925e40c60e3a948a437781f820d707779905 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3483e4e440b80449aaffc5429564c7e794e0e0df88a3a950402af1f14b046c6e [INFO] running `Command { std: "docker" "start" "-a" "3483e4e440b80449aaffc5429564c7e794e0e0df88a3a950402af1f14b046c6e", kill_on_drop: false }` [INFO] [stderr] Compiling oneshot v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:332:37 [INFO] [stdout] | [INFO] [stdout] 332 | match channel.state.compare_and_swap(EMPTY, RECEIVING, SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:414:37 [INFO] [stdout] | [INFO] [stdout] 414 | match channel.state.compare_and_swap(EMPTY, RECEIVING, SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:512:37 [INFO] [stdout] | [INFO] [stdout] 512 | match channel.state.compare_and_swap(EMPTY, RECEIVING, SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:586:37 [INFO] [stdout] | [INFO] [stdout] 586 | match channel.state.compare_and_swap(EMPTY, RECEIVING, SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:382:33 [INFO] [stdout] | [INFO] [stdout] 382 | RECEIVING => panic!(RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 382 | RECEIVING => panic!("{}", RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 382 | RECEIVING => std::panic::panic_any(RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:455:33 [INFO] [stdout] | [INFO] [stdout] 455 | RECEIVING => panic!(RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 455 | RECEIVING => panic!("{}", RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 455 | RECEIVING => std::panic::panic_any(RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:565:33 [INFO] [stdout] | [INFO] [stdout] 565 | RECEIVING => panic!(RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 565 | RECEIVING => panic!("{}", RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 565 | RECEIVING => std::panic::panic_any(RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.50s [INFO] running `Command { std: "docker" "inspect" "3483e4e440b80449aaffc5429564c7e794e0e0df88a3a950402af1f14b046c6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3483e4e440b80449aaffc5429564c7e794e0e0df88a3a950402af1f14b046c6e", kill_on_drop: false }` [INFO] [stdout] 3483e4e440b80449aaffc5429564c7e794e0e0df88a3a950402af1f14b046c6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49b093760d743a73d6532c69dcff574e2f82af80bdc03f2c6dafd4944b60bf3e [INFO] running `Command { std: "docker" "start" "-a" "49b093760d743a73d6532c69dcff574e2f82af80bdc03f2c6dafd4944b60bf3e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling syn v1.0.20 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling pin-project-lite v0.1.5 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling futures-timer v2.0.2 [INFO] [stderr] Compiling once_cell v1.3.1 [INFO] [stderr] Compiling oorandom v11.1.1 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:332:37 [INFO] [stdout] | [INFO] [stdout] 332 | match channel.state.compare_and_swap(EMPTY, RECEIVING, SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:414:37 [INFO] [stdout] | [INFO] [stdout] 414 | match channel.state.compare_and_swap(EMPTY, RECEIVING, SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:512:37 [INFO] [stdout] | [INFO] [stdout] 512 | match channel.state.compare_and_swap(EMPTY, RECEIVING, SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:586:37 [INFO] [stdout] | [INFO] [stdout] 586 | match channel.state.compare_and_swap(EMPTY, RECEIVING, SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:382:33 [INFO] [stdout] | [INFO] [stdout] 382 | RECEIVING => panic!(RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 382 | RECEIVING => panic!("{}", RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 382 | RECEIVING => std::panic::panic_any(RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:455:33 [INFO] [stdout] | [INFO] [stdout] 455 | RECEIVING => panic!(RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 455 | RECEIVING => panic!("{}", RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 455 | RECEIVING => std::panic::panic_any(RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:565:33 [INFO] [stdout] | [INFO] [stdout] 565 | RECEIVING => panic!(RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 565 | RECEIVING => panic!("{}", RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 565 | RECEIVING => std::panic::panic_any(RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling async-task v1.3.1 [INFO] [stderr] Compiling clap v2.33.1 [INFO] [stderr] Compiling criterion-plot v0.4.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling kv-log-macro v1.0.5 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling plotters v0.2.14 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling tinytemplate v1.0.4 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling async-std v1.5.0 [INFO] [stderr] Compiling tokio v0.2.20 [INFO] [stderr] Compiling criterion v0.3.2 [INFO] [stderr] Compiling oneshot v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:332:37 [INFO] [stdout] | [INFO] [stdout] 332 | match channel.state.compare_and_swap(EMPTY, RECEIVING, SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:414:37 [INFO] [stdout] | [INFO] [stdout] 414 | match channel.state.compare_and_swap(EMPTY, RECEIVING, SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:512:37 [INFO] [stdout] | [INFO] [stdout] 512 | match channel.state.compare_and_swap(EMPTY, RECEIVING, SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/lib.rs:586:37 [INFO] [stdout] | [INFO] [stdout] 586 | match channel.state.compare_and_swap(EMPTY, RECEIVING, SeqCst) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:382:33 [INFO] [stdout] | [INFO] [stdout] 382 | RECEIVING => panic!(RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 382 | RECEIVING => panic!("{}", RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 382 | RECEIVING => std::panic::panic_any(RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:455:33 [INFO] [stdout] | [INFO] [stdout] 455 | RECEIVING => panic!(RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 455 | RECEIVING => panic!("{}", RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 455 | RECEIVING => std::panic::panic_any(RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:565:33 [INFO] [stdout] | [INFO] [stdout] 565 | RECEIVING => panic!(RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 565 | RECEIVING => panic!("{}", RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 565 | RECEIVING => std::panic::panic_any(RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 32.18s [INFO] running `Command { std: "docker" "inspect" "49b093760d743a73d6532c69dcff574e2f82af80bdc03f2c6dafd4944b60bf3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49b093760d743a73d6532c69dcff574e2f82af80bdc03f2c6dafd4944b60bf3e", kill_on_drop: false }` [INFO] [stdout] 49b093760d743a73d6532c69dcff574e2f82af80bdc03f2c6dafd4944b60bf3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 600ea9b1831e72106d1f865b81aa9daef5eb6214122db0b1ce9d0f16417b31fd [INFO] running `Command { std: "docker" "start" "-a" "600ea9b1831e72106d1f865b81aa9daef5eb6214122db0b1ce9d0f16417b31fd", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/lib.rs:332:37 [INFO] [stderr] | [INFO] [stderr] 332 | match channel.state.compare_and_swap(EMPTY, RECEIVING, SeqCst) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/lib.rs:414:37 [INFO] [stderr] | [INFO] [stderr] 414 | match channel.state.compare_and_swap(EMPTY, RECEIVING, SeqCst) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/lib.rs:512:37 [INFO] [stderr] | [INFO] [stderr] 512 | match channel.state.compare_and_swap(EMPTY, RECEIVING, SeqCst) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::sync::atomic::AtomicU8::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/lib.rs:586:37 [INFO] [stderr] | [INFO] [stderr] 586 | match channel.state.compare_and_swap(EMPTY, RECEIVING, SeqCst) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:382:33 [INFO] [stderr] | [INFO] [stderr] 382 | RECEIVING => panic!(RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 382 | RECEIVING => panic!("{}", RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 382 | RECEIVING => std::panic::panic_any(RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:455:33 [INFO] [stderr] | [INFO] [stderr] 455 | RECEIVING => panic!(RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 455 | RECEIVING => panic!("{}", RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 455 | RECEIVING => std::panic::panic_any(RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/lib.rs:565:33 [INFO] [stderr] | [INFO] [stderr] 565 | RECEIVING => panic!(RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 565 | RECEIVING => panic!("{}", RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 565 | RECEIVING => std::panic::panic_any(RECEIVER_USED_SYNC_AND_ASYNC_ERROR), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `oneshot` (lib) generated 7 warnings [INFO] [stderr] warning: `oneshot` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/oneshot-e620e428be594844) [INFO] [stdout] [INFO] [stderr] Running tests/assert_mem.rs (/opt/rustwide/target/debug/deps/assert_mem-40bf2a2530e8a841) [INFO] [stdout] running 1 test [INFO] [stdout] test receiver_waker_size ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test channel_endpoints_single_pointer ... ok [INFO] [stderr] Running tests/async.rs (/opt/rustwide/target/debug/deps/async-b2102bc36bfe8cba) [INFO] [stdout] test error_sizes ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test await_with_dropped_sender_async_std ... ok [INFO] [stdout] test send_before_await_async_std ... ok [INFO] [stdout] test await_before_send_tokio ... ok [INFO] [stdout] test send_before_await_tokio ... ok [INFO] [stdout] test await_before_send_then_drop_sender_tokio ... ok [INFO] [stdout] test await_with_dropped_sender_tokio ... ok [INFO] [stdout] test poll_future_and_then_try_recv ... ok [INFO] [stdout] test await_before_send_async_std ... ok [INFO] [stdout] test await_before_send_then_drop_sender_async_std ... ok [INFO] [stdout] test poll_receiver_then_drop_it ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stderr] Running tests/sync.rs (/opt/rustwide/target/debug/deps/sync-4cb8fdda5ed8db1e) [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test message_in_channel_dropped_on_receiver_drop ... ok [INFO] [stdout] test non_send_type_can_be_used_on_same_thread ... ok [INFO] [stdout] test recv_before_send ... ok [INFO] [stdout] test try_recv ... ok [INFO] [stdout] test send_before_recv_timeout ... ok [INFO] [stdout] test send_error_drops_message_correctly ... ok [INFO] [stdout] test try_recv_with_dropped_sender ... ok [INFO] [stdout] test send_with_dropped_receiver ... ok [INFO] [stdout] test recv_timeout_before_send ... ok [INFO] [stdout] test recv_with_dropped_sender ... ok [INFO] [stdout] test send_error_drops_message_correctly_on_into_inner ... ok [INFO] [stdout] test send_then_drop_receiver ... ok [INFO] [stdout] test send_before_try_recv ... ok [INFO] [stdout] test send_before_recv_ref ... ok [INFO] [stdout] test recv_deadline_and_timeout_no_time ... ok [INFO] [stdout] test recv_before_send_then_drop_sender ... ok [INFO] [stdout] test recv_timeout_before_send_then_drop_sender ... ok [INFO] [stdout] test send_before_recv ... ok [INFO] [stderr] Doc-tests oneshot [INFO] [stdout] test recv_deadline_and_timeout_time_should_elapse ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 40) ... ok [INFO] [stdout] test src/lib.rs - (line 19) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.40s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "600ea9b1831e72106d1f865b81aa9daef5eb6214122db0b1ce9d0f16417b31fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "600ea9b1831e72106d1f865b81aa9daef5eb6214122db0b1ce9d0f16417b31fd", kill_on_drop: false }` [INFO] [stdout] 600ea9b1831e72106d1f865b81aa9daef5eb6214122db0b1ce9d0f16417b31fd