[INFO] cloning repository https://github.com/MaybeS/cs420 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MaybeS/cs420" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaybeS%2Fcs420", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaybeS%2Fcs420'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e8a69a32768cfcb3ef42fd837803173c759d40af [INFO] documenting MaybeS/cs420 against 1.61.0 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMaybeS%2Fcs420" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MaybeS/cs420 on toolchain 1.61.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3/source/rust-toolchain [INFO] started tweaking git repo https://github.com/MaybeS/cs420 [INFO] finished tweaking git repo https://github.com/MaybeS/cs420 [INFO] tweaked toml for git repo https://github.com/MaybeS/cs420 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/MaybeS/cs420 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.61.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro-hack v0.3.3 [INFO] [stderr] Downloaded peg-macros v0.6.2 [INFO] [stderr] Downloaded proc-macro-hack-impl v0.3.3 [INFO] [stderr] Downloaded peg-runtime v0.6.2 [INFO] [stderr] Downloaded peg v0.6.2 [INFO] [stderr] Downloaded hexf-impl v0.1.0 [INFO] [stderr] Downloaded hexf-parse v0.1.0 [INFO] [stderr] Downloaded hexf v0.1.0 [INFO] [stderr] Downloaded lang-c v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+1.61.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4650ad061ea2ae2733555c7ce81b8f3f585d824f9ef83219824d71551ae61af6 [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" "4650ad061ea2ae2733555c7ce81b8f3f585d824f9ef83219824d71551ae61af6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4650ad061ea2ae2733555c7ce81b8f3f585d824f9ef83219824d71551ae61af6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4650ad061ea2ae2733555c7ce81b8f3f585d824f9ef83219824d71551ae61af6", kill_on_drop: false }` [INFO] [stdout] 4650ad061ea2ae2733555c7ce81b8f3f585d824f9ef83219824d71551ae61af6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+1.61.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0162fd5e394abe22d94a60002ad83152fcdd5168fd4aa06dcf850af949cff1b [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" "a0162fd5e394abe22d94a60002ad83152fcdd5168fd4aa06dcf850af949cff1b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling proc-macro-hack-impl v0.3.3 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling peg-runtime v0.6.2 [INFO] [stderr] Compiling hexf-parse v0.1.0 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking lang-c v0.8.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling proc-macro-hack v0.3.3 [INFO] [stderr] Compiling hexf-impl v0.1.0 [INFO] [stderr] Compiling backtrace-sys v0.1.36 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking hexf v0.1.0 [INFO] [stderr] Compiling peg-macros v0.6.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking backtrace v0.3.46 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking peg v0.6.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Checking failure v0.1.7 [INFO] [stderr] Checking kecc v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Documenting kecc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/asm/mod.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | /// https://github.com/rv8-io/rv8-io.github.io/blob/master/asm.md#section-header [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(rustdoc::bare_urls)]` implied by `#[warn(warnings)]` [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/asm/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | /// https://github.com/rv8-io/rv8-io.github.io/blob/master/asm.md#sections [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/asm/mod.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | /// https://github.com/rv8-io/rv8-io.github.io/blob/master/asm.md#assembler-directives [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/asm/mod.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | /// https://riscv.org/specifications/isa-spec-pdf/ (16p, 129p) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/asm/mod.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | /// https://riscv.org/specifications/isa-spec-pdf/ (16p, 129p) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/asm/mod.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | /// https://riscv.org/specifications/isa-spec-pdf/ (16p, 129p) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/asm/mod.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | /// https://riscv.org/specifications/isa-spec-pdf/ (16p, 129p) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/asm/mod.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | /// https://riscv.org/specifications/isa-spec-pdf/ (35p) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/asm/mod.rs:413:5 [INFO] [stdout] | [INFO] [stdout] 413 | /// https://riscv.org/specifications/isa-spec-pdf/ (35p) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/asm/mod.rs:494:5 [INFO] [stdout] | [INFO] [stdout] 494 | /// https://github.com/rv8-io/rv8-io.github.io/blob/master/asm.md#assembler-pseudo-instructions [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/asm/mod.rs:495:5 [INFO] [stdout] | [INFO] [stdout] 495 | /// https://riscv.org/specifications/isa-spec-pdf/ (139p) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/asm/mod.rs:577:5 [INFO] [stdout] | [INFO] [stdout] 577 | /// https://github.com/riscv/riscv-asm-manual/blob/master/riscv-asm.md [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/asm/mod.rs:587:5 [INFO] [stdout] | [INFO] [stdout] 587 | /// https://github.com/rv8-io/rv8-io.github.io/blob/master/asm.md#labels [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/asm/mod.rs:665:5 [INFO] [stdout] | [INFO] [stdout] 665 | /// https://content.riscv.org/wp-content/uploads/2017/05/riscv-spec-v2.2.pdf (155p) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/ir/interp.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | /// https://doc.rust-lang.org/stable/reference/expressions/operator-expr.html#type-cast-expressions [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/ir/mod.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | /// https://llvm.org/docs/LangRef.html#i-getelementptr [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this URL is not a hyperlink [INFO] [stdout] --> src/ir/mod.rs:503:13 [INFO] [stdout] | [INFO] [stdout] 503 | /// https://doc.rust-lang.org/stable/reference/expressions/operator-expr.html#type-cast-expressions [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `` [INFO] [stdout] | [INFO] [stdout] = note: bare URLs are not automatically turned into clickable links [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/c/parse.rs:185:41 [INFO] [stdout] | [INFO] [stdout] 185 | Self::Constant(_) => panic!(AlignmentSpecifier::Constant), [INFO] [stdout] | ------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: use std::panic::panic_any instead: `std::panic::panic_any` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(non_fmt_panics)]` implied by `#[deny(warnings)]` [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message is not a string literal [INFO] [stdout] --> src/ir/interp.rs:784:28 [INFO] [stdout] | [INFO] [stdout] 784 | panic!(format!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 785 | | "calculate_typecast: not support case \ [INFO] [stdout] 786 | | typecast int to pointer when `value` is {}", [INFO] [stdout] 787 | | value [INFO] [stdout] 788 | | )) [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 784 ~ panic!( [INFO] [stdout] 785 | "calculate_typecast: not support case \ [INFO] [stdout] 786 | typecast int to pointer when `value` is {}", [INFO] [stdout] 787 | value [INFO] [stdout] 788 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: panic message contains braces [INFO] [stdout] --> src/ir/mod.rs:728:35 [INFO] [stdout] | [INFO] [stdout] 728 | must be `Constant{{Int, Float}}`" [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: this message is not used as a format string, but will be in Rust 2021 [INFO] [stdout] help: add a "{}" format string to use the message literally [INFO] [stdout] | [INFO] [stdout] 727 | "{}", "constant value generated by `Constant::from_ast_expression` \ [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kecc` due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "a0162fd5e394abe22d94a60002ad83152fcdd5168fd4aa06dcf850af949cff1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0162fd5e394abe22d94a60002ad83152fcdd5168fd4aa06dcf850af949cff1b", kill_on_drop: false }` [INFO] [stdout] a0162fd5e394abe22d94a60002ad83152fcdd5168fd4aa06dcf850af949cff1b