Build #1308981 2024-08-01T06:06:27.241860+00:00
# rustc version
rustc 1.82.0-nightly (28a58f2fa 2024-07-31)# docs.rs version
docsrs 0.6.0 (e434406d 2024-07-31)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/swc_common-0.36.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/swc_common-0.36.3/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240731-1.82.0-nightly-28a58f2fa\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/i686-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] 5bb28eba3da9e961301f87147472578290355c69a3fe5e7706a2c59f40da1dfc
[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" "5bb28eba3da9e961301f87147472578290355c69a3fe5e7706a2c59f40da1dfc", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] Documenting swc_common v0.36.3 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `&Comments`
[INFO] [stderr] --> src/comments.rs:26:6
[INFO] [stderr] |
[INFO] [stderr] 26 | /// [&Comments] to the parser. Thirdly, `(&self)` allows multi-threaded
[INFO] [stderr] | ^^^^^^^^^ no item named `&Comments` in scope
[INFO] [stderr] |
[INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: unresolved link to `Atom::new_bad`
[INFO] [stderr] --> src/comments.rs:642:11
[INFO] [stderr] |
[INFO] [stderr] 642 | /// [`Atom::new_bad`][] is perfectly fine for this value.
[INFO] [stderr] | ^^^^^^^^^^^^^ the struct `Atom` has no field or associated item named `new_bad`
[INFO] [stderr]
[INFO] [stderr] warning: unresolved link to `SourceMap`
[INFO] [stderr] --> src/input.rs:26:36
[INFO] [stderr] |
[INFO] [stderr] 26 | /// `swc` get this value from [SourceMap] because code generator depends on
[INFO] [stderr] | ^^^^^^^^^ no item named `SourceMap` in scope
[INFO] [stderr] |
[INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr]
[INFO] [stderr] warning: unresolved link to `SourceMap`
[INFO] [stderr] --> src/input.rs:27:26
[INFO] [stderr] |
[INFO] [stderr] 27 | /// some methods of [SourceMap].
[INFO] [stderr] | ^^^^^^^^^ no item named `SourceMap` in scope
[INFO] [stderr] |
[INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr]
[INFO] [stderr] warning: unresolved link to `SourceMap`
[INFO] [stderr] --> src/input.rs:29:10
[INFO] [stderr] |
[INFO] [stderr] 29 | /// [SourceMap], you may use any value.
[INFO] [stderr] | ^^^^^^^^^ no item named `SourceMap` in scope
[INFO] [stderr] |
[INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr]
[INFO] [stderr] warning: unresolved link to `last_pos`
[INFO] [stderr] --> src/input.rs:274:31
[INFO] [stderr] |
[INFO] [stderr] 274 | /// This method modifies [last_pos()] and [cur_pos()].
[INFO] [stderr] | ^^^^^^^^^^ no item named `last_pos` in scope
[INFO] [stderr] |
[INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr]
[INFO] [stderr] warning: unresolved link to `cur_pos`
[INFO] [stderr] --> src/input.rs:274:48
[INFO] [stderr] |
[INFO] [stderr] 274 | /// This method modifies [last_pos()] and [cur_pos()].
[INFO] [stderr] | ^^^^^^^^^ no item named `cur_pos` in scope
[INFO] [stderr] |
[INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr]
[INFO] [stderr] warning: unresolved link to `Ident`
[INFO] [stderr] --> src/syntax_pos/hygiene.rs:58:37
[INFO] [stderr] |
[INFO] [stderr] 58 | /// In `op`, [EqIgnoreSpan] of [Ident] will ignore the syntax context.
[INFO] [stderr] | ^^^^^ no item named `Ident` in scope
[INFO] [stderr] |
[INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr]
[INFO] [stderr] warning: unclosed HTML tag `Comments`
[INFO] [stderr] --> src/comments.rs:22:25
[INFO] [stderr] |
[INFO] [stderr] 22 | /// must use [Rc<RefCell<Comments>>]. We have two option. We may implement it in
[INFO] [stderr] | ^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(rustdoc::invalid_html_tags)]` on by default
[INFO] [stderr] help: try marking as source code
[INFO] [stderr] |
[INFO] [stderr] 22 | /// must use [`Rc<RefCell<Comments>>`]. We have two option. We may implement it in
[INFO] [stderr] | + +
[INFO] [stderr]
[INFO] [stderr] warning: unclosed HTML tag `error`
[INFO] [stderr] --> src/errors/mod.rs:366:41
[INFO] [stderr] |
[INFO] [stderr] 366 | /// Used to suggest rustc --explain <error code>
[INFO] [stderr] | ^^^^^^
[INFO] [stderr]
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr] --> src/iter.rs:1:17
[INFO] [stderr] |
[INFO] [stderr] 1 | /// Copied from https://users.rust-lang.org/t/iterator-need-to-identify-the-last-element/8836/3
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] = note: `#[warn(rustdoc::bare_urls)]` on by default
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr] |
[INFO] [stderr] 1 | /// Copied from <https://users.rust-lang.org/t/iterator-need-to-identify-the-last-element/8836/3>
[INFO] [stderr] | + +
[INFO] [stderr]
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr] --> src/syntax_pos.rs:1147:35
[INFO] [stderr] |
[INFO] [stderr] 1147 | /// to avoid redundant data copy (https://github.com/swc-project/swc/issues/5471)
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr] |
[INFO] [stderr] 1147 | /// to avoid redundant data copy (<https://github.com/swc-project/swc/issues/5471>)
[INFO] [stderr] | + +
[INFO] [stderr]
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr] --> src/syntax_pos.rs:1236:35
[INFO] [stderr] |
[INFO] [stderr] 1236 | /// to avoid redundant data copy (https://github.com/swc-project/swc/issues/5471)
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr] |
[INFO] [stderr] 1236 | /// to avoid redundant data copy (<https://github.com/swc-project/swc/issues/5471>)
[INFO] [stderr] | + +
[INFO] [stderr]
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr] --> src/util/iter.rs:2:21
[INFO] [stderr] |
[INFO] [stderr] 2 | /// Copied from https://stackoverflow.com/a/49456265/6193633
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr] |
[INFO] [stderr] 2 | /// Copied from <https://stackoverflow.com/a/49456265/6193633>
[INFO] [stderr] | + +
[INFO] [stderr]
[INFO] [stderr] warning: `swc_common` (lib doc) generated 14 warnings (run `cargo fix --lib -p swc_common` to apply 4 suggestions)
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.07s
[INFO] [stderr] Generated /opt/rustwide/target/i686-unknown-linux-gnu/doc/swc_common/index.html
[INFO] running `Command { std: "docker" "inspect" "5bb28eba3da9e961301f87147472578290355c69a3fe5e7706a2c59f40da1dfc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5bb28eba3da9e961301f87147472578290355c69a3fe5e7706a2c59f40da1dfc", kill_on_drop: false }`
[INFO] [stdout] 5bb28eba3da9e961301f87147472578290355c69a3fe5e7706a2c59f40da1dfc