[INFO] fetching crate swf-parser 0.12.0... [INFO] checking swf-parser-0.12.0 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate swf-parser 0.12.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate swf-parser 0.12.0 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate swf-parser 0.12.0 [INFO] finished tweaking crates.io crate swf-parser 0.12.0 [INFO] tweaked toml for crates.io crate swf-parser 0.12.0 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63cc537c5384ecdc5be138713cda99dd54105b98859786e7dd4e427549c3ba62 [INFO] running `Command { std: "docker" "start" "-a" "63cc537c5384ecdc5be138713cda99dd54105b98859786e7dd4e427549c3ba62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63cc537c5384ecdc5be138713cda99dd54105b98859786e7dd4e427549c3ba62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63cc537c5384ecdc5be138713cda99dd54105b98859786e7dd4e427549c3ba62", kill_on_drop: false }` [INFO] [stdout] 63cc537c5384ecdc5be138713cda99dd54105b98859786e7dd4e427549c3ba62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35934c26659bba95bf6a52d1b0ebfe416b229551f573cf4b043c88f504e9393b [INFO] running `Command { std: "docker" "start" "-a" "35934c26659bba95bf6a52d1b0ebfe416b229551f573cf4b043c88f504e9393b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Checking lexical-core v0.7.6 [INFO] [stderr] Checking lzma-rs v0.1.4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling test-generator v0.3.0 [INFO] [stderr] Checking swf-fixed v0.1.5 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking swf-types v0.12.0 [INFO] [stderr] Checking serde_json_v8 v0.0.1 [INFO] [stderr] Checking swf-parser v0.12.0 (/opt/rustwide/workdir) [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/complete/tag.rs:1419:3 [INFO] [stdout] | [INFO] [stdout] 1419 | #[test_resources("../tests/tags/*/*/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: no resource matching the pattern ../tests/tags/*/*/ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/streaming/../../../tests/movies/blank/ast.json: No such file or directory (os error 2) [INFO] [stdout] --> src/streaming/parser.rs:337:34 [INFO] [stdout] | [INFO] [stdout] 337 | let movie_ast_bytes: &[u8] = include_bytes!("../../../tests/movies/blank/ast.json"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read src/streaming/../../../tests/movies/blank/main.swf: No such file or directory (os error 2) [INFO] [stdout] --> src/streaming/parser.rs:340:30 [INFO] [stdout] | [INFO] [stdout] 340 | let movie_bytes: &[u8] = include_bytes!("../../../tests/movies/blank/main.swf"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/lib.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[test_resources("../tests/movies/*/")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: message: no resource matching the pattern ../tests/movies/*/ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/lib.rs:86:7 [INFO] [stdout] | [INFO] [stdout] 86 | #[test_resources($glob)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | test_various_parser_is_impl!(test_parse_le_f16, "../tests/various/float16-le/*/", parse_le_f16, f32); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: message: failed to parse tokens as a function: Error("expected `;`") [INFO] [stdout] = note: this error originates in the macro `test_various_parser_is_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/lib.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[test_resources($glob)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | test_various_parser_impl!(test_parse_header, "../tests/various/header/*/", parse_header34, Header); [INFO] [stdout] | --------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: message: failed to parse tokens as a function: Error("expected `;`") [INFO] [stdout] = note: this error originates in the macro `test_various_parser_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/lib.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[test_resources($glob)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | test_various_parser_impl!(test_parse_matrix, "../tests/various/matrix/*/", parse_matrix, Matrix); [INFO] [stdout] | ------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: message: failed to parse tokens as a function: Error("expected `;`") [INFO] [stdout] = note: this error originates in the macro `test_various_parser_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/lib.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[test_resources($glob)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | test_various_parser_impl!(test_parse_rect, "../tests/various/rect/*/", parse_rect, Rect); [INFO] [stdout] | ----------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: message: failed to parse tokens as a function: Error("expected `;`") [INFO] [stdout] = note: this error originates in the macro `test_various_parser_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/lib.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[test_resources($glob)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | / test_various_parser_impl!( [INFO] [stdout] 134 | | test_parse_swf_signature, [INFO] [stdout] 135 | | "../tests/various/swf-signature/*/", [INFO] [stdout] 136 | | parse_swf_signature, [INFO] [stdout] 137 | | SwfSignature [INFO] [stdout] 138 | | ); [INFO] [stdout] | |____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: message: failed to parse tokens as a function: Error("expected `;`") [INFO] [stdout] = note: this error originates in the macro `test_various_parser_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: custom attribute panicked [INFO] [stdout] --> src/lib.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[test_resources($glob)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | / test_various_parser_impl!( [INFO] [stdout] 142 | | test_parse_leb128_u32, [INFO] [stdout] 143 | | "../tests/various/uint32-leb128/*/", [INFO] [stdout] 144 | | parse_leb128_u32, [INFO] [stdout] 145 | | u32 [INFO] [stdout] 146 | | ); [INFO] [stdout] | |____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: message: failed to parse tokens as a function: Error("expected `;`") [INFO] [stdout] = note: this error originates in the macro `test_various_parser_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/complete/morph_shape.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | use nom::bits::bits;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/complete/morph_shape.rs:51:23 [INFO] [stdout] | [INFO] [stdout] 51 | use nom::bits::bits;; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::parse_tag` [INFO] [stdout] --> src/complete/tag.rs:1414:7 [INFO] [stdout] | [INFO] [stdout] 1414 | use super::parse_tag; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/complete/tag.rs:1415:7 [INFO] [stdout] | [INFO] [stdout] 1415 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `swf_types::Tag` [INFO] [stdout] --> src/complete/tag.rs:1416:7 [INFO] [stdout] | [INFO] [stdout] 1416 | use swf_types::Tag; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parse_swf` [INFO] [stdout] --> src/lib.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::parse_swf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::swf_types::Movie` [INFO] [stdout] --> src/lib.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | use ::swf_types::Movie; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/lib.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/lib.rs:16:7 [INFO] [stdout] | [INFO] [stdout] 16 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::streaming::basic_data_types::parse_le_f16` [INFO] [stdout] --> src/lib.rs:112:7 [INFO] [stdout] | [INFO] [stdout] 112 | use crate::streaming::basic_data_types::parse_le_f16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::swf_types::float_is::Is` [INFO] [stdout] --> src/lib.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | use crate::swf_types::float_is::Is; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | test_various_parser_is_impl!(test_parse_le_f16, "../tests/various/float16-le/*/", parse_le_f16, f32); [INFO] [stdout] | ----------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_various_parser_is_impl` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::streaming::basic_data_types::parse_matrix` [INFO] [stdout] --> src/lib.rs:123:7 [INFO] [stdout] | [INFO] [stdout] 123 | use crate::streaming::basic_data_types::parse_matrix; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `swf_types::Matrix` [INFO] [stdout] --> src/lib.rs:124:7 [INFO] [stdout] | [INFO] [stdout] 124 | use swf_types::Matrix; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::streaming::basic_data_types::parse_rect` [INFO] [stdout] --> src/lib.rs:127:7 [INFO] [stdout] | [INFO] [stdout] 127 | use crate::streaming::basic_data_types::parse_rect; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `swf_types::Rect` [INFO] [stdout] --> src/lib.rs:128:7 [INFO] [stdout] | [INFO] [stdout] 128 | use swf_types::Rect; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::streaming::movie::parse_swf_signature` [INFO] [stdout] --> src/lib.rs:131:7 [INFO] [stdout] | [INFO] [stdout] 131 | use crate::streaming::movie::parse_swf_signature; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `swf_types::SwfSignature` [INFO] [stdout] --> src/lib.rs:132:7 [INFO] [stdout] | [INFO] [stdout] 132 | use swf_types::SwfSignature; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::streaming::basic_data_types::parse_leb128_u32` [INFO] [stdout] --> src/lib.rs:140:7 [INFO] [stdout] | [INFO] [stdout] 140 | use crate::streaming::basic_data_types::parse_leb128_u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swf-parser` due to 11 previous errors; 17 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "35934c26659bba95bf6a52d1b0ebfe416b229551f573cf4b043c88f504e9393b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35934c26659bba95bf6a52d1b0ebfe416b229551f573cf4b043c88f504e9393b", kill_on_drop: false }` [INFO] [stdout] 35934c26659bba95bf6a52d1b0ebfe416b229551f573cf4b043c88f504e9393b