[INFO] fetching crate wasmer-inline-c 0.1.2... [INFO] checking wasmer-inline-c-0.1.2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate wasmer-inline-c 0.1.2 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate wasmer-inline-c 0.1.2 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wasmer-inline-c 0.1.2 [INFO] finished tweaking crates.io crate wasmer-inline-c 0.1.2 [INFO] tweaked toml for crates.io crate wasmer-inline-c 0.1.2 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 57 packages to latest compatible versions [INFO] [stderr] Adding assert_cmd v1.0.8 (available: v2.0.16) [INFO] [stderr] Adding bstr v0.2.17 (available: v1.10.0) [INFO] [stderr] Adding float-cmp v0.9.0 (available: v0.10.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding predicates v2.1.5 (available: v3.1.2) [INFO] [stderr] Adding regex-automata v0.1.10 (available: v0.4.7) [INFO] [stderr] Adding rustc_version v0.3.3 (available: v0.4.1) [INFO] [stderr] Adding semver v0.11.0 (available: v1.0.23) [INFO] [stderr] Adding target-lexicon v0.11.2 (available: v0.12.16) [INFO] [stderr] Adding termtree v0.4.1 (available: v0.5.1) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8b50612c499ffe8451eaa6c8e3d4481c18522061cc7010836a7559e99b4b79f1 [INFO] running `Command { std: "docker" "start" "-a" "8b50612c499ffe8451eaa6c8e3d4481c18522061cc7010836a7559e99b4b79f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8b50612c499ffe8451eaa6c8e3d4481c18522061cc7010836a7559e99b4b79f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b50612c499ffe8451eaa6c8e3d4481c18522061cc7010836a7559e99b4b79f1", kill_on_drop: false }` [INFO] [stdout] 8b50612c499ffe8451eaa6c8e3d4481c18522061cc7010836a7559e99b4b79f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 977bb5068a8e29f3f797ca51b9cfe49705e01245f002297ec66f019e4b6d9903 [INFO] running `Command { std: "docker" "start" "-a" "977bb5068a8e29f3f797ca51b9cfe49705e01245f002297ec66f019e4b6d9903", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Compiling target-lexicon v0.11.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Checking cc v1.1.22 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking assert_cmd v1.0.8 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling pest v2.7.13 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling wasmer-inline-c-macro v0.1.6 [INFO] [stderr] Checking wasmer-inline-c v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `cppflags` [INFO] [stdout] --> src/lib.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let cppflags = get_env_flags(&variables, "CPPFLAGS"); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cppflags` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cxxflags` [INFO] [stdout] --> src/lib.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let cxxflags = get_env_flags(&variables, "CXXFLAGS"); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cxxflags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cppflags` [INFO] [stdout] --> src/lib.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | let cppflags = get_env_flags(&variables, "CPPFLAGS"); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cppflags` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cxxflags` [INFO] [stdout] --> src/lib.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | let cxxflags = get_env_flags(&variables, "CXXFLAGS"); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cxxflags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:280:64 [INFO] [stdout] | [INFO] [stdout] 280 | if let Ok(symlink) = std::fs::read_to_string(parent.clone().join(&file)) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 280 - if let Ok(symlink) = std::fs::read_to_string(parent.clone().join(&file)) { [INFO] [stdout] 280 + if let Ok(symlink) = std::fs::read_to_string(parent.join(&file)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:294:38 [INFO] [stdout] | [INFO] [stdout] 294 | let path = parent.clone().join(s); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 294 - let path = parent.clone().join(s); [INFO] [stdout] 294 + let path = parent.join(s); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:280:64 [INFO] [stdout] | [INFO] [stdout] 280 | if let Ok(symlink) = std::fs::read_to_string(parent.clone().join(&file)) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 280 - if let Ok(symlink) = std::fs::read_to_string(parent.clone().join(&file)) { [INFO] [stdout] 280 + if let Ok(symlink) = std::fs::read_to_string(parent.join(&file)) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/lib.rs:294:38 [INFO] [stdout] | [INFO] [stdout] 294 | let path = parent.clone().join(s); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Path` does not implement `Clone`, so calling `clone` on `&Path` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 294 - let path = parent.clone().join(s); [INFO] [stdout] 294 + let path = parent.join(s); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.13s [INFO] running `Command { std: "docker" "inspect" "977bb5068a8e29f3f797ca51b9cfe49705e01245f002297ec66f019e4b6d9903", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "977bb5068a8e29f3f797ca51b9cfe49705e01245f002297ec66f019e4b6d9903", kill_on_drop: false }` [INFO] [stdout] 977bb5068a8e29f3f797ca51b9cfe49705e01245f002297ec66f019e4b6d9903