[INFO] fetching crate rustc-ap-rustc_errors 439.0.0... [INFO] extracting crate rustc-ap-rustc_errors 439.0.0 into work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/reg/rustc-ap-rustc_errors/439.0.0 [INFO] extracting crate rustc-ap-rustc_errors 439.0.0 into work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/reg/rustc-ap-rustc_errors/439.0.0 [INFO] validating manifest of rustc-ap-rustc_errors-439.0.0 on toolchain master#c8865d8e195813ade6b84434ac9f8850e7112d1a [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of rustc-ap-rustc_errors-439.0.0 on toolchain try#e212b7d492c96d3837691ba29d32d5f468933fb8 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing rustc-ap-rustc_errors-439.0.0 [INFO] finished frobbing rustc-ap-rustc_errors-439.0.0 [INFO] frobbed toml for rustc-ap-rustc_errors-439.0.0 written to work/ex/pr-61629/sources/master#c8865d8e195813ade6b84434ac9f8850e7112d1a/reg/rustc-ap-rustc_errors/439.0.0/Cargo.toml [INFO] started frobbing rustc-ap-rustc_errors-439.0.0 [INFO] finished frobbing rustc-ap-rustc_errors-439.0.0 [INFO] frobbed toml for rustc-ap-rustc_errors-439.0.0 written to work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/reg/rustc-ap-rustc_errors/439.0.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+c8865d8e195813ade6b84434ac9f8850e7112d1a-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing rustc-ap-rustc_errors-439.0.0 against try#e212b7d492c96d3837691ba29d32d5f468933fb8 for pr-61629 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-6/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/reg/rustc-ap-rustc_errors/439.0.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "build" "--frozen"` [INFO] [stdout] 07172253228f2fc08232c8c7a683ce3079322a3fb6e718c441297ad3766e5cf3 [INFO] running `"docker" "start" "-a" "07172253228f2fc08232c8c7a683ce3079322a3fb6e718c441297ad3766e5cf3"` [INFO] [stderr] Compiling rustc-rayon-core v0.1.2 [INFO] [stderr] Compiling rustc-rayon v0.1.2 [INFO] [stderr] Compiling rustc-ap-graphviz v439.0.0 [INFO] [stderr] Compiling rustc-ap-serialize v439.0.0 [INFO] [stderr] Compiling ena v0.13.0 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling jobserver v0.1.13 [INFO] [stderr] Compiling rustc-ap-rustc_cratesio_shim v439.0.0 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling rustc-ap-rustc_data_structures v439.0.0 [INFO] [stderr] Compiling rustc-ap-arena v439.0.0 [INFO] [stderr] Compiling rustc-ap-syntax_pos v439.0.0 [INFO] [stderr] Compiling rustc-ap-rustc_errors v439.0.0 (/opt/crater/workdir) [INFO] [stderr] warning: unknown lint: `internal` [INFO] [stderr] --> lib.rs:9:31 [INFO] [stderr] | [INFO] [stderr] 9 | #![cfg_attr(not(stage0), deny(internal))] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unknown_lints)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 30.29s [INFO] running `"docker" "inspect" "07172253228f2fc08232c8c7a683ce3079322a3fb6e718c441297ad3766e5cf3"` [INFO] running `"docker" "rm" "-f" "07172253228f2fc08232c8c7a683ce3079322a3fb6e718c441297ad3766e5cf3"` [INFO] [stdout] 07172253228f2fc08232c8c7a683ce3079322a3fb6e718c441297ad3766e5cf3 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-6/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/reg/rustc-ap-rustc_errors/439.0.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "test" "--frozen" "--no-run"` [INFO] [stdout] 07377ba7c3bc40802d8636d5e49504f5fe951a3ac4bec02c35887b4fe4ce22e3 [INFO] running `"docker" "start" "-a" "07377ba7c3bc40802d8636d5e49504f5fe951a3ac4bec02c35887b4fe4ce22e3"` [INFO] [stderr] Compiling rustc-ap-rustc_errors v439.0.0 (/opt/crater/workdir) [INFO] [stderr] warning: unknown lint: `internal` [INFO] [stderr] --> lib.rs:9:31 [INFO] [stderr] | [INFO] [stderr] 9 | #![cfg_attr(not(stage0), deny(internal))] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unknown_lints)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.49s [INFO] running `"docker" "inspect" "07377ba7c3bc40802d8636d5e49504f5fe951a3ac4bec02c35887b4fe4ce22e3"` [INFO] running `"docker" "rm" "-f" "07377ba7c3bc40802d8636d5e49504f5fe951a3ac4bec02c35887b4fe4ce22e3"` [INFO] [stdout] 07377ba7c3bc40802d8636d5e49504f5fe951a3ac4bec02c35887b4fe4ce22e3 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-61629/worker-6/try#e212b7d492c96d3837691ba29d32d5f468933fb8:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-61629/sources/try#e212b7d492c96d3837691ba29d32d5f468933fb8/reg/rustc-ap-rustc_errors/439.0.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+e212b7d492c96d3837691ba29d32d5f468933fb8-alt" "test" "--frozen"` [INFO] [stdout] 546fbae88d97d291659c62e0d36cdab63d74719de5efa4e3f987fc41c6bcfc61 [INFO] running `"docker" "start" "-a" "546fbae88d97d291659c62e0d36cdab63d74719de5efa4e3f987fc41c6bcfc61"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running /opt/crater/target/debug/deps/rustc_errors-d5dfa99f77ead316 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests rustc_errors [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test lib.rs - CodeSuggestion::substitutions (line 103) ... FAILED [INFO] [stdout] test lib.rs - CodeSuggestion::substitutions (line 112) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- lib.rs - CodeSuggestion::substitutions (line 103) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Substitution` in this scope [INFO] [stdout] --> lib.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 4 | Substitution { parts: vec![(0..3, "a"), (4..7, "b")] }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use rustc_errors::Substitution; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Substitution` in this scope [INFO] [stdout] --> lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 5 | Substitution { parts: vec![(0..3, "x"), (4..7, "y")] }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use rustc_errors::Substitution; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> lib.rs:104:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] 3 | / vec![ [INFO] [stdout] 4 | | Substitution { parts: vec![(0..3, "a"), (4..7, "b")] }, [INFO] [stdout] 5 | | Substitution { parts: vec![(0..3, "x"), (4..7, "y")] }, [INFO] [stdout] 6 | | ] [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_expected (), found struct `std::vec::Vec` [INFO] [stdout] | help: try adding a semicolon: `;` [INFO] [stdout] | [INFO] [stdout] = note: expected type `()` [INFO] [stdout] found type `std::vec::Vec<_>` [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0422. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- lib.rs - CodeSuggestion::substitutions (line 112) stdout ---- [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Substitution` in this scope [INFO] [stdout] --> lib.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 4 | Substitution { parts: vec![(0..7, "a.b")] }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use rustc_errors::Substitution; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Substitution` in this scope [INFO] [stdout] --> lib.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 5 | Substitution { parts: vec![(0..7, "x.y")] }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use rustc_errors::Substitution; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> lib.rs:113:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { [INFO] [stdout] | - expected `()` because of default return type [INFO] [stdout] 3 | / vec![ [INFO] [stdout] 4 | | Substitution { parts: vec![(0..7, "a.b")] }, [INFO] [stdout] 5 | | Substitution { parts: vec![(0..7, "x.y")] }, [INFO] [stdout] 6 | | ] [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_expected (), found struct `std::vec::Vec` [INFO] [stdout] | help: try adding a semicolon: `;` [INFO] [stdout] | [INFO] [stdout] = note: expected type `()` [INFO] [stdout] found type `std::vec::Vec<_>` [INFO] [stdout] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0422. [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] lib.rs - CodeSuggestion::substitutions (line 103) [INFO] [stdout] lib.rs - CodeSuggestion::substitutions (line 112) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "546fbae88d97d291659c62e0d36cdab63d74719de5efa4e3f987fc41c6bcfc61"` [INFO] running `"docker" "rm" "-f" "546fbae88d97d291659c62e0d36cdab63d74719de5efa4e3f987fc41c6bcfc61"` [INFO] [stdout] 546fbae88d97d291659c62e0d36cdab63d74719de5efa4e3f987fc41c6bcfc61