[INFO] fetching crate shiru 0.1.7... [INFO] checking shiru-0.1.7 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate shiru 0.1.7 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate shiru 0.1.7 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate shiru 0.1.7 [INFO] finished tweaking crates.io crate shiru 0.1.7 [INFO] tweaked toml for crates.io crate shiru 0.1.7 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5d04a56edba4b7b5189b0957ed2c0bd7c8042e701f9de3f8f1c7dd13da02ef18 [INFO] running `Command { std: "docker" "start" "-a" "5d04a56edba4b7b5189b0957ed2c0bd7c8042e701f9de3f8f1c7dd13da02ef18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d04a56edba4b7b5189b0957ed2c0bd7c8042e701f9de3f8f1c7dd13da02ef18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d04a56edba4b7b5189b0957ed2c0bd7c8042e701f9de3f8f1c7dd13da02ef18", kill_on_drop: false }` [INFO] [stdout] 5d04a56edba4b7b5189b0957ed2c0bd7c8042e701f9de3f8f1c7dd13da02ef18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 225d8b683468d1a32d5b64c8047a326772a69d815c41a25983eb26b5667378e3 [INFO] running `Command { std: "docker" "start" "-a" "225d8b683468d1a32d5b64c8047a326772a69d815c41a25983eb26b5667378e3", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking shiru v0.1.7 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/lib.rs (1 fix) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.15s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking shiru v0.1.7 (/tmp/fixit) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `c_plus_plus` [INFO] [stdout] --> src/lib.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | keywords: c_plus_plus::init_keywords(), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `c_plus_plus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `c_plus_plus` [INFO] [stdout] --> src/lib.rs:91:27 [INFO] [stdout] | [INFO] [stdout] 91 | colors : c_plus_plus::init_colors(), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `c_plus_plus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `c_plus_plus` [INFO] [stdout] --> src/lib.rs:92:27 [INFO] [stdout] | [INFO] [stdout] 92 | builtins: c_plus_plus::built_in_keywords(), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `c_plus_plus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `c_plus_plus` [INFO] [stdout] --> src/lib.rs:93:33 [INFO] [stdout] | [INFO] [stdout] 93 | builtin_colors: c_plus_plus::built_in_colors(), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `c_plus_plus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `c_plus_plus` [INFO] [stdout] --> src/lib.rs:94:32 [INFO] [stdout] | [INFO] [stdout] 94 | global_colors: c_plus_plus::init_op_colors() [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared crate or module `c_plus_plus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `python` [INFO] [stdout] --> src/lib.rs:141:27 [INFO] [stdout] | [INFO] [stdout] 141 | keywords: python::init_keywords(), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `python` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `python` [INFO] [stdout] --> src/lib.rs:142:27 [INFO] [stdout] | [INFO] [stdout] 142 | colors : python::init_colors(), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `python` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `python` [INFO] [stdout] --> src/lib.rs:143:27 [INFO] [stdout] | [INFO] [stdout] 143 | builtins: python::built_in_keywords(), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `python` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `python` [INFO] [stdout] --> src/lib.rs:144:33 [INFO] [stdout] | [INFO] [stdout] 144 | builtin_colors: python::built_in_colors(), [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `python` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `python` [INFO] [stdout] --> src/lib.rs:145:32 [INFO] [stdout] | [INFO] [stdout] 145 | global_colors: python::init_op_colors() [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `python` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parse` in this scope [INFO] [stdout] --> src/lib.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | let mut parse : Parse = Parse { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 62 | use crate::parse::Parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Parse` in this scope [INFO] [stdout] --> src/lib.rs:63:35 [INFO] [stdout] | [INFO] [stdout] 63 | let mut parse : Parse = Parse { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 62 | use crate::parse::Parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Highlight` in this scope [INFO] [stdout] --> src/lib.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | highlight: Highlight { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 62 | use crate::Highlight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LanguageData` in this scope [INFO] [stdout] --> src/lib.rs:65:23 [INFO] [stdout] | [INFO] [stdout] 65 | data: LanguageData { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 62 | use crate::LanguageData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Highlight` in this scope [INFO] [stdout] --> src/lib.rs:78:28 [INFO] [stdout] | [INFO] [stdout] 78 | let mut highlight: Highlight = Highlight { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 62 | use crate::Highlight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Highlight` in this scope [INFO] [stdout] --> src/lib.rs:78:40 [INFO] [stdout] | [INFO] [stdout] 78 | let mut highlight: Highlight = Highlight { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 62 | use crate::Highlight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LanguageData` in this scope [INFO] [stdout] --> src/lib.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | data: LanguageData { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 62 | use crate::LanguageData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LanguageData` in this scope [INFO] [stdout] --> src/lib.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | LanguageData { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 62 | use crate::LanguageData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Parse` in this scope [INFO] [stdout] --> src/lib.rs:114:27 [INFO] [stdout] | [INFO] [stdout] 114 | let mut parse : Parse = Parse { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 62 | use crate::parse::Parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Parse` in this scope [INFO] [stdout] --> src/lib.rs:114:35 [INFO] [stdout] | [INFO] [stdout] 114 | let mut parse : Parse = Parse { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 62 | use crate::parse::Parse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Highlight` in this scope [INFO] [stdout] --> src/lib.rs:115:24 [INFO] [stdout] | [INFO] [stdout] 115 | highlight: Highlight { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 62 | use crate::Highlight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LanguageData` in this scope [INFO] [stdout] --> src/lib.rs:116:23 [INFO] [stdout] | [INFO] [stdout] 116 | data: LanguageData { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 62 | use crate::LanguageData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Highlight` in this scope [INFO] [stdout] --> src/lib.rs:129:28 [INFO] [stdout] | [INFO] [stdout] 129 | let mut highlight: Highlight = Highlight { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 62 | use crate::Highlight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Highlight` in this scope [INFO] [stdout] --> src/lib.rs:129:40 [INFO] [stdout] | [INFO] [stdout] 129 | let mut highlight: Highlight = Highlight { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 62 | use crate::Highlight; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LanguageData` in this scope [INFO] [stdout] --> src/lib.rs:130:19 [INFO] [stdout] | [INFO] [stdout] 130 | data: LanguageData { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 62 | use crate::LanguageData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LanguageData` in this scope [INFO] [stdout] --> src/lib.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | LanguageData { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 62 | use crate::LanguageData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shiru` due to 27 previous errors [INFO] [stderr] error: failed to check after updating to 2021 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "225d8b683468d1a32d5b64c8047a326772a69d815c41a25983eb26b5667378e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "225d8b683468d1a32d5b64c8047a326772a69d815c41a25983eb26b5667378e3", kill_on_drop: false }` [INFO] [stdout] 225d8b683468d1a32d5b64c8047a326772a69d815c41a25983eb26b5667378e3