[INFO] fetching crate comn 0.1.1... [INFO] testing comn-0.1.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate comn 0.1.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate comn 0.1.1 [INFO] finished tweaking crates.io crate comn 0.1.1 [INFO] tweaked toml for crates.io crate comn 0.1.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate comn 0.1.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 84 packages to latest compatible versions [INFO] [stderr] Adding clap v2.33.4 (available: v2.34.0) [INFO] [stderr] Adding ctor v0.1.26 (available: v0.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded comn-pms v0.1.0 [INFO] [stderr] Downloaded ctor v0.1.26 [INFO] [stderr] Downloaded clap v2.33.4 [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5323602a71f6617b98ca7a58eb69fec0fe86e5ec7650976a960ecce3956e7212 [INFO] running `Command { std: "docker" "start" "-a" "5323602a71f6617b98ca7a58eb69fec0fe86e5ec7650976a960ecce3956e7212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5323602a71f6617b98ca7a58eb69fec0fe86e5ec7650976a960ecce3956e7212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5323602a71f6617b98ca7a58eb69fec0fe86e5ec7650976a960ecce3956e7212", kill_on_drop: false }` [INFO] [stdout] 5323602a71f6617b98ca7a58eb69fec0fe86e5ec7650976a960ecce3956e7212 [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21cebc33ee32d7a7ffb09646694fdca5019fbfc78911c466d921c857dd418609 [INFO] running `Command { std: "docker" "start" "-a" "21cebc33ee32d7a7ffb09646694fdca5019fbfc78911c466d921c857dd418609", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling clap v2.33.4 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling comn-pms v0.1.0 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling comn v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::mem` instead [INFO] [stdout] --> src/atomic.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use std::intrinsics::transmute; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/flags.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | fn cmd_args_list(k: &'static str) -> &mut LinkedList { [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'static` [INFO] [stdout] | [INFO] [stdout] 33 | fn cmd_args_list(k: &'static str) -> &'static mut LinkedList { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> src/flags.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | Box::::from(*ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 215 | let _ = Box::::from(*ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.63s [INFO] running `Command { std: "docker" "inspect" "21cebc33ee32d7a7ffb09646694fdca5019fbfc78911c466d921c857dd418609", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21cebc33ee32d7a7ffb09646694fdca5019fbfc78911c466d921c857dd418609", kill_on_drop: false }` [INFO] [stdout] 21cebc33ee32d7a7ffb09646694fdca5019fbfc78911c466d921c857dd418609 [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e06c4eeb44ad7214f92aab3dc919484c9021fe9b42bf0a546bd4d750e0d8c371 [INFO] running `Command { std: "docker" "start" "-a" "e06c4eeb44ad7214f92aab3dc919484c9021fe9b42bf0a546bd4d750e0d8c371", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::mem` instead [INFO] [stdout] --> src/atomic.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use std::intrinsics::transmute; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/flags.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | fn cmd_args_list(k: &'static str) -> &mut LinkedList { [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'static` [INFO] [stdout] | [INFO] [stdout] 33 | fn cmd_args_list(k: &'static str) -> &'static mut LinkedList { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> src/flags.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | Box::::from(*ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 215 | let _ = Box::::from(*ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling comn v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `x` should have an upper camel case name [INFO] [stdout] --> tests/test.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | struct x { [INFO] [stdout] | ^ help: convert the identifier to upper camel case (notice the capitalization): `X` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `a` should have an upper camel case name [INFO] [stdout] --> tests/test.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | struct a { [INFO] [stdout] | ^ help: convert the identifier to upper camel case: `A` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::mem` instead [INFO] [stdout] --> src/atomic.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use std::intrinsics::transmute; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `wrapper` should have an upper camel case name [INFO] [stdout] --> tests/tokio.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | struct wrapper { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Wrapper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/tokio.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | thread::sleep_ms(5000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/tokio.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | thread::sleep_ms(5000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/tokio.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | thread::sleep_ms(5000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> tests/tokio.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | thread::sleep_ms(3000); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 0 that must be used [INFO] [stdout] --> tests/tokio.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | tokio::join!(h1, h2, h3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 1 that must be used [INFO] [stdout] --> tests/tokio.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | tokio::join!(h1, h2, h3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` in tuple element 2 that must be used [INFO] [stdout] --> tests/tokio.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | tokio::join!(h1, h2, h3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/flags.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | fn cmd_args_list(k: &'static str) -> &mut LinkedList { [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^ the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'static` [INFO] [stdout] | [INFO] [stdout] 33 | fn cmd_args_list(k: &'static str) -> &'static mut LinkedList { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> src/flags.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | Box::::from(*ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 215 | let _ = Box::::from(*ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/test.rs:281:13 [INFO] [stdout] | [INFO] [stdout] 281 | let mut y = &mut x; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `a` is never constructed [INFO] [stdout] --> tests/test.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | struct a { [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 `x3` is never used [INFO] [stdout] --> tests/test.rs:185:8 [INFO] [stdout] | [INFO] [stdout] 185 | fn x3(c: &mut a, d: a) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/test.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | / thread::spawn(move || { [INFO] [stdout] 223 | | let sss3 = unsafe { &mut *(sss1 as *const _ as *mut String) }; [INFO] [stdout] 224 | | let sss4 = Box::leak(Box::new(format!("{1} {0}", i, 8))); [INFO] [stdout] 225 | | mem::swap(sss3, sss4); [INFO] [stdout] 226 | | }) [INFO] [stdout] 227 | | .join(); [INFO] [stdout] | |_______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 222 | let _ = thread::spawn(move || { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell` [INFO] [stdout] --> tests/test.rs:223:33 [INFO] [stdout] | [INFO] [stdout] 223 | let sss3 = unsafe { &mut *(sss1 as *const _ as *mut String) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `comn` (test "test") due to 1 previous error; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e06c4eeb44ad7214f92aab3dc919484c9021fe9b42bf0a546bd4d750e0d8c371", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e06c4eeb44ad7214f92aab3dc919484c9021fe9b42bf0a546bd4d750e0d8c371", kill_on_drop: false }` [INFO] [stdout] e06c4eeb44ad7214f92aab3dc919484c9021fe9b42bf0a546bd4d750e0d8c371