[INFO] fetching crate dex 0.4.0... [INFO] checking dex-0.4.0 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] extracting crate dex 0.4.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate dex 0.4.0 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dex 0.4.0 [INFO] finished tweaking crates.io crate dex 0.4.0 [INFO] tweaked toml for crates.io crate dex 0.4.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate crates.io crate dex 0.4.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58ec85e37986da58e0cd51483aa12656febb9cece347dbf41998470a4a48b27d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "58ec85e37986da58e0cd51483aa12656febb9cece347dbf41998470a4a48b27d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58ec85e37986da58e0cd51483aa12656febb9cece347dbf41998470a4a48b27d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58ec85e37986da58e0cd51483aa12656febb9cece347dbf41998470a4a48b27d", kill_on_drop: false }` [INFO] [stdout] 58ec85e37986da58e0cd51483aa12656febb9cece347dbf41998470a4a48b27d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9590bc013fe085a660ba85a4d0bd18d04c089e3abe1fad5d4ed45021e13c21e9 [INFO] running `Command { std: "docker" "start" "-a" "9590bc013fe085a660ba85a4d0bd18d04c089e3abe1fad5d4ed45021e13c21e9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking hashbrown v0.5.0 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking cesu8 v1.1.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling scroll v0.9.2 [INFO] [stderr] Compiling scroll_derive v0.9.5 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Checking lru v0.1.17 [INFO] [stderr] Checking getrandom v0.1.13 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Compiling getset v0.0.9 [INFO] [stderr] Checking dex v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/dex.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | (self.data_off..self.data_off + self.data_size) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/dex.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | (self.data_off..self.data_off + self.data_size) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning 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: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() 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] 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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() 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(), "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 is no longer accepted in Rust 2021 [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 is no longer accepted in Rust 2021 [INFO] [stdout] = note: the panic!() 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(), "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 [unoptimized + debuginfo] target(s) in 26.64s [INFO] running `Command { std: "docker" "inspect" "9590bc013fe085a660ba85a4d0bd18d04c089e3abe1fad5d4ed45021e13c21e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9590bc013fe085a660ba85a4d0bd18d04c089e3abe1fad5d4ed45021e13c21e9", kill_on_drop: false }` [INFO] [stdout] 9590bc013fe085a660ba85a4d0bd18d04c089e3abe1fad5d4ed45021e13c21e9