[INFO] cloning repository https://github.com/sabahtalateh/tokio_chat_server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sabahtalateh/tokio_chat_server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsabahtalateh%2Ftokio_chat_server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsabahtalateh%2Ftokio_chat_server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dd3ac82fc35f7d0197021598b8b47ade28c53ad6 [INFO] checking sabahtalateh/tokio_chat_server against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsabahtalateh%2Ftokio_chat_server" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sabahtalateh/tokio_chat_server on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sabahtalateh/tokio_chat_server [INFO] finished tweaking git repo https://github.com/sabahtalateh/tokio_chat_server [INFO] tweaked toml for git repo https://github.com/sabahtalateh/tokio_chat_server written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/sabahtalateh/tokio_chat_server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75d25ad0a0d5e335c544c6c61b057317b2a590fa786767cf425062ed002d38fd [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" "75d25ad0a0d5e335c544c6c61b057317b2a590fa786767cf425062ed002d38fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75d25ad0a0d5e335c544c6c61b057317b2a590fa786767cf425062ed002d38fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75d25ad0a0d5e335c544c6c61b057317b2a590fa786767cf425062ed002d38fd", kill_on_drop: false }` [INFO] [stdout] 75d25ad0a0d5e335c544c6c61b057317b2a590fa786767cf425062ed002d38fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c81451efa189b5bb64159f11ccfcc7c99ac14245ec9b060755af8a71be7c35bd [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" "c81451efa189b5bb64159f11ccfcc7c99ac14245ec9b060755af8a71be7c35bd", kill_on_drop: false }` [INFO] [stderr] Checking futures v0.1.28 [INFO] [stderr] Checking tokio_chat_server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> examples/future.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | /// Implicit types declarations in this file can be omitted [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 45 | let my_fut: MyFut = MyFut::new(); [INFO] [stdout] | --------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> examples/future.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | /// Function to use in `AndThen` combinator [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | / let f: fn(i32) -> Result = |val| { [INFO] [stdout] 49 | | println!("done"); [INFO] [stdout] 50 | | Ok(val - 100) [INFO] [stdout] 51 | | }; [INFO] [stdout] | |______- rustdoc does not generate documentation for statements [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> examples/future.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | / /// `AndThen` type returned by `.and_then(closure)` combinator [INFO] [stdout] 54 | | /// implements `Future` too so it can be used as regular future [INFO] [stdout] 55 | | /// [INFO] [stdout] 56 | | /// First generic type parameter is `MyFut` - future that will be polled first [INFO] [stdout] ... | [INFO] [stdout] 62 | | /// Third is a function that will be applied to the `MyFut` result [INFO] [stdout] 63 | | /// It's return type should be the same as second type parameter [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] 64 | let my_fut: AndThen, fn(i32) -> Result> = my_fut.and_then(f); [INFO] [stdout] | --------------------------------------------------------------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> examples/future.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | / /// `Map` type parameterized with 2 args [INFO] [stdout] 67 | | /// [INFO] [stdout] 68 | | /// First one `AndThen, fn(i32) -> Result>` is a `Future` to map [INFO] [stdout] 69 | | /// [INFO] [stdout] ... | [INFO] [stdout] 74 | | /// for map because semantics of `AndThen` is to run another future once the previous one completes [INFO] [stdout] 75 | | /// and the semantics of `Map` is to map the result of the future from one value to another [INFO] [stdout] | |_______________________________________________________________________________________________^ [INFO] [stdout] 76 | / let my_fut : Map, fn(i32) -> Result>, fn(i32)-> i32>= my_fut.map(|x| { [INFO] [stdout] 77 | | x + 1000 [INFO] [stdout] 78 | | }); [INFO] [stdout] | |_______- rustdoc does not generate documentation for statements [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> examples/future.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | / /// Futures should be run onto an executor [INFO] [stdout] 81 | | /// [INFO] [stdout] 82 | | /// Later we will consider tokio executor instead of [INFO] [stdout] 83 | | /// one provided by the future trait [INFO] [stdout] | |________________________________________^ [INFO] [stdout] 84 | let mut s = spawn(my_fut); [INFO] [stdout] | -------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> examples/future.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | /// Wait for the outer future `Map` which will poll `AndThen` which in turn will poll `MyFut` [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 87 | let r = s.wait_future(); [INFO] [stdout] | ------------------------ rustdoc does not generate documentation for statements [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `tokio_chat_server` [INFO] [stdout] --> src/main.rs:1:2 [INFO] [stdout] | [INFO] [stdout] 1 | [INFO] [stdout] | ^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio_chat_server` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c81451efa189b5bb64159f11ccfcc7c99ac14245ec9b060755af8a71be7c35bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c81451efa189b5bb64159f11ccfcc7c99ac14245ec9b060755af8a71be7c35bd", kill_on_drop: false }` [INFO] [stdout] c81451efa189b5bb64159f11ccfcc7c99ac14245ec9b060755af8a71be7c35bd