[INFO] cloning repository https://github.com/courajs/urbit-1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/courajs/urbit-1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcourajs%2Furbit-1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcourajs%2Furbit-1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1a2e28c004f7b3d54dbb1d030f01aaa03d13ef02 [INFO] checking courajs/urbit-1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcourajs%2Furbit-1" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/courajs/urbit-1 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/courajs/urbit-1 [INFO] finished tweaking git repo https://github.com/courajs/urbit-1 [INFO] tweaked toml for git repo https://github.com/courajs/urbit-1 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/courajs/urbit-1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c57f31a815ecddf2342ebc1002338f1bf3501ddc81971aad9cb6326828ef65a [INFO] running `Command { std: "docker" "start" "-a" "0c57f31a815ecddf2342ebc1002338f1bf3501ddc81971aad9cb6326828ef65a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c57f31a815ecddf2342ebc1002338f1bf3501ddc81971aad9cb6326828ef65a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c57f31a815ecddf2342ebc1002338f1bf3501ddc81971aad9cb6326828ef65a", kill_on_drop: false }` [INFO] [stdout] 0c57f31a815ecddf2342ebc1002338f1bf3501ddc81971aad9cb6326828ef65a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 693882fce4398abda51ceabbac020c6c00e05e0e18ecc601c65a1ad8d52bf372 [INFO] running `Command { std: "docker" "start" "-a" "693882fce4398abda51ceabbac020c6c00e05e0e18ecc601c65a1ad8d52bf372", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking urbit-1 v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> src/main.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn value(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `open` [INFO] [stdout] --> src/main.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn open(&self) -> Result<(&Rc,&Rc), &'static str> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `left` [INFO] [stdout] --> src/main.rs:51:10 [INFO] [stdout] | [INFO] [stdout] 51 | Cons { left: Box, right: Box }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `right` [INFO] [stdout] --> src/main.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | Cons { left: Box, right: Box }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `op` [INFO] [stdout] --> src/main.rs:66:3 [INFO] [stdout] | [INFO] [stdout] 66 | op: Op, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `reason` [INFO] [stdout] --> src/main.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | reason: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `subject` [INFO] [stdout] --> src/main.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 68 | subject: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `subject` [INFO] [stdout] --> src/main.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | subject: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `formula` [INFO] [stdout] --> src/main.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | formula: Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `output` [INFO] [stdout] --> src/main.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | output: Option, String>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/main.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / macro_rules! noun { [INFO] [stdout] 8 | | () => {}; [INFO] [stdout] 9 | | ($it:literal) => { Rc::new(Noun::Atom($it)) }; [INFO] [stdout] 10 | | ($it:literal $($rest:tt)*) => { Rc::new(Noun::Cell(noun!($it), noun!($($rest)*))) }; [INFO] [stdout] ... | [INFO] [stdout] 18 | | ({$($sub:tt)*} $($rest:tt)*) => { noun!([$($sub)*] $($rest)*) }; [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `urbit_1` [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #![recursion_limit="1024"] [INFO] [stdout] 2 | | // #![feature(trace_macros)] [INFO] [stdout] 3 | | // trace_macros!(true); [INFO] [stdout] 4 | | [INFO] [stdout] ... | [INFO] [stdout] 143 | | } [INFO] [stdout] 144 | | } [INFO] [stdout] | |_^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `urbit-1` due to 2 previous errors; 1 warning emitted [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "693882fce4398abda51ceabbac020c6c00e05e0e18ecc601c65a1ad8d52bf372", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "693882fce4398abda51ceabbac020c6c00e05e0e18ecc601c65a1ad8d52bf372", kill_on_drop: false }` [INFO] [stdout] 693882fce4398abda51ceabbac020c6c00e05e0e18ecc601c65a1ad8d52bf372