[INFO] cloning repository https://github.com/lythesia/ruduo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lythesia/ruduo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flythesia%2Fruduo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flythesia%2Fruduo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f98105bf28c9cacc515ee0eb84c20205b585116 [INFO] checking lythesia/ruduo against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flythesia%2Fruduo" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lythesia/ruduo on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lythesia/ruduo [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/lythesia/ruduo [INFO] tweaked toml for git repo https://github.com/lythesia/ruduo written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lythesia/ruduo already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/lythesia/async_logging` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ctrlc v3.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e8ea1fe3b76e5a61082d8e161b39b816a99b53de6ec798d241d9e373ee21565 [INFO] running `Command { std: "docker" "start" "-a" "1e8ea1fe3b76e5a61082d8e161b39b816a99b53de6ec798d241d9e373ee21565", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e8ea1fe3b76e5a61082d8e161b39b816a99b53de6ec798d241d9e373ee21565", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e8ea1fe3b76e5a61082d8e161b39b816a99b53de6ec798d241d9e373ee21565", kill_on_drop: false }` [INFO] [stdout] 1e8ea1fe3b76e5a61082d8e161b39b816a99b53de6ec798d241d9e373ee21565 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0c28e7576790b460ac5bfdf11a502188de26b2cb65588086c3cdba73aca5e78 [INFO] running `Command { std: "docker" "start" "-a" "f0c28e7576790b460ac5bfdf11a502188de26b2cb65588086c3cdba73aca5e78", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking async_logging v0.1.0 (https://github.com/lythesia/async_logging?branch=master#51e89d74) [INFO] [stderr] Checking ruduo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mio::Registry` [INFO] [stdout] --> src/channel.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use mio::Registry; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `timer::Timeout` [INFO] [stdout] --> src/tcp_connection.rs:5:93 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{channel::Channel, buffer::Buffer, event_loop::{Notifier, EventLoopCtrl}, error, timer::Timeout}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/connector.rs:5:178 [INFO] [stdout] | [INFO] [stdout] 5 | ...pThreadPool, tcp_server::{Dispatcher, TcpServerConfig, Shared}, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctrl` [INFO] [stdout] --> src/channel.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | fn handle_read(&mut self, ctrl: &mut EventLoopCtrl) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ctrl` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctrl` [INFO] [stdout] --> src/channel.rs:8:32 [INFO] [stdout] | [INFO] [stdout] 8 | fn handle_write(&mut self, ctrl: &mut EventLoopCtrl) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ctrl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/channel.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | fn handle_error(&mut self, err: &std::io::Error) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> src/service.rs:54:34 [INFO] [stdout] | [INFO] [stdout] 54 | fn handle_timeout(&mut self, timeout: Self::Timeout, repeat: bool, event_loop: &mut EventLoop) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repeat` [INFO] [stdout] --> src/service.rs:54:58 [INFO] [stdout] | [INFO] [stdout] 54 | fn handle_timeout(&mut self, timeout: Self::Timeout, repeat: bool, event_loop: &mut EventLoop) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_repeat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event_loop` [INFO] [stdout] --> src/service.rs:54:72 [INFO] [stdout] | [INFO] [stdout] 54 | fn handle_timeout(&mut self, timeout: Self::Timeout, repeat: bool, event_loop: &mut EventLoop) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_loop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mark` [INFO] [stdout] --> src/service.rs:57:35 [INFO] [stdout] | [INFO] [stdout] 57 | fn refresh_timeout(&mut self, mark: Self::Timeout, timeout: crate::timer::Timeout) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mark` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout` [INFO] [stdout] --> src/service.rs:57:56 [INFO] [stdout] | [INFO] [stdout] 57 | fn refresh_timeout(&mut self, mark: Self::Timeout, timeout: crate::timer::Timeout) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registry` [INFO] [stdout] --> src/connector.rs:54:39 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn connect(&self, addr: &str, registry: &Registry, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_reading` is never used [INFO] [stdout] --> src/tcp_connection.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub(crate) trait BufState { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] 8 | fn is_reading(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `kind` and `desc` are never read [INFO] [stdout] --> src/timer.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 207 | pub struct TimerError { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 208 | kind: TimerErrorKind, [INFO] [stdout] | ^^^^ [INFO] [stdout] 209 | desc: &'static str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TimerError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] --> src/logger.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | let mut_ptr = const_ptr as *mut T; [INFO] [stdout] | ------------------- casting happend here [INFO] [stdout] 13 | &mut *mut_ptr [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] [stdout] error: aborting due to 1 previous error; 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ruduo` (lib) due to 2 previous errors; 14 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "f0c28e7576790b460ac5bfdf11a502188de26b2cb65588086c3cdba73aca5e78", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0c28e7576790b460ac5bfdf11a502188de26b2cb65588086c3cdba73aca5e78", kill_on_drop: false }` [INFO] [stdout] f0c28e7576790b460ac5bfdf11a502188de26b2cb65588086c3cdba73aca5e78