[INFO] cloning repository https://github.com/Metrohan/soroban-time-lock [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Metrohan/soroban-time-lock" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMetrohan%2Fsoroban-time-lock", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMetrohan%2Fsoroban-time-lock'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c66bd3f187adbb11c6510c45c759eb691d137918 [INFO] testing Metrohan/soroban-time-lock against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMetrohan%2Fsoroban-time-lock" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Metrohan/soroban-time-lock [INFO] finished tweaking git repo https://github.com/Metrohan/soroban-time-lock [INFO] tweaked toml for git repo https://github.com/Metrohan/soroban-time-lock written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Metrohan/soroban-time-lock on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Metrohan/soroban-time-lock 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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 301134aeac3e6168a817a8a3812936212ea8c37407ee7405711f217cd62d5704 [INFO] running `Command { std: "docker" "start" "-a" "301134aeac3e6168a817a8a3812936212ea8c37407ee7405711f217cd62d5704", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "301134aeac3e6168a817a8a3812936212ea8c37407ee7405711f217cd62d5704", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "301134aeac3e6168a817a8a3812936212ea8c37407ee7405711f217cd62d5704", kill_on_drop: false }` [INFO] [stdout] 301134aeac3e6168a817a8a3812936212ea8c37407ee7405711f217cd62d5704 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4240c70e7fe96bcdd4495b82eec0c5002f7df91f35c4ac16055c0abb2d34e0a7 [INFO] running `Command { std: "docker" "start" "-a" "4240c70e7fe96bcdd4495b82eec0c5002f7df91f35c4ac16055c0abb2d34e0a7", kill_on_drop: false }` [INFO] [stderr] Compiling time-lock v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `;`, found `#` [INFO] [stdout] --> src/lib.rs:3:82 [INFO] [stdout] | [INFO] [stdout] 3 | use soroban_sdk::{contract, contractimpl, contracttype, Token, Address, Env, Vec} [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 4 | [INFO] [stdout] 5 | #[derive(Clone)] [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing parameters for function definition [INFO] [stdout] --> src/lib.rs:80:17 [INFO] [stdout] | [INFO] [stdout] 80 | } fn deposit [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: add a parameter list [INFO] [stdout] | [INFO] [stdout] 80 | } fn deposit() [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `->`, `<`, `where`, or `{`, found keyword `pub` [INFO] [stdout] --> src/lib.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 48 | impl ClaimableBalanceContract { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] ... [INFO] [stdout] 80 | } fn deposit [INFO] [stdout] | - expected one of `->`, `<`, `where`, or `{` [INFO] [stdout] 81 | [INFO] [stdout] 82 | pub fn claim(env: Env, claimant: Address){ [INFO] [stdout] | ^^^ unexpected token [INFO] [stdout] ... [INFO] [stdout] 104 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `:` [INFO] [stdout] --> src/lib.rs:107:37 [INFO] [stdout] | [INFO] [stdout] 107 | env.storage().instance().has(key: DataKey::Init); [INFO] [stdout] | ^ expected identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `test` [INFO] [stdout] --> src/lib.rs:110:1 [INFO] [stdout] | [INFO] [stdout] 110 | mod test; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `test`, create file "src/test.rs" or "src/test/mod.rs" [INFO] [stdout] = note: if there is a `mod test` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `soroban_sdk` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use soroban_sdk::{contract, contractimpl, contracttype, Token, Address, Env, Vec} [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `soroban_sdk` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `soroban_sdk`, use `cargo add soroban_sdk` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `token` in this scope [INFO] [stdout] --> src/lib.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | token::Client::new(&env, &token).transfer(&from, &env.current_contract_address(), &amount); [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `token` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `token`, use `cargo add token` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `time-lock` (lib) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "4240c70e7fe96bcdd4495b82eec0c5002f7df91f35c4ac16055c0abb2d34e0a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4240c70e7fe96bcdd4495b82eec0c5002f7df91f35c4ac16055c0abb2d34e0a7", kill_on_drop: false }` [INFO] [stdout] 4240c70e7fe96bcdd4495b82eec0c5002f7df91f35c4ac16055c0abb2d34e0a7