[INFO] fetching crate serval 0.1.0... [INFO] testing serval-0.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate serval 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate serval 0.1.0 [INFO] finished tweaking crates.io crate serval 0.1.0 [INFO] tweaked toml for crates.io crate serval 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate serval 0.1.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 120 packages to latest compatible versions [INFO] [stderr] Adding combine v3.8.1 (available: v4.6.7) [INFO] [stderr] Adding image v0.19.0 (available: v0.25.8) [INFO] [stderr] Adding ordered-float v1.1.1 (available: v5.1.0) [INFO] [stderr] Adding structopt v0.2.18 (available: v0.3.26) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ordered-float v1.1.1 [INFO] [stderr] Downloaded num-rational v0.1.43 [INFO] [stderr] Downloaded mime_guess v1.8.8 [INFO] [stderr] Downloaded logger v0.4.0 [INFO] [stderr] Downloaded loggerv v0.7.2 [INFO] [stderr] Downloaded image v0.19.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 775b925ce122077a9d88d9baab9067de61c16bf8020e1e0ef4c6c4fcaa44aadf [INFO] running `Command { std: "docker" "start" "-a" "775b925ce122077a9d88d9baab9067de61c16bf8020e1e0ef4c6c4fcaa44aadf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "775b925ce122077a9d88d9baab9067de61c16bf8020e1e0ef4c6c4fcaa44aadf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "775b925ce122077a9d88d9baab9067de61c16bf8020e1e0ef4c6c4fcaa44aadf", kill_on_drop: false }` [INFO] [stdout] 775b925ce122077a9d88d9baab9067de61c16bf8020e1e0ef4c6c4fcaa44aadf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d8f9cad670c4af3a870856b0cbae558150151e6993fc0a7afab47d1ed8281b8 [INFO] running `Command { std: "docker" "start" "-a" "9d8f9cad670c4af3a870856b0cbae558150151e6993fc0a7afab47d1ed8281b8", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling traitobject v0.1.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling tinyvec v1.10.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling num-rational v0.1.43 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling modifier v0.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling ascii v0.9.3 [INFO] [stderr] Compiling loggerv v0.7.2 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling combine v3.8.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling structopt-derive v0.2.18 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling image v0.19.0 [INFO] [stderr] Compiling structopt v0.2.18 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling logger v0.4.0 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling serval v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/prelude.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_EngineError` [INFO] [stdout] 15 | pub enum EngineError { [INFO] [stdout] | ----------- `EngineError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/prelude.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_EngineError` [INFO] [stdout] 15 | pub enum EngineError { [INFO] [stdout] | ----------- `EngineError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.78s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: typemap v0.3.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "9d8f9cad670c4af3a870856b0cbae558150151e6993fc0a7afab47d1ed8281b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d8f9cad670c4af3a870856b0cbae558150151e6993fc0a7afab47d1ed8281b8", kill_on_drop: false }` [INFO] [stdout] 9d8f9cad670c4af3a870856b0cbae558150151e6993fc0a7afab47d1ed8281b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c081e02ca1228f15bf5e3bebb0a274a03fb13cc5dd871d4c2cbe1d227134eba [INFO] running `Command { std: "docker" "start" "-a" "4c081e02ca1228f15bf5e3bebb0a274a03fb13cc5dd871d4c2cbe1d227134eba", kill_on_drop: false }` [INFO] [stderr] Compiling serval v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/prelude.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_EngineError` [INFO] [stdout] 15 | pub enum EngineError { [INFO] [stdout] | ----------- `EngineError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/prelude.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_EngineError` [INFO] [stdout] 15 | pub enum EngineError { [INFO] [stdout] | ----------- `EngineError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/prelude.rs:34:61 [INFO] [stdout] | [INFO] [stdout] 34 | assert_eq!($parser.parse($input), Ok(($output, ""))); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/css/parser.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | / assert_parse!( [INFO] [stdout] 352 | | parser::simple_selector(), [INFO] [stdout] 353 | | "*#foo", [INFO] [stdout] 354 | | SimpleSelector { [INFO] [stdout] ... | [INFO] [stdout] 358 | | ) [INFO] [stdout] | |_________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: macro invocations at the end of a block are treated as expressions [INFO] [stdout] = note: to ignore the value produced by the macro, add a semicolon after the invocation of `assert_parse` [INFO] [stdout] = note: `#[deny(semicolon_in_expressions_from_macros)]` (part of `#[deny(future_incompatible)]`) on by default [INFO] [stdout] = note: this error originates in the macro `assert_parse` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/prelude.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_EngineError` [INFO] [stdout] 15 | pub enum EngineError { [INFO] [stdout] | ----------- `EngineError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/prelude.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_EngineError` [INFO] [stdout] 15 | pub enum EngineError { [INFO] [stdout] | ----------- `EngineError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `serval` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4c081e02ca1228f15bf5e3bebb0a274a03fb13cc5dd871d4c2cbe1d227134eba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c081e02ca1228f15bf5e3bebb0a274a03fb13cc5dd871d4c2cbe1d227134eba", kill_on_drop: false }` [INFO] [stdout] 4c081e02ca1228f15bf5e3bebb0a274a03fb13cc5dd871d4c2cbe1d227134eba