[INFO] fetching crate polyhorn-cli 0.3.2... [INFO] checking polyhorn-cli-0.3.2 against master#c919f490bbcd2b29b74016101f7ec71aaa24bdbb for pr-79073 [INFO] extracting crate polyhorn-cli 0.3.2 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate polyhorn-cli 0.3.2 on toolchain c919f490bbcd2b29b74016101f7ec71aaa24bdbb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "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-5/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" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 834b1c5a2144641db3bd3b81932615b2b72091624163c470670e69cc5e4cf18e [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" "834b1c5a2144641db3bd3b81932615b2b72091624163c470670e69cc5e4cf18e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "834b1c5a2144641db3bd3b81932615b2b72091624163c470670e69cc5e4cf18e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "834b1c5a2144641db3bd3b81932615b2b72091624163c470670e69cc5e4cf18e", kill_on_drop: false }` [INFO] [stdout] 834b1c5a2144641db3bd3b81932615b2b72091624163c470670e69cc5e4cf18e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e813064139191332c273d297482823e0b9b24c1f28619cc9cb3b1c29161f9556 [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" "e813064139191332c273d297482823e0b9b24c1f28619cc9cb3b1c29161f9556", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling curl v0.4.34 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bytemuck v1.4.1 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking pico-args v0.3.4 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking xmlwriter v0.1.0 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking unicode-script v0.5.2 [INFO] [stderr] Checking bytesize v1.0.1 [INFO] [stderr] Checking rustc-workspace-hack v1.0.0 [INFO] [stderr] Checking opener v0.4.1 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking inflections v1.1.1 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking data-url v0.1.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking kurbo v0.6.3 [INFO] [stderr] Checking rgb v0.8.25 [INFO] [stderr] Checking svgtypes v0.5.0 [INFO] [stderr] Checking path-dedot v3.0.7 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking vte v0.3.3 [INFO] [stderr] Checking yaml-rust v0.4.4 [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 log v0.4.11 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking path-absolutize v3.0.6 [INFO] [stderr] Checking aho-corasick v0.7.14 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking strip-ansi-escapes v0.1.0 [INFO] [stderr] Checking svgfilters v0.2.0 [INFO] [stderr] Checking simplecss v0.2.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Compiling filetime v0.2.12 [INFO] [stderr] Checking regex v1.4.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking terminal_size v0.1.13 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Checking socket2 v0.3.15 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking inotify-sys v0.1.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Compiling syn v1.0.44 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Compiling tar v0.4.30 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking dirs v3.0.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xoshiro v0.4.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v4.0.15 [INFO] [stderr] Checking globset v0.4.5 [INFO] [stderr] Checking console v0.11.3 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking console v0.12.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 ignore v0.4.16 [INFO] [stderr] Checking indicatif v0.15.0 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking fontdb v0.1.0 [INFO] [stderr] Checking dialoguer v0.6.2 [INFO] [stderr] Checking flate2 v1.0.18 [INFO] [stderr] Compiling cargo v0.48.0 [INFO] [stderr] Checking sized-chunks v0.6.2 [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 usvg v0.11.0 [INFO] [stderr] Checking clap v3.0.0-beta.1 [INFO] [stderr] Checking serde v1.0.116 [INFO] [stderr] Checking resvg v0.11.0 [INFO] [stderr] Checking git2 v0.13.12 [INFO] [stderr] Checking semver v0.10.0 [INFO] [stderr] Checking toml v0.5.7 [INFO] [stderr] Checking serde_ignored v0.1.2 [INFO] [stderr] Checking cargo-platform v0.1.1 [INFO] [stderr] Checking plist v1.0.0 [INFO] [stderr] Checking serde_yaml v0.8.13 [INFO] [stderr] Checking git2-curl v0.14.1 [INFO] [stderr] Checking crates-io v0.31.1 [INFO] [stderr] Checking rustfix v0.5.1 [INFO] [stderr] Checking cargo_metadata v0.11.4 [INFO] [stderr] Checking tinytemplate v1.1.0 [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] 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[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: 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: 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] 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" "e813064139191332c273d297482823e0b9b24c1f28619cc9cb3b1c29161f9556", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e813064139191332c273d297482823e0b9b24c1f28619cc9cb3b1c29161f9556", kill_on_drop: false }` [INFO] [stdout] e813064139191332c273d297482823e0b9b24c1f28619cc9cb3b1c29161f9556