[INFO] fetching crate typ 0.1.1... [INFO] checking typ-0.1.1 against try#8330aa5198c56eb493d06cd9c4cc91d00d70e3b6 for pr-103872 [INFO] extracting crate typ 0.1.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate typ 0.1.1 on toolchain 8330aa5198c56eb493d06cd9c4cc91d00d70e3b6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8330aa5198c56eb493d06cd9c4cc91d00d70e3b6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate typ 0.1.1 [INFO] finished tweaking crates.io crate typ 0.1.1 [INFO] tweaked toml for crates.io crate typ 0.1.1 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8330aa5198c56eb493d06cd9c4cc91d00d70e3b6" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8330aa5198c56eb493d06cd9c4cc91d00d70e3b6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+8330aa5198c56eb493d06cd9c4cc91d00d70e3b6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d386522def7b2ffe36033adf08ccd3101fafc12abe1c091eaf04bf84358bb3fc [INFO] running `Command { std: "docker" "start" "-a" "d386522def7b2ffe36033adf08ccd3101fafc12abe1c091eaf04bf84358bb3fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d386522def7b2ffe36033adf08ccd3101fafc12abe1c091eaf04bf84358bb3fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d386522def7b2ffe36033adf08ccd3101fafc12abe1c091eaf04bf84358bb3fc", kill_on_drop: false }` [INFO] [stdout] d386522def7b2ffe36033adf08ccd3101fafc12abe1c091eaf04bf84358bb3fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:83125433e4fff17b1ac56874832f668d9df75ee638575aca552b68e127bedee9" "/opt/rustwide/cargo-home/bin/cargo" "+8330aa5198c56eb493d06cd9c4cc91d00d70e3b6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 403e83093312abda4cfa00300312782f7f62943005abaf3b0ccc66df8547d5e8 [INFO] running `Command { std: "docker" "start" "-a" "403e83093312abda4cfa00300312782f7f62943005abaf3b0ccc66df8547d5e8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Compiling serde_derive v1.0.147 [INFO] [stderr] Compiling serde_json v1.0.87 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Compiling trybuild v1.0.71 [INFO] [stderr] Checking either v1.8.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking by_address v1.1.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking typ v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `borrow` is never used [INFO] [stdout] --> src/utils.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn borrow(&self) -> Ref { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `deep_clone` is never used [INFO] [stdout] --> src/utils.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn deep_clone(&self) -> SharedCell [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `borrow` is never used [INFO] [stdout] --> src/utils.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn borrow(&self) -> Ref { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `deep_clone` is never used [INFO] [stdout] --> src/utils.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn deep_clone(&self) -> SharedCell [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> tests/macro/match_.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | Dog => 1u, [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> tests/macro/match_.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | Cat => 2u, [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> tests/macro/match_.rs:24:26 [INFO] [stdout] | [INFO] [stdout] 24 | Mouse => 3u, [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> tests/macro/misc.rs:15:36 [INFO] [stdout] | [INFO] [stdout] 15 | if self == rhs * rhs { 1u } else { 0u } [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> tests/macro/misc.rs:15:48 [INFO] [stdout] | [INFO] [stdout] 15 | if self == rhs * rhs { 1u } else { 0u } [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> tests/macro/recursion.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | } else if lhs == 0u { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> tests/macro/recursion.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | } else if rhs == 0u { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> tests/macro/recursion.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | if lhs % 2u == 1u { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> tests/macro/recursion.rs:16:32 [INFO] [stdout] | [INFO] [stdout] 16 | if lhs % 2u == 1u { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> tests/macro/recursion.rs:17:30 [INFO] [stdout] | [INFO] [stdout] 17 | if rhs % 2u == 1u { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> tests/macro/recursion.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | if rhs % 2u == 1u { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> tests/macro/recursion.rs:26:51 [INFO] [stdout] | [INFO] [stdout] 26 | let div: Unsigned = rhs / 2u; [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> tests/macro/recursion.rs:31:30 [INFO] [stdout] | [INFO] [stdout] 31 | if rhs % 2u == 1u { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> tests/macro/recursion.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | if rhs % 2u == 1u { [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> tests/macro/recursion.rs:32:51 [INFO] [stdout] | [INFO] [stdout] 32 | let div: Unsigned = lhs / 2u; [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> tests/macro/recursion.rs:35:52 [INFO] [stdout] | [INFO] [stdout] 35 | let ldiv: Unsigned = lhs / 2u; [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> tests/macro/recursion.rs:36:52 [INFO] [stdout] | [INFO] [stdout] 36 | let rdiv: Unsigned = rhs / 2u; [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> tests/macro/recursion.rs:37:49 [INFO] [stdout] | [INFO] [stdout] 37 | BinaryGcd(ldiv, rdiv) * 2u [INFO] [stdout] | ^^ invalid suffix `u` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `borrow` is never used [INFO] [stdout] --> src/utils.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn borrow(&self) -> Ref { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `deep_clone` is never used [INFO] [stdout] --> src/utils.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn deep_clone(&self) -> SharedCell [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `typ` due to 19 previous errors [INFO] running `Command { std: "docker" "inspect" "403e83093312abda4cfa00300312782f7f62943005abaf3b0ccc66df8547d5e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "403e83093312abda4cfa00300312782f7f62943005abaf3b0ccc66df8547d5e8", kill_on_drop: false }` [INFO] [stdout] 403e83093312abda4cfa00300312782f7f62943005abaf3b0ccc66df8547d5e8