[INFO] cloning repository https://github.com/codebje/rustmtest [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/codebje/rustmtest" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodebje%2Frustmtest", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodebje%2Frustmtest'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 57ff43c1fce32d12e3ecb092618ab194acb47ea0 [INFO] checking codebje/rustmtest/57ff43c1fce32d12e3ecb092618ab194acb47ea0 against master#4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 for pr-134276 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcodebje%2Frustmtest" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/codebje/rustmtest on toolchain 4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/codebje/rustmtest [INFO] finished tweaking git repo https://github.com/codebje/rustmtest [INFO] tweaked toml for git repo https://github.com/codebje/rustmtest written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/codebje/rustmtest already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicorn v0.9.1 [INFO] [stderr] Downloaded os_type v2.2.0 [INFO] [stderr] Downloaded scroll_derive v0.10.1 [INFO] [stderr] Downloaded exitcode v1.1.2 [INFO] [stderr] Downloaded scroll v0.10.1 [INFO] [stderr] Downloaded backtrace v0.3.43 [INFO] [stderr] Downloaded goblin v0.2.0 [INFO] [stderr] Downloaded aho-corasick v0.7.8 [INFO] [stderr] Downloaded regex-syntax v0.6.14 [INFO] [stderr] Downloaded libunicorn-sys v0.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5910cab0b1a61197a14f99fdd7aaa3891bfcd1a4db7f85908f4e87a63735461 [INFO] running `Command { std: "docker" "start" "-a" "f5910cab0b1a61197a14f99fdd7aaa3891bfcd1a4db7f85908f4e87a63735461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5910cab0b1a61197a14f99fdd7aaa3891bfcd1a4db7f85908f4e87a63735461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5910cab0b1a61197a14f99fdd7aaa3891bfcd1a4db7f85908f4e87a63735461", kill_on_drop: false }` [INFO] [stdout] f5910cab0b1a61197a14f99fdd7aaa3891bfcd1a4db7f85908f4e87a63735461 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c8c44a3894f06e8d8ae7ff5db5586b8422cf994555733c9db4eddfc052efabc [INFO] running `Command { std: "docker" "start" "-a" "1c8c44a3894f06e8d8ae7ff5db5586b8422cf994555733c9db4eddfc052efabc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.14 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling semver v0.6.0 [INFO] [stderr] Checking exitcode v1.1.2 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling build-helper v0.1.1 [INFO] [stderr] Compiling aho-corasick v0.7.8 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Checking backtrace v0.3.43 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling os_type v2.2.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling libunicorn-sys v0.9.1 [INFO] [stderr] Compiling scroll_derive v0.10.1 [INFO] [stderr] Checking unicorn v0.9.1 [INFO] [stderr] Checking scroll v0.10.1 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking goblin v0.2.0 [INFO] [stderr] Checking rustmtest v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `assert_ok` [INFO] [stdout] --> src/lex/mod.rs:194:14 [INFO] [stdout] | [INFO] [stdout] 194 | macro_rules! assert_ok { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_err` [INFO] [stdout] --> src/lex/mod.rs:207:14 [INFO] [stdout] | [INFO] [stdout] 207 | macro_rules! assert_err { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `assert_json` [INFO] [stdout] --> src/lex/mod.rs:214:14 [INFO] [stdout] | [INFO] [stdout] 214 | macro_rules! assert_json { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lex/mod.rs:228:81 [INFO] [stdout] | [INFO] [stdout] 228 | fn parse_number<'i>((input, rest): (&'i str, &'i str), radix: u32) -> LexResult<'_, i32> { [INFO] [stdout] | -- lifetime `'i` declared here ^^ this elided lifetime gets resolved as `'i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/testcase.rs:26:58 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'i> TestCase<'i> { [INFO] [stdout] | -- lifetime `'i` declared here [INFO] [stdout] 26 | pub fn parse(input: &'i str) -> Result, LexError> { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/testcase.rs:32:40 [INFO] [stdout] | [INFO] [stdout] 31 | impl<'i> Lex<'i> for TestCase<'i> { [INFO] [stdout] | -- lifetime `'i` declared here [INFO] [stdout] 32 | fn lex(input: &'i str) -> LexResult> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/testcase.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 58 | impl<'i> Lex<'i> for HashMap { [INFO] [stdout] | -- lifetime `'i` declared here [INFO] [stdout] 59 | fn lex(input: &'i str) -> LexResult> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/testcase.rs:78:40 [INFO] [stdout] | [INFO] [stdout] 77 | impl<'i> Lex<'i> for Register { [INFO] [stdout] | -- lifetime `'i` declared here [INFO] [stdout] 78 | fn lex(input: &'i str) -> LexResult { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/lex/mod.rs:228:81 [INFO] [stdout] | [INFO] [stdout] 228 | fn parse_number<'i>((input, rest): (&'i str, &'i str), radix: u32) -> LexResult<'_, i32> { [INFO] [stdout] | -- lifetime `'i` declared here ^^ this elided lifetime gets resolved as `'i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/testcase.rs:26:58 [INFO] [stdout] | [INFO] [stdout] 25 | impl<'i> TestCase<'i> { [INFO] [stdout] | -- lifetime `'i` declared here [INFO] [stdout] 26 | pub fn parse(input: &'i str) -> Result, LexError> { [INFO] [stdout] | ^^^^^^^^ this elided lifetime gets resolved as `'i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/testcase.rs:32:40 [INFO] [stdout] | [INFO] [stdout] 31 | impl<'i> Lex<'i> for TestCase<'i> { [INFO] [stdout] | -- lifetime `'i` declared here [INFO] [stdout] 32 | fn lex(input: &'i str) -> LexResult> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/testcase.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 58 | impl<'i> Lex<'i> for HashMap { [INFO] [stdout] | -- lifetime `'i` declared here [INFO] [stdout] 59 | fn lex(input: &'i str) -> LexResult> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/testcase.rs:78:40 [INFO] [stdout] | [INFO] [stdout] 77 | impl<'i> Lex<'i> for Register { [INFO] [stdout] | -- lifetime `'i` declared here [INFO] [stdout] 78 | fn lex(input: &'i str) -> LexResult { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `lex_with` is never used [INFO] [stdout] --> src/lex/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub trait LexWith<'i, E>: Sized { [INFO] [stdout] | ------- associated function in this trait [INFO] [stdout] 32 | fn lex_with(input: &'i str, extra: E) -> LexResult<'i, Self>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/lex/mod.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_LexErrorKind` [INFO] [stdout] 5 | pub enum LexErrorKind { [INFO] [stdout] | ------------ `LexErrorKind` 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/lex/mod.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, PartialEq, Fail)] [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_LexErrorKind` [INFO] [stdout] 5 | pub enum LexErrorKind { [INFO] [stdout] | ------------ `LexErrorKind` 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] warning: associated function `lex_with` is never used [INFO] [stdout] --> src/lex/mod.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub trait LexWith<'i, E>: Sized { [INFO] [stdout] | ------- associated function in this trait [INFO] [stdout] 32 | fn lex_with(input: &'i str, extra: E) -> LexResult<'i, Self>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/lex/mod.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, PartialEq, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_LexErrorKind` [INFO] [stdout] 5 | pub enum LexErrorKind { [INFO] [stdout] | ------------ `LexErrorKind` 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/lex/mod.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, PartialEq, Fail)] [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_LexErrorKind` [INFO] [stdout] 5 | pub enum LexErrorKind { [INFO] [stdout] | ------------ `LexErrorKind` 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 14.13s [INFO] running `Command { std: "docker" "inspect" "1c8c44a3894f06e8d8ae7ff5db5586b8422cf994555733c9db4eddfc052efabc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c8c44a3894f06e8d8ae7ff5db5586b8422cf994555733c9db4eddfc052efabc", kill_on_drop: false }` [INFO] [stdout] 1c8c44a3894f06e8d8ae7ff5db5586b8422cf994555733c9db4eddfc052efabc