[INFO] cloning repository https://github.com/ftxqxd/opus [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ftxqxd/opus" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fftxqxd%2Fopus", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fftxqxd%2Fopus'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10613548ab2af7189e9287dda41f6be3c159c427 [INFO] checking ftxqxd/opus against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fftxqxd%2Fopus" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ftxqxd/opus on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ftxqxd/opus [INFO] finished tweaking git repo https://github.com/ftxqxd/opus [INFO] tweaked toml for git repo https://github.com/ftxqxd/opus written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ftxqxd/opus 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typed-arena v1.4.1 [INFO] [stderr] Downloaded aho-corasick v0.7.4 [INFO] [stderr] Downloaded regex v1.1.9 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 135823bfb6a5c24ca9703644438f96501e68aead51bf8fec9f0c9d89a3371fc3 [INFO] running `Command { std: "docker" "start" "-a" "135823bfb6a5c24ca9703644438f96501e68aead51bf8fec9f0c9d89a3371fc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "135823bfb6a5c24ca9703644438f96501e68aead51bf8fec9f0c9d89a3371fc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "135823bfb6a5c24ca9703644438f96501e68aead51bf8fec9f0c9d89a3371fc3", kill_on_drop: false }` [INFO] [stdout] 135823bfb6a5c24ca9703644438f96501e68aead51bf8fec9f0c9d89a3371fc3 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 17b1d081250b4bdd6ad702d3ae79aeb02f1ef8acc1e974943af206ecaa25acab [INFO] running `Command { std: "docker" "start" "-a" "17b1d081250b4bdd6ad702d3ae79aeb02f1ef8acc1e974943af206ecaa25acab", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling regex v1.1.9 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling utf8-ranges v1.0.3 [INFO] [stderr] Compiling cc v1.0.37 [INFO] [stderr] Compiling libc v0.2.59 [INFO] [stderr] Checking argparse v0.2.2 [INFO] [stderr] Checking typed-arena v1.4.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.4 [INFO] [stderr] Compiling llvm-sys v70.2.1 [INFO] [stderr] Checking opus v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile.rs:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | let mut ptr = self.function_arena.alloc(function); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/compile.rs:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | let mut ptr = self.function_arena.alloc(function); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_temporary` is never read [INFO] [stdout] --> src/generate_ir.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Variable { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 71 | pub typ: TypeId, [INFO] [stdout] 72 | pub is_temporary: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Variable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_temporary` is never read [INFO] [stdout] --> src/generate_ir.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct Variable { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 71 | pub typ: TypeId, [INFO] [stdout] 72 | pub is_temporary: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Variable` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/generate_ir.rs:148:36 [INFO] [stdout] | [INFO] [stdout] 148 | self.locals.insert(name.clone(), variable_id); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/generate_ir.rs:256:78 [INFO] [stdout] | [INFO] [stdout] 256 | self.compiler.report_error(Error::ShadowedName(span, name.clone())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/generate_ir.rs:261:48 [INFO] [stdout] | [INFO] [stdout] 261 | self.locals_stack.push(name.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/generate_ir.rs:262:44 [INFO] [stdout] | [INFO] [stdout] 262 | self.locals.insert(name.clone(), new_variable_id); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/generate_ir.rs:148:36 [INFO] [stdout] | [INFO] [stdout] 148 | self.locals.insert(name.clone(), variable_id); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/generate_ir.rs:411:78 [INFO] [stdout] | [INFO] [stdout] 411 | self.compiler.report_error(Error::ShadowedName(span, name.clone())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/generate_ir.rs:416:48 [INFO] [stdout] | [INFO] [stdout] 416 | self.locals_stack.push(name.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/generate_ir.rs:417:44 [INFO] [stdout] | [INFO] [stdout] 417 | self.locals.insert(name.clone(), new_variable_id); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/generate_ir.rs:256:78 [INFO] [stdout] | [INFO] [stdout] 256 | self.compiler.report_error(Error::ShadowedName(span, name.clone())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/generate_ir.rs:261:48 [INFO] [stdout] | [INFO] [stdout] 261 | self.locals_stack.push(name.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/generate_ir.rs:262:44 [INFO] [stdout] | [INFO] [stdout] 262 | self.locals.insert(name.clone(), new_variable_id); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/generate_ir.rs:411:78 [INFO] [stdout] | [INFO] [stdout] 411 | self.compiler.report_error(Error::ShadowedName(span, name.clone())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/generate_ir.rs:416:48 [INFO] [stdout] | [INFO] [stdout] 416 | self.locals_stack.push(name.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/generate_ir.rs:417:44 [INFO] [stdout] | [INFO] [stdout] 417 | self.locals.insert(name.clone(), new_variable_id); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/generate_ir.rs:1010:78 [INFO] [stdout] | [INFO] [stdout] 1010 | self.compiler.report_error(Error::ShadowedName(span, name.clone())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/generate_ir.rs:1016:48 [INFO] [stdout] | [INFO] [stdout] 1016 | self.locals_stack.push(name.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/generate_ir.rs:1017:44 [INFO] [stdout] | [INFO] [stdout] 1017 | self.locals.insert(name.clone(), variable_id); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/generate_ir.rs:1010:78 [INFO] [stdout] | [INFO] [stdout] 1010 | self.compiler.report_error(Error::ShadowedName(span, name.clone())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/generate_ir.rs:1016:48 [INFO] [stdout] | [INFO] [stdout] 1016 | self.locals_stack.push(name.clone()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/generate_ir.rs:1017:44 [INFO] [stdout] | [INFO] [stdout] 1017 | self.locals.insert(name.clone(), variable_id); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.17s [INFO] running `Command { std: "docker" "inspect" "17b1d081250b4bdd6ad702d3ae79aeb02f1ef8acc1e974943af206ecaa25acab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17b1d081250b4bdd6ad702d3ae79aeb02f1ef8acc1e974943af206ecaa25acab", kill_on_drop: false }` [INFO] [stdout] 17b1d081250b4bdd6ad702d3ae79aeb02f1ef8acc1e974943af206ecaa25acab