[INFO] cloning repository https://github.com/mister-hai/rust_practice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mister-hai/rust_practice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmister-hai%2Frust_practice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmister-hai%2Frust_practice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 263235030ee988ac3e8fdee11c0243bacf923ee4 [INFO] documenting mister-hai/rust_practice against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmister-hai%2Frust_practice" "/workspace/builds/worker-33/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-33/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mister-hai/rust_practice on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mister-hai/rust_practice [INFO] finished tweaking git repo https://github.com/mister-hai/rust_practice [INFO] tweaked toml for git repo https://github.com/mister-hai/rust_practice written to /workspace/builds/worker-33/source/Cargo.toml [INFO] crate git repo https://github.com/mister-hai/rust_practice already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4eae96cdac081bdb11ba2b8131af56b1a7b40e3532b3f7cb025318ab9a411f18 [INFO] running `Command { std: "docker" "start" "-a" "4eae96cdac081bdb11ba2b8131af56b1a7b40e3532b3f7cb025318ab9a411f18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4eae96cdac081bdb11ba2b8131af56b1a7b40e3532b3f7cb025318ab9a411f18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4eae96cdac081bdb11ba2b8131af56b1a7b40e3532b3f7cb025318ab9a411f18", kill_on_drop: false }` [INFO] [stdout] 4eae96cdac081bdb11ba2b8131af56b1a7b40e3532b3f7cb025318ab9a411f18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 748e71609a1b76e83ba0c204eef4dedc21eecfa4e9fab895e969ff793c71eaac [INFO] running `Command { std: "docker" "start" "-a" "748e71609a1b76e83ba0c204eef4dedc21eecfa4e9fab895e969ff793c71eaac", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking futures-core v0.3.13 [INFO] [stderr] Checking futures-io v0.3.13 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Checking async-compat v0.2.1 [INFO] [stderr] Documenting rust_practice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/main.rs:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | fn new(&self, json_input) -> Command { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 99 | fn new(&self, json_input: TypeName) -> Command { [INFO] [stdout] | ++++++++++ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 99 | fn new(&self, _: json_input) -> Command { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/main.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | println!(self.success_message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 103 | println!("{}", self.success_message); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/main.rs:105:18 [INFO] [stdout] | [INFO] [stdout] 105 | println!(self.failure_message); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 105 | println!("{}", self.failure_message); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TcpStream` in module `tokio::stream` [INFO] [stdout] --> src/main.rs:133:49 [INFO] [stdout] | [INFO] [stdout] 133 | fn handle_connection(mut stream: tokio::stream::TcpStream) { [INFO] [stdout] | ^^^^^^^^^ not found in `tokio::stream` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use std::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::net::TcpStream; [INFO] [stdout] | [INFO] [stdout] help: if you import `TcpStream`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 133 - fn handle_connection(mut stream: tokio::stream::TcpStream) { [INFO] [stdout] 133 + fn handle_connection(mut stream: TcpStream) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `command_struct` should have an upper camel case name [INFO] [stdout] --> src/main.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | struct command_struct{ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CommandStruct` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `command_set` should have an upper camel case name [INFO] [stdout] --> src/main.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | struct command_set{ [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CommandSet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not document `rust_practice` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name rust_practice src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=db44b53df3975696 -L dependency=/opt/rustwide/target/debug/deps --extern async_compat=/opt/rustwide/target/debug/deps/libasync_compat-e32f0e06e98826a1.rmeta --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-2730b9fabee5c369.rmeta --extern termcolor=/opt/rustwide/target/debug/deps/libtermcolor-84f61e489b304570.rmeta --extern threadpool=/opt/rustwide/target/debug/deps/libthreadpool-127ec2bcb87589d0.rmeta --extern tokio=/opt/rustwide/target/debug/deps/libtokio-bd173f5158f5aec0.rmeta --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "748e71609a1b76e83ba0c204eef4dedc21eecfa4e9fab895e969ff793c71eaac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "748e71609a1b76e83ba0c204eef4dedc21eecfa4e9fab895e969ff793c71eaac", kill_on_drop: false }` [INFO] [stdout] 748e71609a1b76e83ba0c204eef4dedc21eecfa4e9fab895e969ff793c71eaac