[INFO] fetching crate dex 0.5.0... [INFO] checking dex-0.5.0 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate dex 0.5.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate dex 0.5.0 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dex 0.5.0 [INFO] finished tweaking crates.io crate dex 0.5.0 [INFO] tweaked toml for crates.io crate dex 0.5.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate crates.io crate dex 0.5.0 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--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] Downloading crates ... [INFO] [stderr] Downloaded getset v0.0.9 [INFO] [stderr] Downloaded rand_chacha v0.2.1 [INFO] [stderr] Downloaded tempfile v3.1.0 [INFO] [stderr] Downloaded wincolor v1.0.2 [INFO] [stderr] Downloaded ppv-lite86 v0.2.6 [INFO] [stderr] Downloaded winapi-util v0.1.2 [INFO] [stderr] Downloaded quick-error v1.2.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.6 [INFO] [stderr] Downloaded syn v1.0.8 [INFO] [stderr] Downloaded ahash v0.4.7 [INFO] [stderr] Downloaded regex-syntax v0.6.12 [INFO] [stderr] Downloaded regex v1.3.1 [INFO] [stderr] Downloaded libc v0.2.65 [INFO] [stderr] Downloaded num-derive v0.2.5 [INFO] [stderr] Downloaded rand v0.7.2 [INFO] [stderr] Downloaded termcolor v1.0.5 [INFO] [stderr] Downloaded lru v0.6.5 [INFO] [stderr] Downloaded scroll v0.9.2 [INFO] [stderr] Downloaded scroll_derive v0.9.5 [INFO] [stderr] Downloaded wasi v0.7.0 [INFO] [stderr] Downloaded getrandom v0.1.13 [INFO] [stderr] Downloaded c2-chacha v0.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fc205a9f19a6c81d2dcb77e344ecde40bd359c6a28d8b990cb9681d22698f1c [INFO] running `Command { std: "docker" "start" "-a" "2fc205a9f19a6c81d2dcb77e344ecde40bd359c6a28d8b990cb9681d22698f1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fc205a9f19a6c81d2dcb77e344ecde40bd359c6a28d8b990cb9681d22698f1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fc205a9f19a6c81d2dcb77e344ecde40bd359c6a28d8b990cb9681d22698f1c", kill_on_drop: false }` [INFO] [stdout] 2fc205a9f19a6c81d2dcb77e344ecde40bd359c6a28d8b990cb9681d22698f1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be3a28d9be7fbc42373032d59d5e221cfa5be00428a926274d30f5fba17bfaec [INFO] running `Command { std: "docker" "start" "-a" "be3a28d9be7fbc42373032d59d5e221cfa5be00428a926274d30f5fba17bfaec", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling scroll v0.9.2 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking lru v0.6.5 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling scroll_derive v0.9.5 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling getset v0.0.9 [INFO] [stderr] Checking dex v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Eq` is imported redundantly [INFO] [stdout] --> src/cache.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, cmp::Eq, hash::Hash, rc::Rc}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Eq` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `adler32` is imported redundantly [INFO] [stdout] --> src/dex.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use adler32; [INFO] [stdout] | ^^^^^^^ the item `adler32` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `scroll` is imported redundantly [INFO] [stdout] --> src/encoded_value.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use scroll::{self, ctx, Pread, Uleb128, LE}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub extern crate scroll; [INFO] [stdout] | ------------------------ the item `scroll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `scroll` is imported redundantly [INFO] [stdout] --> src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use scroll; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub extern crate scroll; [INFO] [stdout] | ------------------------ the item `scroll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Clone` is imported redundantly [INFO] [stdout] --> src/jtype.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{clone::Clone, fmt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Clone` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Clone` is imported redundantly [INFO] [stdout] --> src/source.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{clone::Clone, convert::AsRef, ops::Index, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Clone` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/source.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{clone::Clone, convert::AsRef, ops::Index, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/string.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | convert::AsRef, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `scroll` is imported redundantly [INFO] [stdout] --> src/string.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use scroll::{self, ctx, Pread, Uleb128}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub extern crate scroll; [INFO] [stdout] | ------------------------ the item `scroll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Eq` is imported redundantly [INFO] [stdout] --> src/cache.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, cmp::Eq, hash::Hash, rc::Rc}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Eq` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `adler32` is imported redundantly [INFO] [stdout] --> src/dex.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use adler32; [INFO] [stdout] | ^^^^^^^ the item `adler32` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `scroll` is imported redundantly [INFO] [stdout] --> src/encoded_value.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use scroll::{self, ctx, Pread, Uleb128, LE}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub extern crate scroll; [INFO] [stdout] | ------------------------ the item `scroll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `scroll` is imported redundantly [INFO] [stdout] --> src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use scroll; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub extern crate scroll; [INFO] [stdout] | ------------------------ the item `scroll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Clone` is imported redundantly [INFO] [stdout] --> src/jtype.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{clone::Clone, fmt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Clone` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Clone` is imported redundantly [INFO] [stdout] --> src/source.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{clone::Clone, convert::AsRef, ops::Index, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Clone` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/source.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{clone::Clone, convert::AsRef, ops::Index, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/string.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | convert::AsRef, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `scroll` is imported redundantly [INFO] [stdout] --> src/string.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use scroll::{self, ctx, Pread, Uleb128}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub extern crate scroll; [INFO] [stdout] | ------------------------ the item `scroll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | assert!(field.is_some(), format!("name: {}, type: {}", name, jtype)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 328 - assert!(field.is_some(), format!("name: {}, type: {}", name, jtype)); [INFO] [stdout] 328 + assert!(field.is_some(), "name: {}, type: {}", name, jtype); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test.rs:491:71 [INFO] [stdout] | [INFO] [stdout] 491 | ... assert_has_access_flags!(m, [is_public, is_abstract], format!("interface method: {} doesn't have all attributes", m.name())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test.rs:492:45 [INFO] [stdout] | [INFO] [stdout] 492 | assert!(m.code().is_none(), format!("interface method: {} shouldn't have code item", m.name())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 492 - assert!(m.code().is_none(), format!("interface method: {} shouldn't have code item", m.name())); [INFO] [stdout] 492 + assert!(m.code().is_none(), "interface method: {} shouldn't have code item", m.name()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test.rs:497:79 [INFO] [stdout] | [INFO] [stdout] 497 | ...is_public, is_static, is_final], format!("interface field: {} doesn't have all attributes", f.name())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test.rs:689:39 [INFO] [stdout] | [INFO] [stdout] 689 | assert!(method.is_some(), format!("method: {}, params: {:?}, return_type: {}", name, params, return_type)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 689 - assert!(method.is_some(), format!("method: {}, params: {:?}, return_type: {}", name, params, return_type)); [INFO] [stdout] 689 + assert!(method.is_some(), "method: {}, params: {:?}, return_type: {}", name, params, return_type); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.16s [INFO] running `Command { std: "docker" "inspect" "be3a28d9be7fbc42373032d59d5e221cfa5be00428a926274d30f5fba17bfaec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be3a28d9be7fbc42373032d59d5e221cfa5be00428a926274d30f5fba17bfaec", kill_on_drop: false }` [INFO] [stdout] be3a28d9be7fbc42373032d59d5e221cfa5be00428a926274d30f5fba17bfaec [INFO] checking dex-0.5.0 against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] extracting crate dex 0.5.0 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate dex 0.5.0 on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dex 0.5.0 [INFO] finished tweaking crates.io crate dex 0.5.0 [INFO] tweaked toml for crates.io crate dex 0.5.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate dex 0.5.0 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c9a8857d9c71082cc2ae59536960b0473533080c7043e67119c6dc68338061f [INFO] running `Command { std: "docker" "start" "-a" "6c9a8857d9c71082cc2ae59536960b0473533080c7043e67119c6dc68338061f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c9a8857d9c71082cc2ae59536960b0473533080c7043e67119c6dc68338061f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c9a8857d9c71082cc2ae59536960b0473533080c7043e67119c6dc68338061f", kill_on_drop: false }` [INFO] [stdout] 6c9a8857d9c71082cc2ae59536960b0473533080c7043e67119c6dc68338061f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4d42c2b61ba4bdde7c683885bd0a62a11550406cbc389d5b0f91460acdd43f4 [INFO] running `Command { std: "docker" "start" "-a" "a4d42c2b61ba4bdde7c683885bd0a62a11550406cbc389d5b0f91460acdd43f4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling scroll v0.9.2 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking lru v0.6.5 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling scroll_derive v0.9.5 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling getset v0.0.9 [INFO] [stderr] Checking dex v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Eq` is imported redundantly [INFO] [stdout] --> src/cache.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, cmp::Eq, hash::Hash, rc::Rc}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Eq` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `adler32` is imported redundantly [INFO] [stdout] --> src/dex.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use adler32; [INFO] [stdout] | ^^^^^^^ the item `adler32` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `scroll` is imported redundantly [INFO] [stdout] --> src/encoded_value.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use scroll::{self, ctx, Pread, Uleb128, LE}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub extern crate scroll; [INFO] [stdout] | ------------------------ the item `scroll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `scroll` is imported redundantly [INFO] [stdout] --> src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use scroll; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub extern crate scroll; [INFO] [stdout] | ------------------------ the item `scroll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Clone` is imported redundantly [INFO] [stdout] --> src/jtype.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{clone::Clone, fmt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Clone` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Clone` is imported redundantly [INFO] [stdout] --> src/source.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{clone::Clone, convert::AsRef, ops::Index, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Clone` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/source.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{clone::Clone, convert::AsRef, ops::Index, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/string.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | convert::AsRef, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `scroll` is imported redundantly [INFO] [stdout] --> src/string.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use scroll::{self, ctx, Pread, Uleb128}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub extern crate scroll; [INFO] [stdout] | ------------------------ the item `scroll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Eq` is imported redundantly [INFO] [stdout] --> src/cache.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, cmp::Eq, hash::Hash, rc::Rc}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Eq` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `adler32` is imported redundantly [INFO] [stdout] --> src/dex.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use adler32; [INFO] [stdout] | ^^^^^^^ the item `adler32` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `scroll` is imported redundantly [INFO] [stdout] --> src/encoded_value.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use scroll::{self, ctx, Pread, Uleb128, LE}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub extern crate scroll; [INFO] [stdout] | ------------------------ the item `scroll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `scroll` is imported redundantly [INFO] [stdout] --> src/error.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use scroll; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub extern crate scroll; [INFO] [stdout] | ------------------------ the item `scroll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Clone` is imported redundantly [INFO] [stdout] --> src/jtype.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{clone::Clone, fmt}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Clone` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Clone` is imported redundantly [INFO] [stdout] --> src/source.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{clone::Clone, convert::AsRef, ops::Index, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Clone` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/source.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{clone::Clone, convert::AsRef, ops::Index, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `AsRef` is imported redundantly [INFO] [stdout] --> src/string.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | convert::AsRef, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/645bb72776a6a56a1a8f52631a44bd082b2ba509/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `AsRef` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `scroll` is imported redundantly [INFO] [stdout] --> src/string.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use scroll::{self, ctx, Pread, Uleb128}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub extern crate scroll; [INFO] [stdout] | ------------------------ the item `scroll` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test.rs:328:38 [INFO] [stdout] | [INFO] [stdout] 328 | assert!(field.is_some(), format!("name: {}, type: {}", name, jtype)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 328 - assert!(field.is_some(), format!("name: {}, type: {}", name, jtype)); [INFO] [stdout] 328 + assert!(field.is_some(), "name: {}, type: {}", name, jtype); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test.rs:491:71 [INFO] [stdout] | [INFO] [stdout] 491 | ... assert_has_access_flags!(m, [is_public, is_abstract], format!("interface method: {} doesn't have all attributes", m.name())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test.rs:492:45 [INFO] [stdout] | [INFO] [stdout] 492 | assert!(m.code().is_none(), format!("interface method: {} shouldn't have code item", m.name())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 492 - assert!(m.code().is_none(), format!("interface method: {} shouldn't have code item", m.name())); [INFO] [stdout] 492 + assert!(m.code().is_none(), "interface method: {} shouldn't have code item", m.name()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test.rs:497:79 [INFO] [stdout] | [INFO] [stdout] 497 | ...is_public, is_static, is_final], format!("interface field: {} doesn't have all attributes", f.name())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/test.rs:689:39 [INFO] [stdout] | [INFO] [stdout] 689 | assert!(method.is_some(), format!("method: {}, params: {:?}, return_type: {}", name, params, return_type)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 689 - assert!(method.is_some(), format!("method: {}, params: {:?}, return_type: {}", name, params, return_type)); [INFO] [stdout] 689 + assert!(method.is_some(), "method: {}, params: {:?}, return_type: {}", name, params, return_type); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.57s [INFO] running `Command { std: "docker" "inspect" "a4d42c2b61ba4bdde7c683885bd0a62a11550406cbc389d5b0f91460acdd43f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4d42c2b61ba4bdde7c683885bd0a62a11550406cbc389d5b0f91460acdd43f4", kill_on_drop: false }` [INFO] [stdout] a4d42c2b61ba4bdde7c683885bd0a62a11550406cbc389d5b0f91460acdd43f4