[INFO] fetching crate polyhorn-cli 0.3.2... [INFO] checking polyhorn-cli-0.3.2 against beta for pr-78714 [INFO] extracting crate polyhorn-cli 0.3.2 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate polyhorn-cli 0.3.2 on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate polyhorn-cli 0.3.2 [INFO] finished tweaking crates.io crate polyhorn-cli 0.3.2 [INFO] tweaked toml for crates.io crate polyhorn-cli 0.3.2 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate crates.io crate polyhorn-cli 0.3.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1b65bf05ca1207db9b4dfc729def057dff2692ef51517b539b2187952f59e27d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1b65bf05ca1207db9b4dfc729def057dff2692ef51517b539b2187952f59e27d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b65bf05ca1207db9b4dfc729def057dff2692ef51517b539b2187952f59e27d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b65bf05ca1207db9b4dfc729def057dff2692ef51517b539b2187952f59e27d", kill_on_drop: false }` [INFO] [stdout] 1b65bf05ca1207db9b4dfc729def057dff2692ef51517b539b2187952f59e27d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e57e65047b04f70a0d36a3f8a023a7558419b0638a55501b72bda3a6337cdcc0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e57e65047b04f70a0d36a3f8a023a7558419b0638a55501b72bda3a6337cdcc0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Checking regex-syntax v0.6.20 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling curl v0.4.34 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking xmlwriter v0.1.0 [INFO] [stderr] Checking unicode-script v0.5.2 [INFO] [stderr] Checking pico-args v0.3.4 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking os_str_bytes v2.3.2 [INFO] [stderr] Checking rustc-workspace-hack v1.0.0 [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking bytesize v1.0.1 [INFO] [stderr] Checking opener v0.4.1 [INFO] [stderr] Checking inflections v1.1.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling im-rc v15.0.0 [INFO] [stderr] Checking kurbo v0.6.3 [INFO] [stderr] Checking svgtypes v0.5.0 [INFO] [stderr] Checking path-dedot v3.0.7 [INFO] [stderr] Checking vte v0.3.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking svgfilters v0.2.0 [INFO] [stderr] Checking simplecss v0.2.0 [INFO] [stderr] Checking aho-corasick v0.7.14 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking filetime v0.2.12 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking jobserver v0.1.21 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking path-absolutize v3.0.6 [INFO] [stderr] Checking strip-ansi-escapes v0.1.0 [INFO] [stderr] Checking tar v0.4.30 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_xoshiro v0.4.0 [INFO] [stderr] Checking dirs v3.0.1 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking fontdb v0.1.0 [INFO] [stderr] Compiling libz-sys v1.1.2 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling libnghttp2-sys v0.1.4+1.41.0 [INFO] [stderr] Compiling curl-sys v0.4.38+curl-7.73.0 [INFO] [stderr] Compiling libssh2-sys v0.2.19 [INFO] [stderr] Compiling libgit2-sys v0.12.14+1.1.0 [INFO] [stderr] Compiling rustybuzz v0.1.1 [INFO] [stderr] Compiling tiny-skia v0.1.0 [INFO] [stderr] Checking regex v1.4.1 [INFO] [stderr] Compiling flate2 v1.0.18 [INFO] [stderr] Checking sized-chunks v0.6.2 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling cargo v0.48.0 [INFO] [stderr] Checking globset v0.4.5 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking console v0.11.3 [INFO] [stderr] Checking console v0.12.0 [INFO] [stderr] Checking ignore v0.4.16 [INFO] [stderr] Checking dialoguer v0.6.2 [INFO] [stderr] Checking indicatif v0.15.0 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Checking crypto-hash v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.1 [INFO] [stderr] Checking clap v3.0.0-beta.1 [INFO] [stderr] Checking serde v1.0.116 [INFO] [stderr] Checking usvg v0.11.0 [INFO] [stderr] Checking semver v0.10.0 [INFO] [stderr] Checking toml v0.5.7 [INFO] [stderr] Checking cargo-platform v0.1.1 [INFO] [stderr] Checking serde_ignored v0.1.2 [INFO] [stderr] Checking serde_yaml v0.8.13 [INFO] [stderr] Checking plist v1.0.0 [INFO] [stderr] Checking resvg v0.11.0 [INFO] [stderr] Checking git2 v0.13.12 [INFO] [stderr] Checking rustfix v0.5.1 [INFO] [stderr] Checking crates-io v0.31.1 [INFO] [stderr] Checking cargo_metadata v0.11.4 [INFO] [stderr] Checking tinytemplate v1.1.0 [INFO] [stderr] Checking git2-curl v0.14.1 [INFO] [stderr] Checking polyhorn-cli v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/android/tasks/find_android_studio.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/android/tasks/find_android_studio.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/android/tasks/find_android_studio.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | mut context: AndroidContext, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/android/tasks/find_android_studio.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | mut context: AndroidContext, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> src/android/targets.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | &[ [INFO] [stdout] | __________^- [INFO] [stdout] | | _________| [INFO] [stdout] | || [INFO] [stdout] 28 | || Target::armeabi_v7a(), [INFO] [stdout] 29 | || Target::arm64_v8a(), [INFO] [stdout] 30 | || Target::x86(), [INFO] [stdout] 31 | || Target::x86_64(), [INFO] [stdout] 32 | || ] [INFO] [stdout] | || ^ [INFO] [stdout] | ||_________| [INFO] [stdout] | |__________returns a reference to data owned by the current function [INFO] [stdout] | temporary value created here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/android/tasks/find_android_studio.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | mut context: AndroidContext, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `polyhorn-cli` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/android/tasks/find_android_studio.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | mut context: AndroidContext, [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return reference to temporary value [INFO] [stdout] --> src/android/targets.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | &[ [INFO] [stdout] | __________^- [INFO] [stdout] | | _________| [INFO] [stdout] | || [INFO] [stdout] 28 | || Target::armeabi_v7a(), [INFO] [stdout] 29 | || Target::arm64_v8a(), [INFO] [stdout] 30 | || Target::x86(), [INFO] [stdout] 31 | || Target::x86_64(), [INFO] [stdout] 32 | || ] [INFO] [stdout] | || ^ [INFO] [stdout] | ||_________| [INFO] [stdout] | |__________returns a reference to data owned by the current function [INFO] [stdout] | temporary value created here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e57e65047b04f70a0d36a3f8a023a7558419b0638a55501b72bda3a6337cdcc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e57e65047b04f70a0d36a3f8a023a7558419b0638a55501b72bda3a6337cdcc0", kill_on_drop: false }` [INFO] [stdout] e57e65047b04f70a0d36a3f8a023a7558419b0638a55501b72bda3a6337cdcc0