[INFO] cloning repository https://github.com/Dedda/adapt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Dedda/adapt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDedda%2Fadapt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDedda%2Fadapt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 66d61128df5927a9762430703866dde6622ba857 [INFO] testing Dedda/adapt against 1.100.0-beta.1 for beta-1.100-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDedda%2Fadapt" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Dedda/adapt [INFO] finished tweaking git repo https://github.com/Dedda/adapt [INFO] tweaked toml for git repo https://github.com/Dedda/adapt written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Dedda/adapt on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Dedda/adapt 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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] f2ddf00fce9b55327c86b760fb6cfd299057c6820cb536ff74d324a3d28100a7 [INFO] running `Command { std: "docker" "start" "f2ddf00fce9b55327c86b760fb6cfd299057c6820cb536ff74d324a3d28100a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2ddf00fce9b55327c86b760fb6cfd299057c6820cb536ff74d324a3d28100a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f2ddf00fce9b55327c86b760fb6cfd299057c6820cb536ff74d324a3d28100a7" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f2ddf00fce9b55327c86b760fb6cfd299057c6820cb536ff74d324a3d28100a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f2ddf00fce9b55327c86b760fb6cfd299057c6820cb536ff74d324a3d28100a7" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling adapt v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: cannot determine resolution for the import [INFO] [stdout] --> src/code.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | use Code::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `IntData` in this scope [INFO] [stdout] --> src/code.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | IntData(i) => format!("_{}", i), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::code::Code::IntData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `CharData` in this scope [INFO] [stdout] --> src/code.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | CharData(c) => c.to_string(), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::code::Code::CharData; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `FlipType` in this scope [INFO] [stdout] --> src/code.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | FlipType(addr) => format!("flip type {}", addr), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::code::Code::FlipType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Jump` in this scope [INFO] [stdout] --> src/code.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | Jump(addr) => format!("jump {}", addr), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple variants [INFO] [stdout] | [INFO] [stdout] 1 + use crate::code::Actions::Jump; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::code::Code::Jump; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `JumpAddr` in this scope [INFO] [stdout] --> src/code.rs:134:13 [INFO] [stdout] | [INFO] [stdout] 134 | JumpAddr(addr_addr) => format!("jump addr {}", addr_addr), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::code::Code::JumpAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `JumpAddrCmp` in this scope [INFO] [stdout] --> src/code.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 135 | JumpAddrCmp(left, right, lt, eq, gt) => format!("jump addr cmp {} {} {} {} {}", left, right, lt, eq, gt), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::code::Code::JumpAddrCmp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Swap` in this scope [INFO] [stdout] --> src/code.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | Swap(addr_addr_1, addr_addr_2) => format!("swap {} {}", addr_addr_1, addr_addr_2), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::code::Code::Swap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: cannot find tuple struct or tuple variant `Copy` in this scope [INFO] [stdout] --> src/code.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | Copy(addr_addr_1, addr_addr_2) => format!("copy {} {}", addr_addr_1, addr_addr_2), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: a trait named `Copy` exists in another namespace [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::code::Code::Copy; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: cannot find tuple struct or tuple variant `Add` in this scope [INFO] [stdout] --> src/code.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | Add(addr_addr_1, addr_addr_2) => format!("add {} {}", addr_addr_1, addr_addr_2), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: a trait named `Add` exists in another namespace [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::code::Code::Add; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: cannot find tuple struct or tuple variant `Sub` in this scope [INFO] [stdout] --> src/code.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | Sub(addr_addr_1, addr_addr_2) => format!("sub {} {}", addr_addr_1, addr_addr_2), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: a trait named `Sub` exists in another namespace [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::code::Code::Sub; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: cannot find tuple struct or tuple variant `Mul` in this scope [INFO] [stdout] --> src/code.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | Mul(addr_addr_1, addr_addr_2) => format!("mul {} {}", addr_addr_1, addr_addr_2), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: a trait named `Mul` exists in another namespace [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::code::Code::Mul; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0532]: cannot find tuple struct or tuple variant `Div` in this scope [INFO] [stdout] --> src/code.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | Div(addr_addr_1, addr_addr_2) => format!("div {} {}", addr_addr_1, addr_addr_2), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] = note: a trait named `Div` exists in another namespace [INFO] [stdout] help: consider importing this tuple variant instead [INFO] [stdout] | [INFO] [stdout] 1 + use crate::code::Code::Div; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Del` in this scope [INFO] [stdout] --> src/code.rs:142:13 [INFO] [stdout] | [INFO] [stdout] 142 | Del(del_addr_addr) => format!("del {}", del_addr_addr), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::code::Code::Del; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Print` in this scope [INFO] [stdout] --> src/code.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | Print(addr_addr) => format!("print {}", addr_addr), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 1 + use crate::code::Code::Print; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Exit` in this scope [INFO] [stdout] --> src/code.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | Exit(code) => format!("exit {}", code), [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple variants [INFO] [stdout] | [INFO] [stdout] 1 + use crate::code::Actions::Exit; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::code::Code::Exit; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0659]: `Code` is ambiguous [INFO] [stdout] --> src/code.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | use Code::*; [INFO] [stdout] | ^^^^ ambiguous name [INFO] [stdout] | [INFO] [stdout] = note: ambiguous because of a conflict between a macro-expanded name and a less macro-expanded name from outer scope during import or macro resolution [INFO] [stdout] note: `Code` could refer to the enum defined here [INFO] [stdout] --> src/code.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | / pub enum Code { [INFO] [stdout] 13 | | Nop, [INFO] [stdout] 14 | | IntData(usize), [INFO] [stdout] 15 | | CharData(char), [INFO] [stdout] ... | [INFO] [stdout] 28 | | Exit(i32), [INFO] [stdout] 29 | | } [INFO] [stdout] | |_^ [INFO] [stdout] = help: use `self::Code` to refer to this enum unambiguously [INFO] [stdout] note: `Code` could also refer to the foreign type imported here [INFO] [stdout] --> src/code.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = help: use `self::Code` to refer to this foreign type unambiguously [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0531, E0532, E0659. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0531`. [INFO] [stdout] [INFO] [stderr] error: could not compile `adapt` (bin "adapt") due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "f2ddf00fce9b55327c86b760fb6cfd299057c6820cb536ff74d324a3d28100a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f2ddf00fce9b55327c86b760fb6cfd299057c6820cb536ff74d324a3d28100a7", kill_on_drop: false }` [INFO] [stdout] f2ddf00fce9b55327c86b760fb6cfd299057c6820cb536ff74d324a3d28100a7