[INFO] cloning repository https://github.com/sunfishcode/codeexpr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sunfishcode/codeexpr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunfishcode%2Fcodeexpr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunfishcode%2Fcodeexpr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c569cd95ed0c00abb2e28d0985e464ba52a1e3b0 [INFO] testing sunfishcode/codeexpr against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsunfishcode%2Fcodeexpr" "/workspace/builds/worker-117/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-117/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sunfishcode/codeexpr on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sunfishcode/codeexpr [INFO] finished tweaking git repo https://github.com/sunfishcode/codeexpr [INFO] tweaked toml for git repo https://github.com/sunfishcode/codeexpr written to /workspace/builds/worker-117/source/Cargo.toml [INFO] crate git repo https://github.com/sunfishcode/codeexpr already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5fcb586230d5ea5adb73216bc846a49b04b0612483c1adb72b59cc04881798a [INFO] running `Command { std: "docker" "start" "-a" "b5fcb586230d5ea5adb73216bc846a49b04b0612483c1adb72b59cc04881798a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5fcb586230d5ea5adb73216bc846a49b04b0612483c1adb72b59cc04881798a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5fcb586230d5ea5adb73216bc846a49b04b0612483c1adb72b59cc04881798a", kill_on_drop: false }` [INFO] [stdout] b5fcb586230d5ea5adb73216bc846a49b04b0612483c1adb72b59cc04881798a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd4746943a785336ae44cc73fdb9e83b85cd4f7de45edefee5b1e6b6ed3f5b21 [INFO] running `Command { std: "docker" "start" "-a" "cd4746943a785336ae44cc73fdb9e83b85cd4f7de45edefee5b1e6b6ed3f5b21", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling codeexpr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `I64` [INFO] [stdout] --> src/codeexpr.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | I64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Type` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/codeexpr.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone, Debug, Hash, Eq, PartialEq, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IAddImm` [INFO] [stdout] --> src/codeexpr.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / IAddImm { [INFO] [stdout] 59 | | /// The base value. [INFO] [stdout] 60 | | base: Rc, [INFO] [stdout] 61 | | [INFO] [stdout] ... | [INFO] [stdout] 66 | | result_type: Type, [INFO] [stdout] 67 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `CodeExpr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/codeexpr.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Clone, Debug, Hash, Eq, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Call` [INFO] [stdout] --> src/codeexpr.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | / Call { [INFO] [stdout] 91 | | /// The expression to call. May be a `Symbol` for a direct call, or [INFO] [stdout] 92 | | /// other kinds of expression for indirect calls. [INFO] [stdout] 93 | | callee: Rc, [INFO] [stdout] ... | [INFO] [stdout] 99 | | result_type: Type, [INFO] [stdout] 100 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `CodeExpr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/codeexpr.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Clone, Debug, Hash, Eq, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `symbol_name` [INFO] [stdout] --> src/codeexpr.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn symbol_name(&self) -> &ExternalName { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `result_type` [INFO] [stdout] --> src/codeexpr.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn result_type(&self, isa: &dyn TargetIsa) -> 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 23.47s [INFO] running `Command { std: "docker" "inspect" "cd4746943a785336ae44cc73fdb9e83b85cd4f7de45edefee5b1e6b6ed3f5b21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd4746943a785336ae44cc73fdb9e83b85cd4f7de45edefee5b1e6b6ed3f5b21", kill_on_drop: false }` [INFO] [stdout] cd4746943a785336ae44cc73fdb9e83b85cd4f7de45edefee5b1e6b6ed3f5b21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d136611196261572b6b0d121fa321d500dcf6837980c9709975b691cf117b1c [INFO] running `Command { std: "docker" "start" "-a" "2d136611196261572b6b0d121fa321d500dcf6837980c9709975b691cf117b1c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling codeexpr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `I64` [INFO] [stdout] --> src/codeexpr.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | I64, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Type` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/codeexpr.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone, Debug, Hash, Eq, PartialEq, Copy)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IAddImm` [INFO] [stdout] --> src/codeexpr.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | / IAddImm { [INFO] [stdout] 59 | | /// The base value. [INFO] [stdout] 60 | | base: Rc, [INFO] [stdout] 61 | | [INFO] [stdout] ... | [INFO] [stdout] 66 | | result_type: Type, [INFO] [stdout] 67 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `CodeExpr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/codeexpr.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Clone, Debug, Hash, Eq, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Call` [INFO] [stdout] --> src/codeexpr.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | / Call { [INFO] [stdout] 91 | | /// The expression to call. May be a `Symbol` for a direct call, or [INFO] [stdout] 92 | | /// other kinds of expression for indirect calls. [INFO] [stdout] 93 | | callee: Rc, [INFO] [stdout] ... | [INFO] [stdout] 99 | | result_type: Type, [INFO] [stdout] 100 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `CodeExpr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/codeexpr.rs:32:10 [INFO] [stdout] | [INFO] [stdout] 32 | #[derive(Clone, Debug, Hash, Eq, PartialEq)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `symbol_name` [INFO] [stdout] --> src/codeexpr.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn symbol_name(&self) -> &ExternalName { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `result_type` [INFO] [stdout] --> src/codeexpr.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn result_type(&self, isa: &dyn TargetIsa) -> Type { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.41s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/codeexpr-21c92ac4ca5ddcc6) [INFO] running `Command { std: "docker" "inspect" "2d136611196261572b6b0d121fa321d500dcf6837980c9709975b691cf117b1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d136611196261572b6b0d121fa321d500dcf6837980c9709975b691cf117b1c", kill_on_drop: false }` [INFO] [stdout] 2d136611196261572b6b0d121fa321d500dcf6837980c9709975b691cf117b1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 173a8848c7c24935fd0538a7280ec665bf5d07e3a7f9d58aeb53635dc2957166 [INFO] running `Command { std: "docker" "start" "-a" "173a8848c7c24935fd0538a7280ec665bf5d07e3a7f9d58aeb53635dc2957166", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: variant is never constructed: `I64` [INFO] [stderr] --> src/codeexpr.rs:13:5 [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 13 | I64, [INFO] [stdout] running 0 tests [INFO] [stderr] | ^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stderr] note: `Type` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/codeexpr.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Clone, Debug, Hash, Eq, PartialEq, Copy)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `IAddImm` [INFO] [stderr] --> src/codeexpr.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | / IAddImm { [INFO] [stderr] 59 | | /// The base value. [INFO] [stderr] 60 | | base: Rc, [INFO] [stderr] 61 | | [INFO] [stderr] ... | [INFO] [stderr] 66 | | result_type: Type, [INFO] [stderr] 67 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `CodeExpr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/codeexpr.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | #[derive(Clone, Debug, Hash, Eq, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Call` [INFO] [stderr] --> src/codeexpr.rs:90:5 [INFO] [stderr] | [INFO] [stderr] 90 | / Call { [INFO] [stderr] 91 | | /// The expression to call. May be a `Symbol` for a direct call, or [INFO] [stderr] 92 | | /// other kinds of expression for indirect calls. [INFO] [stderr] 93 | | callee: Rc, [INFO] [stderr] ... | [INFO] [stderr] 99 | | result_type: Type, [INFO] [stderr] 100 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `CodeExpr` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/codeexpr.rs:32:10 [INFO] [stderr] | [INFO] [stderr] 32 | #[derive(Clone, Debug, Hash, Eq, PartialEq)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `symbol_name` [INFO] [stderr] --> src/codeexpr.rs:115:12 [INFO] [stderr] | [INFO] [stderr] 115 | pub fn symbol_name(&self) -> &ExternalName { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `result_type` [INFO] [stderr] --> src/codeexpr.rs:123:12 [INFO] [stderr] | [INFO] [stderr] 123 | pub fn result_type(&self, isa: &dyn TargetIsa) -> Type { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `codeexpr` (bin "codeexpr" test) generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.59s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/codeexpr-21c92ac4ca5ddcc6) [INFO] running `Command { std: "docker" "inspect" "173a8848c7c24935fd0538a7280ec665bf5d07e3a7f9d58aeb53635dc2957166", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "173a8848c7c24935fd0538a7280ec665bf5d07e3a7f9d58aeb53635dc2957166", kill_on_drop: false }` [INFO] [stdout] 173a8848c7c24935fd0538a7280ec665bf5d07e3a7f9d58aeb53635dc2957166