[INFO] cloning repository https://github.com/wasabi315/stg-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wasabi315/stg-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwasabi315%2Fstg-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwasabi315%2Fstg-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 47fd726b1390953680a4f385a5bc4097177350c3 [INFO] testing wasabi315/stg-rs 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%2Fwasabi315%2Fstg-rs" "/workspace/builds/worker-25/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-25/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wasabi315/stg-rs 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/wasabi315/stg-rs [INFO] finished tweaking git repo https://github.com/wasabi315/stg-rs [INFO] tweaked toml for git repo https://github.com/wasabi315/stg-rs written to /workspace/builds/worker-25/source/Cargo.toml [INFO] crate git repo https://github.com/wasabi315/stg-rs 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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] f4fbf5d9d0480e095f49e42f207a08638cf0518a1c98a96448a11b3b533ce3d3 [INFO] running `Command { std: "docker" "start" "-a" "f4fbf5d9d0480e095f49e42f207a08638cf0518a1c98a96448a11b3b533ce3d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f4fbf5d9d0480e095f49e42f207a08638cf0518a1c98a96448a11b3b533ce3d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4fbf5d9d0480e095f49e42f207a08638cf0518a1c98a96448a11b3b533ce3d3", kill_on_drop: false }` [INFO] [stdout] f4fbf5d9d0480e095f49e42f207a08638cf0518a1c98a96448a11b3b533ce3d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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] acb99632334423929efbda5b5c017d696079bf8b63eb5b8a7a3d8bbff92ab6f1 [INFO] running `Command { std: "docker" "start" "-a" "acb99632334423929efbda5b5c017d696079bf8b63eb5b8a7a3d8bbff92ab6f1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling stg-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | / stg! { [INFO] [stdout] 5 | | and = {} n {x,y} -> { [INFO] [stdout] 6 | | case { x {} } of [INFO] [stdout] 7 | | True {} -> { y {} } [INFO] [stdout] 8 | | False {} -> { False {} } [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / stg! { [INFO] [stdout] 15 | | or = {} n {x,y} -> { [INFO] [stdout] 16 | | case { x {} } of [INFO] [stdout] 17 | | False {} -> { y {} } [INFO] [stdout] 18 | | True {} -> { True {} } [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / stg! { [INFO] [stdout] 25 | | not = {} n {x} -> { [INFO] [stdout] 26 | | case { x {} } of [INFO] [stdout] 27 | | True {} -> { False {} } [INFO] [stdout] 28 | | False {} -> { True {} } [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / stg! { [INFO] [stdout] 35 | | fix = {} n {f} -> { [INFO] [stdout] 36 | | let rec { [INFO] [stdout] 37 | | x = {f, x} u {} -> { f {x} } [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] 41 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / stg! { [INFO] [stdout] 35 | | fix = {} n {f} -> { [INFO] [stdout] 36 | | let rec { [INFO] [stdout] 37 | | x = {f, x} u {} -> { f {x} } [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] 41 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / stg! { [INFO] [stdout] 46 | | seq = {} n {x, y} -> { [INFO] [stdout] 47 | | case { x {} } of [INFO] [stdout] 48 | | _ -> { y {} } [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / stg! { [INFO] [stdout] 55 | | id = {} n {x} -> { x {} } [INFO] [stdout] 56 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / stg! { [INFO] [stdout] 61 | | const_ = {} n {x, y} -> { x {} } [INFO] [stdout] 62 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | / stg! { [INFO] [stdout] 67 | | compose = {} n {f, g, x} -> { [INFO] [stdout] 68 | | let { [INFO] [stdout] 69 | | gx = {g, x} u {} -> { g {x} } [INFO] [stdout] ... | [INFO] [stdout] 72 | | } [INFO] [stdout] 73 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | / stg! { [INFO] [stdout] 67 | | compose = {} n {f, g, x} -> { [INFO] [stdout] 68 | | let { [INFO] [stdout] 69 | | gx = {g, x} u {} -> { g {x} } [INFO] [stdout] ... | [INFO] [stdout] 72 | | } [INFO] [stdout] 73 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | / stg! { [INFO] [stdout] 78 | | fst = {} n {x} -> { [INFO] [stdout] 79 | | case { x {} } of [INFO] [stdout] 80 | | Pair {a, b} -> { a {} } [INFO] [stdout] 81 | | } [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / stg! { [INFO] [stdout] 87 | | fst = {} n {x} -> { [INFO] [stdout] 88 | | case { x {} } of [INFO] [stdout] 89 | | Pair {a, b} -> { b {} } [INFO] [stdout] 90 | | _ -> { undefined# {} } [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | / stg! { [INFO] [stdout] 97 | | curry = {} n {f, x, y} -> { [INFO] [stdout] 98 | | let { [INFO] [stdout] 99 | | p = {x, y} u {} -> { Pair {x, y} } [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] 103 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | / stg! { [INFO] [stdout] 97 | | curry = {} n {f, x, y} -> { [INFO] [stdout] 98 | | let { [INFO] [stdout] 99 | | p = {x, y} u {} -> { Pair {x, y} } [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] 103 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | / stg! { [INFO] [stdout] 108 | | uncurry = {} n {f, p} -> { [INFO] [stdout] 109 | | case { p {} } of [INFO] [stdout] 110 | | Pair {x, y} -> { f {x, y} } [INFO] [stdout] 111 | | _ -> { undefined# {} } [INFO] [stdout] 112 | | } [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | / stg! { [INFO] [stdout] 118 | | swap = {} n {p} -> { [INFO] [stdout] 119 | | case { p {} } of [INFO] [stdout] 120 | | Pair {x, y} -> { Pair {y, x} } [INFO] [stdout] 121 | | _ -> { undefined# {} } [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | let program = stg! { [INFO] [stdout] | ___________________- [INFO] [stdout] 13 | | main = {} u {} -> { [INFO] [stdout] 14 | | case { fact { 10 } } of [INFO] [stdout] 15 | | n -> { Int# {n} } [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Let` [INFO] [stdout] --> src/stg/ast.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / Let { [INFO] [stdout] 21 | | rec: bool, [INFO] [stdout] 22 | | binds: Binds, [INFO] [stdout] 23 | | expr: Box, [INFO] [stdout] 24 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/stg/ast.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AlgAlt` [INFO] [stdout] --> src/stg/ast.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / AlgAlt { [INFO] [stdout] 47 | | con: Con, [INFO] [stdout] 48 | | vars: Vec, [INFO] [stdout] 49 | | expr: Expr, [INFO] [stdout] 50 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Alt` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/stg/ast.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `and` [INFO] [stdout] --> src/stg/prelude.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn and() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `or` [INFO] [stdout] --> src/stg/prelude.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn or() -> Program { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `not` [INFO] [stdout] --> src/stg/prelude.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn not() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fix` [INFO] [stdout] --> src/stg/prelude.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn fix() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `seq` [INFO] [stdout] --> src/stg/prelude.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn seq() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `id` [INFO] [stdout] --> src/stg/prelude.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn id() -> Program { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `const_` [INFO] [stdout] --> src/stg/prelude.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn const_() -> Program { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compose` [INFO] [stdout] --> src/stg/prelude.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn compose() -> Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fst` [INFO] [stdout] --> src/stg/prelude.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn fst() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `snd` [INFO] [stdout] --> src/stg/prelude.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn snd() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `curry` [INFO] [stdout] --> src/stg/prelude.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn curry() -> Program { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `uncurry` [INFO] [stdout] --> src/stg/prelude.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn uncurry() -> Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `swap` [INFO] [stdout] --> src/stg/prelude.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn swap() -> Program { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.35s [INFO] running `Command { std: "docker" "inspect" "acb99632334423929efbda5b5c017d696079bf8b63eb5b8a7a3d8bbff92ab6f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acb99632334423929efbda5b5c017d696079bf8b63eb5b8a7a3d8bbff92ab6f1", kill_on_drop: false }` [INFO] [stdout] acb99632334423929efbda5b5c017d696079bf8b63eb5b8a7a3d8bbff92ab6f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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] 6ead09adc58ec4f4f5ca6a0fea378bf72cb05f2ad1e6a1f1d94fc3f5fcdcae7f [INFO] running `Command { std: "docker" "start" "-a" "6ead09adc58ec4f4f5ca6a0fea378bf72cb05f2ad1e6a1f1d94fc3f5fcdcae7f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling stg-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | / stg! { [INFO] [stdout] 5 | | and = {} n {x,y} -> { [INFO] [stdout] 6 | | case { x {} } of [INFO] [stdout] 7 | | True {} -> { y {} } [INFO] [stdout] 8 | | False {} -> { False {} } [INFO] [stdout] 9 | | } [INFO] [stdout] 10 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / stg! { [INFO] [stdout] 15 | | or = {} n {x,y} -> { [INFO] [stdout] 16 | | case { x {} } of [INFO] [stdout] 17 | | False {} -> { y {} } [INFO] [stdout] 18 | | True {} -> { True {} } [INFO] [stdout] 19 | | } [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / stg! { [INFO] [stdout] 25 | | not = {} n {x} -> { [INFO] [stdout] 26 | | case { x {} } of [INFO] [stdout] 27 | | True {} -> { False {} } [INFO] [stdout] 28 | | False {} -> { True {} } [INFO] [stdout] 29 | | } [INFO] [stdout] 30 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / stg! { [INFO] [stdout] 35 | | fix = {} n {f} -> { [INFO] [stdout] 36 | | let rec { [INFO] [stdout] 37 | | x = {f, x} u {} -> { f {x} } [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] 41 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | / stg! { [INFO] [stdout] 35 | | fix = {} n {f} -> { [INFO] [stdout] 36 | | let rec { [INFO] [stdout] 37 | | x = {f, x} u {} -> { f {x} } [INFO] [stdout] ... | [INFO] [stdout] 40 | | } [INFO] [stdout] 41 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | / stg! { [INFO] [stdout] 46 | | seq = {} n {x, y} -> { [INFO] [stdout] 47 | | case { x {} } of [INFO] [stdout] 48 | | _ -> { y {} } [INFO] [stdout] 49 | | } [INFO] [stdout] 50 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | / stg! { [INFO] [stdout] 55 | | id = {} n {x} -> { x {} } [INFO] [stdout] 56 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | / stg! { [INFO] [stdout] 61 | | const_ = {} n {x, y} -> { x {} } [INFO] [stdout] 62 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | / stg! { [INFO] [stdout] 67 | | compose = {} n {f, g, x} -> { [INFO] [stdout] 68 | | let { [INFO] [stdout] 69 | | gx = {g, x} u {} -> { g {x} } [INFO] [stdout] ... | [INFO] [stdout] 72 | | } [INFO] [stdout] 73 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | / stg! { [INFO] [stdout] 67 | | compose = {} n {f, g, x} -> { [INFO] [stdout] 68 | | let { [INFO] [stdout] 69 | | gx = {g, x} u {} -> { g {x} } [INFO] [stdout] ... | [INFO] [stdout] 72 | | } [INFO] [stdout] 73 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | / stg! { [INFO] [stdout] 78 | | fst = {} n {x} -> { [INFO] [stdout] 79 | | case { x {} } of [INFO] [stdout] 80 | | Pair {a, b} -> { a {} } [INFO] [stdout] 81 | | } [INFO] [stdout] 82 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | / stg! { [INFO] [stdout] 87 | | fst = {} n {x} -> { [INFO] [stdout] 88 | | case { x {} } of [INFO] [stdout] 89 | | Pair {a, b} -> { b {} } [INFO] [stdout] 90 | | _ -> { undefined# {} } [INFO] [stdout] 91 | | } [INFO] [stdout] 92 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | / stg! { [INFO] [stdout] 97 | | curry = {} n {f, x, y} -> { [INFO] [stdout] 98 | | let { [INFO] [stdout] 99 | | p = {x, y} u {} -> { Pair {x, y} } [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] 103 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | / stg! { [INFO] [stdout] 97 | | curry = {} n {f, x, y} -> { [INFO] [stdout] 98 | | let { [INFO] [stdout] 99 | | p = {x, y} u {} -> { Pair {x, y} } [INFO] [stdout] ... | [INFO] [stdout] 102 | | } [INFO] [stdout] 103 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | / stg! { [INFO] [stdout] 108 | | uncurry = {} n {f, p} -> { [INFO] [stdout] 109 | | case { p {} } of [INFO] [stdout] 110 | | Pair {x, y} -> { f {x, y} } [INFO] [stdout] 111 | | _ -> { undefined# {} } [INFO] [stdout] 112 | | } [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/stg/prelude.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | / stg! { [INFO] [stdout] 118 | | swap = {} n {p} -> { [INFO] [stdout] 119 | | case { p {} } of [INFO] [stdout] 120 | | Pair {x, y} -> { Pair {y, x} } [INFO] [stdout] 121 | | _ -> { undefined# {} } [INFO] [stdout] 122 | | } [INFO] [stdout] 123 | | } [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/stg/ast/dsl.rs:10:31 [INFO] [stdout] | [INFO] [stdout] 10 | std::array::IntoIter::new([ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | let program = stg! { [INFO] [stdout] | ___________________- [INFO] [stdout] 13 | | main = {} u {} -> { [INFO] [stdout] 14 | | case { fact { 10 } } of [INFO] [stdout] 15 | | n -> { Int# {n} } [INFO] [stdout] ... | [INFO] [stdout] 31 | | } [INFO] [stdout] 32 | | }; [INFO] [stdout] | |_____- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Let` [INFO] [stdout] --> src/stg/ast.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | / Let { [INFO] [stdout] 21 | | rec: bool, [INFO] [stdout] 22 | | binds: Binds, [INFO] [stdout] 23 | | expr: Box, [INFO] [stdout] 24 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/stg/ast.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `AlgAlt` [INFO] [stdout] --> src/stg/ast.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / AlgAlt { [INFO] [stdout] 47 | | con: Con, [INFO] [stdout] 48 | | vars: Vec, [INFO] [stdout] 49 | | expr: Expr, [INFO] [stdout] 50 | | }, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] note: `Alt` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/stg/ast.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `and` [INFO] [stdout] --> src/stg/prelude.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn and() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `or` [INFO] [stdout] --> src/stg/prelude.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn or() -> Program { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `not` [INFO] [stdout] --> src/stg/prelude.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn not() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fix` [INFO] [stdout] --> src/stg/prelude.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn fix() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `seq` [INFO] [stdout] --> src/stg/prelude.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn seq() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `id` [INFO] [stdout] --> src/stg/prelude.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn id() -> Program { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `const_` [INFO] [stdout] --> src/stg/prelude.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn const_() -> Program { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compose` [INFO] [stdout] --> src/stg/prelude.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn compose() -> Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fst` [INFO] [stdout] --> src/stg/prelude.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn fst() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `snd` [INFO] [stdout] --> src/stg/prelude.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn snd() -> Program { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `curry` [INFO] [stdout] --> src/stg/prelude.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn curry() -> Program { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `uncurry` [INFO] [stdout] --> src/stg/prelude.rs:106:8 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn uncurry() -> Program { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `swap` [INFO] [stdout] --> src/stg/prelude.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn swap() -> Program { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.70s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/stg_rs-c9122f1dd3f4a432) [INFO] running `Command { std: "docker" "inspect" "6ead09adc58ec4f4f5ca6a0fea378bf72cb05f2ad1e6a1f1d94fc3f5fcdcae7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ead09adc58ec4f4f5ca6a0fea378bf72cb05f2ad1e6a1f1d94fc3f5fcdcae7f", kill_on_drop: false }` [INFO] [stdout] 6ead09adc58ec4f4f5ca6a0fea378bf72cb05f2ad1e6a1f1d94fc3f5fcdcae7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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] d204d0520a79c82af572bc77d092a5f9ce195cf065fba3a8071cb23c743f0e3c [INFO] running `Command { std: "docker" "start" "-a" "d204d0520a79c82af572bc77d092a5f9ce195cf065fba3a8071cb23c743f0e3c", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stderr] --> src/stg/ast/dsl.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | std::array::IntoIter::new([ [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/stg/prelude.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | / stg! { [INFO] [stderr] 5 | | and = {} n {x,y} -> { [INFO] [stderr] 6 | | case { x {} } of [INFO] [stderr] 7 | | True {} -> { y {} } [INFO] [stderr] 8 | | False {} -> { False {} } [INFO] [stderr] 9 | | } [INFO] [stderr] 10 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stderr] --> src/stg/ast/dsl.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | std::array::IntoIter::new([ [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/stg/prelude.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | / stg! { [INFO] [stderr] 15 | | or = {} n {x,y} -> { [INFO] [stderr] 16 | | case { x {} } of [INFO] [stderr] 17 | | False {} -> { y {} } [INFO] [stderr] 18 | | True {} -> { True {} } [INFO] [stderr] 19 | | } [INFO] [stderr] 20 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stderr] --> src/stg/ast/dsl.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | std::array::IntoIter::new([ [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/stg/prelude.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | / stg! { [INFO] [stderr] 25 | | not = {} n {x} -> { [INFO] [stderr] 26 | | case { x {} } of [INFO] [stderr] 27 | | True {} -> { False {} } [INFO] [stderr] 28 | | False {} -> { True {} } [INFO] [stderr] 29 | | } [INFO] [stderr] 30 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stderr] --> src/stg/ast/dsl.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | std::array::IntoIter::new([ [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/stg/prelude.rs:34:5 [INFO] [stderr] | [INFO] [stderr] 34 | / stg! { [INFO] [stderr] 35 | | fix = {} n {f} -> { [INFO] [stderr] 36 | | let rec { [INFO] [stderr] 37 | | x = {f, x} u {} -> { f {x} } [INFO] [stderr] ... | [INFO] [stderr] 40 | | } [INFO] [stderr] 41 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stderr] --> src/stg/ast/dsl.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | std::array::IntoIter::new([ [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/stg/prelude.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | / stg! { [INFO] [stderr] 46 | | seq = {} n {x, y} -> { [INFO] [stderr] 47 | | case { x {} } of [INFO] [stderr] 48 | | _ -> { y {} } [INFO] [stderr] 49 | | } [INFO] [stderr] 50 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stderr] --> src/stg/ast/dsl.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | std::array::IntoIter::new([ [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/stg/prelude.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | / stg! { [INFO] [stderr] 55 | | id = {} n {x} -> { x {} } [INFO] [stderr] 56 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stderr] --> src/stg/ast/dsl.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | std::array::IntoIter::new([ [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/stg/prelude.rs:60:5 [INFO] [stderr] | [INFO] [stderr] 60 | / stg! { [INFO] [stderr] 61 | | const_ = {} n {x, y} -> { x {} } [INFO] [stderr] 62 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/stg/ast/dsl.rs:10:31 [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] 10 | std::array::IntoIter::new([ [INFO] [stdout] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/stg/prelude.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 66 | / stg! { [INFO] [stderr] 67 | | compose = {} n {f, g, x} -> { [INFO] [stderr] 68 | | let { [INFO] [stderr] 69 | | gx = {g, x} u {} -> { g {x} } [INFO] [stderr] ... | [INFO] [stderr] 72 | | } [INFO] [stderr] 73 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stderr] --> src/stg/ast/dsl.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | std::array::IntoIter::new([ [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/stg/prelude.rs:77:5 [INFO] [stderr] | [INFO] [stderr] 77 | / stg! { [INFO] [stderr] 78 | | fst = {} n {x} -> { [INFO] [stderr] 79 | | case { x {} } of [INFO] [stderr] 80 | | Pair {a, b} -> { a {} } [INFO] [stderr] 81 | | } [INFO] [stderr] 82 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stderr] --> src/stg/ast/dsl.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | std::array::IntoIter::new([ [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/stg/prelude.rs:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | / stg! { [INFO] [stderr] 87 | | fst = {} n {x} -> { [INFO] [stderr] 88 | | case { x {} } of [INFO] [stderr] 89 | | Pair {a, b} -> { b {} } [INFO] [stderr] 90 | | _ -> { undefined# {} } [INFO] [stderr] 91 | | } [INFO] [stderr] 92 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stderr] --> src/stg/ast/dsl.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | std::array::IntoIter::new([ [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/stg/prelude.rs:96:5 [INFO] [stderr] | [INFO] [stderr] 96 | / stg! { [INFO] [stderr] 97 | | curry = {} n {f, x, y} -> { [INFO] [stderr] 98 | | let { [INFO] [stderr] 99 | | p = {x, y} u {} -> { Pair {x, y} } [INFO] [stderr] ... | [INFO] [stderr] 102 | | } [INFO] [stderr] 103 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stderr] --> src/stg/ast/dsl.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | std::array::IntoIter::new([ [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/stg/prelude.rs:107:5 [INFO] [stderr] | [INFO] [stderr] 107 | / stg! { [INFO] [stderr] 108 | | uncurry = {} n {f, p} -> { [INFO] [stderr] 109 | | case { p {} } of [INFO] [stderr] 110 | | Pair {x, y} -> { f {x, y} } [INFO] [stderr] 111 | | _ -> { undefined# {} } [INFO] [stderr] 112 | | } [INFO] [stderr] 113 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stderr] --> src/stg/ast/dsl.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | std::array::IntoIter::new([ [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/stg/prelude.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 117 | / stg! { [INFO] [stderr] 118 | | swap = {} n {p} -> { [INFO] [stderr] 119 | | case { p {} } of [INFO] [stderr] 120 | | Pair {x, y} -> { Pair {y, x} } [INFO] [stderr] 121 | | _ -> { undefined# {} } [INFO] [stderr] 122 | | } [INFO] [stderr] 123 | | } [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stderr] --> src/stg/ast/dsl.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | std::array::IntoIter::new([ [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/main.rs:12:19 [INFO] [stderr] | [INFO] [stderr] 12 | let program = stg! { [INFO] [stderr] | ___________________- [INFO] [stderr] 13 | | main = {} u {} -> { [INFO] [stderr] 14 | | case { fact { 10 } } of [INFO] [stderr] 15 | | n -> { Int# {n} } [INFO] [stderr] ... | [INFO] [stderr] 31 | | } [INFO] [stderr] 32 | | }; [INFO] [stderr] | |_____- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `binds` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Let` [INFO] [stderr] --> src/stg/ast.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | / Let { [INFO] [stderr] 21 | | rec: bool, [INFO] [stderr] 22 | | binds: Binds, [INFO] [stderr] 23 | | expr: Box, [INFO] [stderr] 24 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Expr` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/stg/ast.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `AlgAlt` [INFO] [stderr] --> src/stg/ast.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | / AlgAlt { [INFO] [stderr] 47 | | con: Con, [INFO] [stderr] 48 | | vars: Vec, [INFO] [stderr] 49 | | expr: Expr, [INFO] [stderr] 50 | | }, [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] note: `Alt` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/stg/ast.rs:44:10 [INFO] [stderr] | [INFO] [stderr] 44 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: function is never used: `and` [INFO] [stderr] --> src/stg/prelude.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn and() -> Program { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `or` [INFO] [stderr] --> src/stg/prelude.rs:13:8 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn or() -> Program { [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `not` [INFO] [stderr] --> src/stg/prelude.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn not() -> Program { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `fix` [INFO] [stderr] --> src/stg/prelude.rs:33:8 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn fix() -> Program { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `seq` [INFO] [stderr] --> src/stg/prelude.rs:44:8 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn seq() -> Program { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `id` [INFO] [stderr] --> src/stg/prelude.rs:53:8 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn id() -> Program { [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `const_` [INFO] [stderr] --> src/stg/prelude.rs:59:8 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn const_() -> Program { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `compose` [INFO] [stderr] --> src/stg/prelude.rs:65:8 [INFO] [stderr] | [INFO] [stderr] 65 | pub fn compose() -> Program { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `fst` [INFO] [stderr] --> src/stg/prelude.rs:76:8 [INFO] [stderr] | [INFO] [stderr] 76 | pub fn fst() -> Program { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `snd` [INFO] [stderr] --> src/stg/prelude.rs:85:8 [INFO] [stderr] | [INFO] [stderr] 85 | pub fn snd() -> Program { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `curry` [INFO] [stderr] --> src/stg/prelude.rs:95:8 [INFO] [stderr] | [INFO] [stderr] 95 | pub fn curry() -> Program { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `uncurry` [INFO] [stderr] --> src/stg/prelude.rs:106:8 [INFO] [stderr] | [INFO] [stderr] 106 | pub fn uncurry() -> Program { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `swap` [INFO] [stderr] --> src/stg/prelude.rs:116:8 [INFO] [stderr] | [INFO] [stderr] 116 | pub fn swap() -> Program { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `stg-rs` (bin "stg-rs" test) generated 32 warnings (3 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/stg_rs-c9122f1dd3f4a432) [INFO] running `Command { std: "docker" "inspect" "d204d0520a79c82af572bc77d092a5f9ce195cf065fba3a8071cb23c743f0e3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d204d0520a79c82af572bc77d092a5f9ce195cf065fba3a8071cb23c743f0e3c", kill_on_drop: false }` [INFO] [stdout] d204d0520a79c82af572bc77d092a5f9ce195cf065fba3a8071cb23c743f0e3c