[INFO] cloning repository https://github.com/samdoiron/Lithium [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/samdoiron/Lithium" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamdoiron%2FLithium", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamdoiron%2FLithium'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4f3910f8a60430848c94c9c4265092ccb04d5223 [INFO] documenting samdoiron/Lithium against 1.46.0 for beta-1.47-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsamdoiron%2FLithium" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/samdoiron/Lithium on toolchain 1.46.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/samdoiron/Lithium [INFO] finished tweaking git repo https://github.com/samdoiron/Lithium [INFO] tweaked toml for git repo https://github.com/samdoiron/Lithium written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/samdoiron/Lithium already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cec0979d9941e48856b736d13bd172b3f12d4e2f0ac16d0bd1797ec7f54c853 [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" "7cec0979d9941e48856b736d13bd172b3f12d4e2f0ac16d0bd1797ec7f54c853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cec0979d9941e48856b736d13bd172b3f12d4e2f0ac16d0bd1797ec7f54c853", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cec0979d9941e48856b736d13bd172b3f12d4e2f0ac16d0bd1797ec7f54c853", kill_on_drop: false }` [INFO] [stdout] 7cec0979d9941e48856b736d13bd172b3f12d4e2f0ac16d0bd1797ec7f54c853 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03ebc61a3ee925f49268e263ae5d77a046742231b9587b5c80a5d29ed5887e20 [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" "03ebc61a3ee925f49268e263ae5d77a046742231b9587b5c80a5d29ed5887e20", kill_on_drop: false }` [INFO] [stderr] Documenting lithium v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `,` [INFO] [stdout] --> src/object.rs:38:40 [INFO] [stdout] | [INFO] [stdout] 38 | fn get_handler(&mut self, ObjectRef, message: EvaluatedMessage) -> ObjectRef { [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] 38 | fn get_handler(&mut self, ObjectRef: TypeName, message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 38 | fn get_handler(&mut self, _: ObjectRef, message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EvaluatedMessage` in this scope [INFO] [stdout] --> src/eval.rs:14:42 [INFO] [stdout] | [INFO] [stdout] 14 | fn is_message_valid(&self, message: &EvaluatedMessage) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use object::EvaluatedMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EvaluatedMessage` in this scope [INFO] [stdout] --> src/eval.rs:44:76 [INFO] [stdout] | [INFO] [stdout] 44 | fn send(&mut self, pool: &mut ObjectPool, _target: ObjectRef, message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use object::EvaluatedMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EvaluatedMessage` in this scope [INFO] [stdout] --> src/eval.rs:73:52 [INFO] [stdout] | [INFO] [stdout] 73 | fn send(&mut self, target: ObjectRef, message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use object::EvaluatedMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EvaluatedMessage` in this scope [INFO] [stdout] --> src/eval.rs:86:53 [INFO] [stdout] | [INFO] [stdout] 86 | fn send(&mut self, _target: ObjectRef, message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use object::EvaluatedMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EvaluatedMessage` in this scope [INFO] [stdout] --> src/eval.rs:107:53 [INFO] [stdout] | [INFO] [stdout] 107 | fn send(&mut self, target: ObjectRef, _message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use object::EvaluatedMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EvaluatedMessage` in this scope [INFO] [stdout] --> src/eval.rs:138:52 [INFO] [stdout] | [INFO] [stdout] 138 | fn send(&mut self, target: ObjectRef, message: EvaluatedMessage) -> ObjectRef { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use object::EvaluatedMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EvaluatedMessage` in this scope [INFO] [stdout] --> src/eval.rs:203:72 [INFO] [stdout] | [INFO] [stdout] 203 | fn eval_message(&mut self, scope: ObjectRef, message: &Message) -> EvaluatedMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use object::EvaluatedMessage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: Could not document `lithium`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --crate-type bin --crate-name lithium src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi --document-private-items -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "03ebc61a3ee925f49268e263ae5d77a046742231b9587b5c80a5d29ed5887e20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03ebc61a3ee925f49268e263ae5d77a046742231b9587b5c80a5d29ed5887e20", kill_on_drop: false }` [INFO] [stdout] 03ebc61a3ee925f49268e263ae5d77a046742231b9587b5c80a5d29ed5887e20