[INFO] cloning repository https://github.com/kennylevinsen/greetd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kennylevinsen/greetd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkennylevinsen%2Fgreetd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkennylevinsen%2Fgreetd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e069f5ac4de96bf85b57ccf8a876c8a17277dfc4 [INFO] testing kennylevinsen/greetd against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkennylevinsen%2Fgreetd" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kennylevinsen/greetd on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kennylevinsen/greetd [INFO] finished tweaking git repo https://github.com/kennylevinsen/greetd [INFO] tweaked toml for git repo https://github.com/kennylevinsen/greetd written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/kennylevinsen/greetd already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60c4fb0db8043e1b4e87bf799beb1d37079fd0dd5d3b32d41fe1affe864a222c [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" "60c4fb0db8043e1b4e87bf799beb1d37079fd0dd5d3b32d41fe1affe864a222c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60c4fb0db8043e1b4e87bf799beb1d37079fd0dd5d3b32d41fe1affe864a222c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60c4fb0db8043e1b4e87bf799beb1d37079fd0dd5d3b32d41fe1affe864a222c", kill_on_drop: false }` [INFO] [stdout] 60c4fb0db8043e1b4e87bf799beb1d37079fd0dd5d3b32d41fe1affe864a222c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 582cafbb3d2bf5e70a67ae5df05c2581c092e1205dc856f4842a53f8769e1a25 [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" "582cafbb3d2bf5e70a67ae5df05c2581c092e1205dc856f4842a53f8769e1a25", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pam-sys v0.5.6 [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling inish v0.1.0 (/opt/rustwide/workdir/inish) [INFO] [stderr] Compiling enquote v1.0.3 [INFO] [stderr] Compiling tokio v1.0.2 [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling quote v1.0.5 [INFO] [stderr] Compiling syn v1.0.21 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling nix v0.19.1 [INFO] [stderr] Compiling rpassword v5.0.0 [INFO] [stderr] Compiling users v0.11.0 [INFO] [stderr] Compiling serde_derive v1.0.110 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.17 [INFO] [stderr] Compiling async-trait v0.1.31 [INFO] [stderr] Compiling thiserror v1.0.17 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling greetd_ipc v0.6.0 (/opt/rustwide/workdir/greetd_ipc) [INFO] [stderr] Compiling fakegreet v0.6.0 (/opt/rustwide/workdir/fakegreet) [INFO] [stderr] Compiling greetd v0.6.0 (/opt/rustwide/workdir/greetd) [INFO] [stderr] Compiling agreety v0.6.0 (/opt/rustwide/workdir/agreety) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 42.63s [INFO] running `Command { std: "docker" "inspect" "582cafbb3d2bf5e70a67ae5df05c2581c092e1205dc856f4842a53f8769e1a25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "582cafbb3d2bf5e70a67ae5df05c2581c092e1205dc856f4842a53f8769e1a25", kill_on_drop: false }` [INFO] [stdout] 582cafbb3d2bf5e70a67ae5df05c2581c092e1205dc856f4842a53f8769e1a25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17b2df495af722966d3a5cf03a596bc071eeda2f1a1bfd6af0e6261de9a81a93 [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" "17b2df495af722966d3a5cf03a596bc071eeda2f1a1bfd6af0e6261de9a81a93", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling inish v0.1.0 (/opt/rustwide/workdir/inish) [INFO] [stderr] Compiling unicode-width v0.1.7 [INFO] [stderr] Compiling enquote v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rpassword v5.0.0 [INFO] [stderr] Compiling pam-sys v0.5.6 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling thiserror v1.0.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling nix v0.19.1 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling users v0.11.0 [INFO] [stderr] Compiling tokio v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling greetd_ipc v0.6.0 (/opt/rustwide/workdir/greetd_ipc) [INFO] [stderr] Compiling agreety v0.6.0 (/opt/rustwide/workdir/agreety) [INFO] [stderr] Compiling greetd v0.6.0 (/opt/rustwide/workdir/greetd) [INFO] [stderr] Compiling fakegreet v0.6.0 (/opt/rustwide/workdir/fakegreet) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 14.87s [INFO] running `Command { std: "docker" "inspect" "17b2df495af722966d3a5cf03a596bc071eeda2f1a1bfd6af0e6261de9a81a93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17b2df495af722966d3a5cf03a596bc071eeda2f1a1bfd6af0e6261de9a81a93", kill_on_drop: false }` [INFO] [stdout] 17b2df495af722966d3a5cf03a596bc071eeda2f1a1bfd6af0e6261de9a81a93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d3f921c038d810dad68761f2dc0adef822fdc7eb8d8103900ab685169aa72400 [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" "d3f921c038d810dad68761f2dc0adef822fdc7eb8d8103900ab685169aa72400", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/agreety-f4f1415f15bf12aa) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/fakegreet-7a38f33fc06f864a) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/greetd-543f8bdd85910912) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test config::tests::invalid_default_session ... ok [INFO] [stdout] test config::tests::invalid_general ... ok [INFO] [stdout] test config::tests::invalid_initial_session ... ok [INFO] [stdout] test config::tests::initial_session ... ok [INFO] [stdout] test config::tests::old_config ... ok [INFO] [stdout] test config::tests::minimal_config ... ok [INFO] [stdout] test config::tests::general ... ok [INFO] [stdout] test config::tests::terminal ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/greetd_ipc-38f492667e45c3e8) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/inish-96602a45bf1fe149) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::whitespaces ... ok [INFO] [stdout] test tests::fields ... ok [INFO] [stdout] test tests::sections ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests inish [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests greetd_ipc [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/codec/sync.rs - codec::sync (line 5) ... ok [INFO] [stdout] test src/codec/tokio.rs - codec::tokio (line 5) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/codec/tokio.rs - codec::tokio (line 5) stdout ---- [INFO] [stdout] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stdout] --> src/codec/tokio.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 8 | #[tokio::main] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `rust_out` [INFO] [stdout] --> src/codec/tokio.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![allow(unused)] [INFO] [stdout] 2 | | extern crate r#greetd_ipc; [INFO] [stdout] 3 | | use std::env; [INFO] [stdout] 4 | | use tokio::net::UnixStream; [INFO] [stdout] ... | [INFO] [stdout] 13 | | Ok(()) [INFO] [stdout] 14 | | } [INFO] [stdout] | |_^ consider adding a `main` function at the crate level [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/codec/tokio.rs - codec::tokio (line 5) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.72s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "d3f921c038d810dad68761f2dc0adef822fdc7eb8d8103900ab685169aa72400", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3f921c038d810dad68761f2dc0adef822fdc7eb8d8103900ab685169aa72400", kill_on_drop: false }` [INFO] [stdout] d3f921c038d810dad68761f2dc0adef822fdc7eb8d8103900ab685169aa72400