proc-macro2 1.0.6

A stable implementation of the upcoming new `proc_macro` API. Comes with an option, off by default, to also reimplement itself in terms of the upstream unstable API.
Build #192719 2019-10-19T21:54:49.785136+00:00
# rustc version
rustc 1.40.0-nightly (518deda77 2019-10-18)
# docs.rs version
docsrs 0.6.0 (e95c89b 2019-10-17)

# build log
[INFO] running `"docker" "create" "-v" "/home/cratesfyi/workspace/builds/proc-macro2-1.0.6/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/proc-macro2-1.0.6/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1001" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "RUSTFLAGS=--cfg procmacro2_semver_exempt" "-e" "RUSTDOCFLAGS=-Z unstable-options --resource-suffix -20191018-1.40.0-nightly-518deda77 --static-root-path / --disable-per-crate-search --extern-html-root-url quote=https://docs.rs/quote/1.0.2 --extern-html-root-url unicode_xid=https://docs.rs/unicode-xid/0.2.0 --cfg procmacro2_semver_exempt" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "doc" "--lib" "--no-deps" "--target" "x86_64-unknown-linux-gnu"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 25427fa1032aabc6628f1534cc0f911472a004690ea343ab3a4caf9301d031a0
[INFO] running `"docker" "start" "-a" "25427fa1032aabc6628f1534cc0f911472a004690ea343ab3a4caf9301d031a0"`
[INFO] [stderr]    Compiling proc-macro2 v1.0.6 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking unicode-xid v0.2.0
[INFO] [stderr]  Documenting proc-macro2 v1.0.6 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0412]: cannot find type `SourceFile` in module `imp`
[INFO] [stderr]    --> src/lib.rs:256:17
[INFO] [stderr]     |
[INFO] [stderr] 256 |     inner: imp::SourceFile,
[INFO] [stderr]     |                 ^^^^^^^^^^ not found in `imp`
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 88  | use crate::SourceFile;
[INFO] [stderr]     |
[INFO] [stderr] 88  | use crate::fallback::SourceFile;
[INFO] [stderr]     |
[INFO] [stderr] 88  | use proc_macro::SourceFile;
[INFO] [stderr]     |
[INFO] [stderr] 88  | use proc_macro::bridge::server::SourceFile;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `SourceFile` in module `imp`
[INFO] [stderr]    --> src/lib.rs:262:25
[INFO] [stderr]     |
[INFO] [stderr] 262 |     fn _new(inner: imp::SourceFile) -> Self {
[INFO] [stderr]     |                         ^^^^^^^^^^ not found in `imp`
[INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope
[INFO] [stderr]     |
[INFO] [stderr] 88  | use crate::SourceFile;
[INFO] [stderr]     |
[INFO] [stderr] 88  | use crate::fallback::SourceFile;
[INFO] [stderr]     |
[INFO] [stderr] 88  | use proc_macro::SourceFile;
[INFO] [stderr]     |
[INFO] [stderr] 88  | use proc_macro::bridge::server::SourceFile;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error: Compilation failed, aborting rustdoc
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 3 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0412`.
[INFO] [stderr] error: Could not document `proc-macro2`.
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `rustdoc --edition=2018 --crate-type lib --crate-name proc_macro2 src/lib.rs --target x86_64-unknown-linux-gnu -o /opt/rustwide/target/x86_64-unknown-linux-gnu/doc --cfg 'feature="default"' --cfg 'feature="proc-macro"' --error-format=json --json=diagnostic-rendered-ansi -L dependency=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern unicode_xid=/opt/rustwide/target/x86_64-unknown-linux-gnu/debug/deps/libunicode_xid-bf26a5eb3e9fc2ea.rmeta -Z unstable-options --resource-suffix -20191018-1.40.0-nightly-518deda77 --static-root-path / --disable-per-crate-search --extern-html-root-url 'quote=https://docs.rs/quote/1.0.2' --extern-html-root-url 'unicode_xid=https://docs.rs/unicode-xid/0.2.0' --cfg procmacro2_semver_exempt --cfg use_proc_macro --cfg wrap_proc_macro --cfg proc_macro_span` (exit code: 1)
[INFO] running `"docker" "inspect" "25427fa1032aabc6628f1534cc0f911472a004690ea343ab3a4caf9301d031a0"`
[INFO] running `"docker" "rm" "-f" "25427fa1032aabc6628f1534cc0f911472a004690ea343ab3a4caf9301d031a0"`
[INFO] [stdout] 25427fa1032aabc6628f1534cc0f911472a004690ea343ab3a4caf9301d031a0