[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#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [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 ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typed-arena v1.4.1 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 274327a993291c05d46e110de46acd7c6e42bf23fb603ee90aee7ed2482a743b [INFO] running `Command { std: "docker" "start" "-a" "274327a993291c05d46e110de46acd7c6e42bf23fb603ee90aee7ed2482a743b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "274327a993291c05d46e110de46acd7c6e42bf23fb603ee90aee7ed2482a743b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "274327a993291c05d46e110de46acd7c6e42bf23fb603ee90aee7ed2482a743b", kill_on_drop: false }` [INFO] [stdout] 274327a993291c05d46e110de46acd7c6e42bf23fb603ee90aee7ed2482a743b [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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d6195cc8e0c7a0e6ea8473e04e3d88d68592df1ba40829c2306388e09fae5b4 [INFO] running `Command { std: "docker" "start" "-a" "2d6195cc8e0c7a0e6ea8473e04e3d88d68592df1ba40829c2306388e09fae5b4", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling regex v1.1.9 [INFO] [stderr] Compiling lazy_static v1.3.0 [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 libc v0.2.59 [INFO] [stderr] Compiling cc v1.0.37 [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] Checking typed-arena v1.4.1 [INFO] [stderr] Checking argparse v0.2.2 [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: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: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: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: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: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 2.97s [INFO] running `Command { std: "docker" "inspect" "2d6195cc8e0c7a0e6ea8473e04e3d88d68592df1ba40829c2306388e09fae5b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d6195cc8e0c7a0e6ea8473e04e3d88d68592df1ba40829c2306388e09fae5b4", kill_on_drop: false }` [INFO] [stdout] 2d6195cc8e0c7a0e6ea8473e04e3d88d68592df1ba40829c2306388e09fae5b4