[INFO] updating cached repository https://github.com/JLockerman/asm_sim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dae0f665c45e661accdcce0b820a0a865d773981 [INFO] documenting JLockerman/asm_sim against master#394e1b40d264aa6928811919c1124fa248e7d802 for pr-73566 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJLockerman%2Fasm_sim" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JLockerman/asm_sim on toolchain 394e1b40d264aa6928811919c1124fa248e7d802 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JLockerman/asm_sim [INFO] finished tweaking git repo https://github.com/JLockerman/asm_sim [INFO] tweaked toml for git repo https://github.com/JLockerman/asm_sim written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/JLockerman/asm_sim already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] afab068e2e3056d9e24fdeb881ee934d4ad84875f54a8349a1d84ced6d53b8f4 [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" "afab068e2e3056d9e24fdeb881ee934d4ad84875f54a8349a1d84ced6d53b8f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afab068e2e3056d9e24fdeb881ee934d4ad84875f54a8349a1d84ced6d53b8f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afab068e2e3056d9e24fdeb881ee934d4ad84875f54a8349a1d84ced6d53b8f4", kill_on_drop: false }` [INFO] [stdout] afab068e2e3056d9e24fdeb881ee934d4ad84875f54a8349a1d84ced6d53b8f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+394e1b40d264aa6928811919c1124fa248e7d802" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1965734175ad3315ac6cec74054d29bda44aa5d84ef34265cf5ec7f604d8669 [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" "e1965734175ad3315ac6cec74054d29bda44aa5d84ef34265cf5ec7f604d8669", kill_on_drop: false }` [INFO] [stderr] Documenting asm_sim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/sundries.rs:72:51 [INFO] [stdout] | [INFO] [stdout] 72 | LoadImmediate{destination: $d, value: $s1.into()}; => $($stmt)*) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assembly.rs:81:38 [INFO] [stdout] | [INFO] [stdout] 81 | pub static sample1: &[Instruction] = assembly! { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 82 | | r1 <- 100; [INFO] [stdout] 83 | | r2 <- 10; [INFO] [stdout] 84 | | *r2 <- r1 [INFO] [stdout] ... | [INFO] [stdout] 90 | | r1 <- r1 / r3 [INFO] [stdout] 91 | | }; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/sundries.rs:72:51 [INFO] [stdout] | [INFO] [stdout] 72 | LoadImmediate{destination: $d, value: $s1.into()}; => $($stmt)*) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assembly.rs:81:38 [INFO] [stdout] | [INFO] [stdout] 81 | pub static sample1: &[Instruction] = assembly! { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 82 | | r1 <- 100; [INFO] [stdout] 83 | | r2 <- 10; [INFO] [stdout] 84 | | *r2 <- r1 [INFO] [stdout] ... | [INFO] [stdout] 90 | | r1 <- r1 / r3 [INFO] [stdout] 91 | | }; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/sundries.rs:72:51 [INFO] [stdout] | [INFO] [stdout] 72 | LoadImmediate{destination: $d, value: $s1.into()}; => $($stmt)*) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assembly.rs:94:41 [INFO] [stdout] | [INFO] [stdout] 94 | pub static fibonocci: &[Instruction] = assembly! { [INFO] [stdout] | _________________________________________- [INFO] [stdout] 95 | | r1 <- 0; // prev [INFO] [stdout] 96 | | r2 <- 1; // curr [INFO] [stdout] 97 | | r3 <- 0; // i [INFO] [stdout] ... | [INFO] [stdout] 109 | | halt [INFO] [stdout] 110 | | }; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/sundries.rs:72:51 [INFO] [stdout] | [INFO] [stdout] 72 | LoadImmediate{destination: $d, value: $s1.into()}; => $($stmt)*) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assembly.rs:94:41 [INFO] [stdout] | [INFO] [stdout] 94 | pub static fibonocci: &[Instruction] = assembly! { [INFO] [stdout] | _________________________________________- [INFO] [stdout] 95 | | r1 <- 0; // prev [INFO] [stdout] 96 | | r2 <- 1; // curr [INFO] [stdout] 97 | | r3 <- 0; // i [INFO] [stdout] ... | [INFO] [stdout] 109 | | halt [INFO] [stdout] 110 | | }; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/sundries.rs:72:51 [INFO] [stdout] | [INFO] [stdout] 72 | LoadImmediate{destination: $d, value: $s1.into()}; => $($stmt)*) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assembly.rs:94:41 [INFO] [stdout] | [INFO] [stdout] 94 | pub static fibonocci: &[Instruction] = assembly! { [INFO] [stdout] | _________________________________________- [INFO] [stdout] 95 | | r1 <- 0; // prev [INFO] [stdout] 96 | | r2 <- 1; // curr [INFO] [stdout] 97 | | r3 <- 0; // i [INFO] [stdout] ... | [INFO] [stdout] 109 | | halt [INFO] [stdout] 110 | | }; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/sundries.rs:72:51 [INFO] [stdout] | [INFO] [stdout] 72 | LoadImmediate{destination: $d, value: $s1.into()}; => $($stmt)*) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assembly.rs:94:41 [INFO] [stdout] | [INFO] [stdout] 94 | pub static fibonocci: &[Instruction] = assembly! { [INFO] [stdout] | _________________________________________- [INFO] [stdout] 95 | | r1 <- 0; // prev [INFO] [stdout] 96 | | r2 <- 1; // curr [INFO] [stdout] 97 | | r3 <- 0; // i [INFO] [stdout] ... | [INFO] [stdout] 109 | | halt [INFO] [stdout] 110 | | }; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/sundries.rs:72:51 [INFO] [stdout] | [INFO] [stdout] 72 | LoadImmediate{destination: $d, value: $s1.into()}; => $($stmt)*) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assembly.rs:94:41 [INFO] [stdout] | [INFO] [stdout] 94 | pub static fibonocci: &[Instruction] = assembly! { [INFO] [stdout] | _________________________________________- [INFO] [stdout] 95 | | r1 <- 0; // prev [INFO] [stdout] 96 | | r2 <- 1; // curr [INFO] [stdout] 97 | | r3 <- 0; // i [INFO] [stdout] ... | [INFO] [stdout] 109 | | halt [INFO] [stdout] 110 | | }; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: calls in statics are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] --> src/sundries.rs:72:51 [INFO] [stdout] | [INFO] [stdout] 72 | LoadImmediate{destination: $d, value: $s1.into()}; => $($stmt)*) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/assembly.rs:94:41 [INFO] [stdout] | [INFO] [stdout] 94 | pub static fibonocci: &[Instruction] = assembly! { [INFO] [stdout] | _________________________________________- [INFO] [stdout] 95 | | r1 <- 0; // prev [INFO] [stdout] 96 | | r2 <- 1; // curr [INFO] [stdout] 97 | | r3 <- 0; // i [INFO] [stdout] ... | [INFO] [stdout] 109 | | halt [INFO] [stdout] 110 | | }; [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: Could not document `asm_sim`. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2018 --crate-type bin --crate-name asm_sim 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=forbid` (exit code: 1) [INFO] running `Command { std: "docker" "inspect" "e1965734175ad3315ac6cec74054d29bda44aa5d84ef34265cf5ec7f604d8669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1965734175ad3315ac6cec74054d29bda44aa5d84ef34265cf5ec7f604d8669", kill_on_drop: false }` [INFO] [stdout] e1965734175ad3315ac6cec74054d29bda44aa5d84ef34265cf5ec7f604d8669