[INFO] fetching crate compiler_base_session 0.1.3... [INFO] testing compiler_base_session-0.1.3 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate compiler_base_session 0.1.3 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate compiler_base_session 0.1.3 [INFO] finished tweaking crates.io crate compiler_base_session 0.1.3 [INFO] tweaked toml for crates.io crate compiler_base_session 0.1.3 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate compiler_base_session 0.1.3 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 105 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded compiler_base_span v0.1.3 [INFO] [stderr] Downloaded compiler_base_error v0.1.6 [INFO] [stderr] Downloaded self_cell v0.10.3 [INFO] [stderr] Downloaded compiler_base_macros v0.1.1 [INFO] [stderr] Downloaded unic-langid-macros-impl v0.9.6 [INFO] [stderr] Downloaded unic-langid-macros v0.9.6 [INFO] [stderr] Downloaded intl-memoizer v0.5.3 [INFO] [stderr] Downloaded fluent-langneg v0.13.1 [INFO] [stderr] Downloaded memmap2 v0.2.3 [INFO] [stderr] Downloaded fluent-syntax v0.11.1 [INFO] [stderr] Downloaded fluent-bundle v0.15.3 [INFO] [stderr] Downloaded rustc-rayon-core v0.5.1 [INFO] [stderr] Downloaded rustc-rayon v0.5.1 [INFO] [stderr] Downloaded unic-langid-impl v0.9.6 [INFO] [stderr] Downloaded rustc-rayon v0.3.2 [INFO] [stderr] Downloaded rustc-rayon-core v0.3.2 [INFO] [stderr] Downloaded type-map v0.5.1 [INFO] [stderr] Downloaded intl_pluralrules v7.0.2 [INFO] [stderr] Downloaded self_cell v1.2.1 [INFO] [stderr] Downloaded fluent v0.16.1 [INFO] [stderr] Downloaded rustc_errors v0.1.2 [INFO] [stderr] Downloaded unic-langid v0.9.6 [INFO] [stderr] Downloaded rustc_data_structures v0.1.2 [INFO] [stderr] Downloaded rustc_span v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f99e13390004cfa3a2e341b040328817e63222fd88fe0f0b6e0339b8519c982f [INFO] running `Command { std: "docker" "start" "-a" "f99e13390004cfa3a2e341b040328817e63222fd88fe0f0b6e0339b8519c982f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f99e13390004cfa3a2e341b040328817e63222fd88fe0f0b6e0339b8519c982f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f99e13390004cfa3a2e341b040328817e63222fd88fe0f0b6e0339b8519c982f", kill_on_drop: false }` [INFO] [stdout] f99e13390004cfa3a2e341b040328817e63222fd88fe0f0b6e0339b8519c982f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTFLAGS=--cap-lints=forbid" "-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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a41adfeb16d5bfa4b371743f9cfa08668af4d82483fed0f521ca6a3b38d944a2 [INFO] running `Command { std: "docker" "start" "-a" "a41adfeb16d5bfa4b371743f9cfa08668af4d82483fed0f521ca6a3b38d944a2", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling rustc-rayon-core v0.3.2 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling memmap2 v0.2.3 [INFO] [stderr] Compiling rustc-rayon-core v0.5.1 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling type-map v0.5.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling self_cell v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling self_cell v0.10.3 [INFO] [stderr] Compiling compiler_base_macros v0.1.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rustc_errors v0.1.2 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling rustc-rayon v0.3.2 [INFO] [stderr] Compiling rustc-rayon v0.5.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling unic-langid-impl v0.9.6 [INFO] [stderr] Compiling unic-langid-macros-impl v0.9.6 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rustc_data_structures v0.1.2 [INFO] [stderr] Compiling unic-langid-macros v0.9.6 [INFO] [stderr] Compiling unic-langid v0.9.6 [INFO] [stderr] Compiling intl-memoizer v0.5.3 [INFO] [stderr] Compiling intl_pluralrules v7.0.2 [INFO] [stderr] Compiling fluent-langneg v0.13.1 [INFO] [stderr] Compiling rustc_span v0.1.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling fluent-syntax v0.11.1 [INFO] [stderr] Compiling fluent-bundle v0.15.3 [INFO] [stderr] Compiling compiler_base_span v0.1.3 [INFO] [stderr] Compiling fluent v0.16.1 [INFO] [stderr] Compiling compiler_base_error v0.1.6 [INFO] [stderr] Compiling compiler_base_session v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.53s [INFO] running `Command { std: "docker" "inspect" "a41adfeb16d5bfa4b371743f9cfa08668af4d82483fed0f521ca6a3b38d944a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a41adfeb16d5bfa4b371743f9cfa08668af4d82483fed0f521ca6a3b38d944a2", kill_on_drop: false }` [INFO] [stdout] a41adfeb16d5bfa4b371743f9cfa08668af4d82483fed0f521ca6a3b38d944a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTFLAGS=--cap-lints=forbid" "-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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 824a0a2c6919494f27634e8a7ac2d8c16157aa3f204d08ff5f46cf99626458c7 [INFO] running `Command { std: "docker" "start" "-a" "824a0a2c6919494f27634e8a7ac2d8c16157aa3f204d08ff5f46cf99626458c7", kill_on_drop: false }` [INFO] [stderr] Compiling compiler_base_session v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.62s [INFO] running `Command { std: "docker" "inspect" "824a0a2c6919494f27634e8a7ac2d8c16157aa3f204d08ff5f46cf99626458c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "824a0a2c6919494f27634e8a7ac2d8c16157aa3f204d08ff5f46cf99626458c7", kill_on_drop: false }` [INFO] [stdout] 824a0a2c6919494f27634e8a7ac2d8c16157aa3f204d08ff5f46cf99626458c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTFLAGS=--cap-lints=forbid" "-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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 428d33896eccb71f14812a0760d007ac41ba02e7db832fd67843cb5145b2008d [INFO] running `Command { std: "docker" "start" "-a" "428d33896eccb71f14812a0760d007ac41ba02e7db832fd67843cb5145b2008d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/compiler_base_session-35345d7bada1c921) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test tests::test_session::test_add_warn ... ok [INFO] [stdout] test tests::test_session::test_new_session_with_filename ... ok [INFO] [stdout] test tests::test_session::test_add_err ... ok [INFO] [stdout] test tests::test_session::test_new_session_with_filename_invalid ... ok [INFO] [stdout] test tests::test_session::test_emit_stashed_diagnostics ... ok [INFO] [stdout] test tests::test_session::test_new_session_with_filename_and_src ... ok [INFO] [stdout] test tests::test_session::test_session_emit_err ... ok [INFO] [stdout] test tests::test_session::test_session_emit_code_snippet_err ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] error[error]error[error]error[error]: This is a code snippet error. --> /opt/rustwide/workdir/src/test_datas/code_snippet:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | Line 1 Code Snippet. [INFO] [stderr] | ^^^^^^^^This is the bad code snippet.error[error]: This is a code snippet error. --> /opt/rustwide/workdir/src/test_datas/code_snippet:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | This is session with src code . [INFO] [stderr] | ^^^^^^^^This is the bad code snippet. Doc-tests compiler_base_session [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test src/lib.rs - SessionDiagnostic (line 440) ... ok [INFO] [stdout] test src/lib.rs - Session::emit_all_diags_into_string (line 183) ... ok [INFO] [stdout] test src/lib.rs - Session::default (line 421) ... ok [INFO] [stdout] test src/lib.rs - Session::new_with_src_code (line 113) ... ok [INFO] [stdout] test src/lib.rs - Session::add_err (line 304) ... ok [INFO] [stdout] test src/lib.rs - Session::emit_nth_diag_into_string (line 223) ... ok [INFO] [stdout] test src/lib.rs - Session::diagnostics_count (line 382) ... ok [INFO] [stdout] test src/lib.rs - Session::new (line 27) ... ok [INFO] [stdout] test src/lib.rs - Session::emit_stashed_diagnostics_and_abort (line 138) ... ok [INFO] [stdout] test src/lib.rs - Session::new_with_file_and_code (line 78) ... ok [INFO] [stdout] test src/lib.rs - Session::new_with_file_and_code (line 66) ... ok [INFO] [stdout] test src/lib.rs - Session::emit_stashed_diagnostics (line 263) ... ok [INFO] [stdout] test src/lib.rs - Session::add_warn (line 343) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.14s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "428d33896eccb71f14812a0760d007ac41ba02e7db832fd67843cb5145b2008d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "428d33896eccb71f14812a0760d007ac41ba02e7db832fd67843cb5145b2008d", kill_on_drop: false }` [INFO] [stdout] 428d33896eccb71f14812a0760d007ac41ba02e7db832fd67843cb5145b2008d