[INFO] fetching crate comn 0.1.1... [INFO] checking comn-0.1.1 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] extracting crate comn 0.1.1 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate comn 0.1.1 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f70d4a087152b0d8f5c12ffe773b19b87e07dc2af38318f10631cf6173e3997a [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" "f70d4a087152b0d8f5c12ffe773b19b87e07dc2af38318f10631cf6173e3997a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f70d4a087152b0d8f5c12ffe773b19b87e07dc2af38318f10631cf6173e3997a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f70d4a087152b0d8f5c12ffe773b19b87e07dc2af38318f10631cf6173e3997a", kill_on_drop: false }` [INFO] [stdout] f70d4a087152b0d8f5c12ffe773b19b87e07dc2af38318f10631cf6173e3997a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f90d8e3d69ba3c332788bd449ad57be9fd6e34f1f6dcb9451ad17d8388635c3c [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" "f90d8e3d69ba3c332788bd449ad57be9fd6e34f1f6dcb9451ad17d8388635c3c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-task v0.3.18 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-macro v0.3.18 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking futures-channel v0.3.18 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Checking futures-util v0.3.18 [INFO] [stderr] Compiling comn-pms v0.1.0 [INFO] [stderr] Checking futures-executor v0.3.18 [INFO] [stderr] Checking futures v0.3.18 [INFO] [stderr] Checking comn v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary lifetime parameter `'a` [INFO] [stdout] --> src/flags.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn declare_argment<'a: 'static>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: you can use the `'static` lifetime directly, in place of `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary lifetime parameter `'a` [INFO] [stdout] --> src/flags.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn declare_argment<'a: 'static>( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: you can use the `'static` lifetime directly, in place of `'a` [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)]` on by default [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [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)]` 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: 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)]` 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: 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `a` [INFO] [stdout] --> tests/test.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | struct a { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `x3` [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: `#[warn(unused_must_use)]` on by default [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 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: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `$crate::join` (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: this warning originates in the macro `$crate::join` (in Nightly builds, run with -Z macro-backtrace for more info) [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] = note: this warning originates in the macro `$crate::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.68s [INFO] running `Command { std: "docker" "inspect" "f90d8e3d69ba3c332788bd449ad57be9fd6e34f1f6dcb9451ad17d8388635c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f90d8e3d69ba3c332788bd449ad57be9fd6e34f1f6dcb9451ad17d8388635c3c", kill_on_drop: false }` [INFO] [stdout] f90d8e3d69ba3c332788bd449ad57be9fd6e34f1f6dcb9451ad17d8388635c3c