[INFO] cloning repository https://github.com/VukoDrakkeinen/katoptron [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VukoDrakkeinen/katoptron" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVukoDrakkeinen%2Fkatoptron", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVukoDrakkeinen%2Fkatoptron'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 21d77361ed975728bd55f2734667b862b60bc53d [INFO] testing VukoDrakkeinen/katoptron against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVukoDrakkeinen%2Fkatoptron" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/VukoDrakkeinen/katoptron on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/VukoDrakkeinen/katoptron [INFO] finished tweaking git repo https://github.com/VukoDrakkeinen/katoptron [INFO] tweaked toml for git repo https://github.com/VukoDrakkeinen/katoptron written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/VukoDrakkeinen/katoptron already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bdd24794ed5369c5427d32142ab82c671119237f367393eafe882fa5fb72f0f0 [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" "bdd24794ed5369c5427d32142ab82c671119237f367393eafe882fa5fb72f0f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdd24794ed5369c5427d32142ab82c671119237f367393eafe882fa5fb72f0f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdd24794ed5369c5427d32142ab82c671119237f367393eafe882fa5fb72f0f0", kill_on_drop: false }` [INFO] [stdout] bdd24794ed5369c5427d32142ab82c671119237f367393eafe882fa5fb72f0f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a44f90d26267059ade5e7a2ef4028a2e231996154b08de2aaf404dafde29d72 [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" "7a44f90d26267059ade5e7a2ef4028a2e231996154b08de2aaf404dafde29d72", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling cfg-if v0.1.2 [INFO] [stderr] Compiling syn v0.15.33 [INFO] [stderr] Compiling cc v1.0.15 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling pkg-config v0.3.11 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling serde v1.0.90 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling rustc-demangle v0.1.7 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling bincode v1.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling smallvec v0.6.3 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling proc-macro2 v0.4.29 [INFO] [stderr] Compiling proc-macro2 v0.2.3 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling crossbeam-channel v0.3.8 [INFO] [stderr] Compiling quote v0.4.2 [INFO] [stderr] Compiling libdbus-sys v0.1.5 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling syn v0.12.15 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling atty v0.2.10 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling dbus v0.6.4 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling crossbeam v0.7.1 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling display_derive v1.0.0 (https://github.com/withoutboats/display_derive#5d6bac2f) [INFO] [stderr] Compiling synstructure v0.7.0 [INFO] [stderr] Compiling failure_derive v1.0.0 (https://github.com/rust-lang-nursery/failure/#fa39406f) [INFO] [stderr] Compiling failure v1.0.0 (https://github.com/rust-lang-nursery/failure/#fa39406f) [INFO] [stderr] Compiling serde_derive v1.0.90 [INFO] [stderr] Compiling wstr_macro v0.1.0 (/opt/rustwide/workdir/wstr_macro) [INFO] [stderr] Compiling backtrace v0.3.6 [INFO] [stderr] Compiling error-chain v0.12.0 [INFO] [stderr] Compiling notify-rust v3.5.0 [INFO] [stderr] Compiling ron v0.4.2 [INFO] [stderr] Compiling katoptron v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | Generic(#[fail(cause)] Box, TxErrorKind), [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | Generic(#[fail(cause)] Box, RecvErrorKind), [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | Generic(#[fail(cause)] Box, SendErrorKind), [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:114:15 [INFO] [stdout] | [INFO] [stdout] 114 | context: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Display + Send + Sync + 'static` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/errors.rs:161:30 [INFO] [stdout] | [INFO] [stdout] 161 | let mut current = self as &Fail; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Fail` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/recv/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(main)] [INFO] [stdout] | ^^^^ feature has been removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/send/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(main)] [INFO] [stdout] | ^^^^ feature has been removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/recv/main_unix.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | fn args() -> (u16) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 9 - fn args() -> (u16) { [INFO] [stdout] 9 + fn args() -> u16 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `katoptron_recv` [INFO] [stdout] --> src/recv/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![feature(main)] [INFO] [stdout] 2 | | [INFO] [stdout] 3 | | mod server; [INFO] [stdout] 4 | | [INFO] [stdout] 5 | | #[cfg(unix)] mod status_notifier; [INFO] [stdout] 6 | | #[cfg(unix)] mod main_unix; [INFO] [stdout] 7 | | #[cfg(windows)] fn main() { compile_error!("katoptron-recv is Unix-only"); } [INFO] [stdout] | |____________________________________________________________________________^ the main function must be defined at the crate level (in `src/recv/main.rs`) [INFO] [stdout] | [INFO] [stdout] note: here is a function named `main` [INFO] [stdout] --> src/recv/main_unix.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | / fn main() { [INFO] [stdout] 33 | | let port = args(); [INFO] [stdout] 34 | | crossbeam::scope(|scope| { [INFO] [stdout] 35 | | let (flashes_sender, flashes_receiver) = channel::bounded(8); [INFO] [stdout] ... | [INFO] [stdout] 45 | | }).unwrap(); [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: you have one or more functions named `main` not defined at the crate level [INFO] [stdout] = help: consider moving the `main` function definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `katoptron_send` [INFO] [stdout] --> src/send/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![feature(main)] [INFO] [stdout] 2 | | #![feature(proc_macro_hygiene)] [INFO] [stdout] 3 | | #![feature(integer_atomics)] [INFO] [stdout] 4 | | #![feature(box_syntax)] [INFO] [stdout] ... | [INFO] [stdout] 10 | | //#[cfg(unix)] fn main() { compile_error!("katoptron-send is Windows-only"); } [INFO] [stdout] 11 | | #[cfg(unix)] mod proto_unix; [INFO] [stdout] | |____________________________^ the main function must be defined at the crate level (in `src/send/main.rs`) [INFO] [stdout] | [INFO] [stdout] note: here is a function named `main` [INFO] [stdout] --> src/send/proto_unix.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / fn main() { [INFO] [stdout] 10 | | let (server_address, _config_path) = cli::args(); [INFO] [stdout] 11 | | let (tx, rx) = channel::bounded(8); [INFO] [stdout] 12 | | [INFO] [stdout] ... | [INFO] [stdout] 25 | | }).unwrap(); [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = note: you have one or more functions named `main` not defined at the crate level [INFO] [stdout] = help: consider moving the `main` function definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: could not compile `katoptron` due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0557, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0557`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7a44f90d26267059ade5e7a2ef4028a2e231996154b08de2aaf404dafde29d72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a44f90d26267059ade5e7a2ef4028a2e231996154b08de2aaf404dafde29d72", kill_on_drop: false }` [INFO] [stdout] 7a44f90d26267059ade5e7a2ef4028a2e231996154b08de2aaf404dafde29d72