[INFO] cloning repository https://github.com/SSheldon/rust-test-ios [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SSheldon/rust-test-ios" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSSheldon%2Frust-test-ios", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSSheldon%2Frust-test-ios'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 83d491437b1c125c817b6bbe24aa5826060dd311 [INFO] checking SSheldon/rust-test-ios against try#1f308f12738d8cc40bb23bf0c8114b37c164bb49 for pr-137268 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSSheldon%2Frust-test-ios" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SSheldon/rust-test-ios on toolchain 1f308f12738d8cc40bb23bf0c8114b37c164bb49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SSheldon/rust-test-ios [INFO] finished tweaking git repo https://github.com/SSheldon/rust-test-ios [INFO] tweaked toml for git repo https://github.com/SSheldon/rust-test-ios written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/SSheldon/rust-test-ios 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" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded walkdir v0.1.5 [INFO] [stderr] Downloaded thread_local v0.2.5 [INFO] [stderr] Downloaded libc v0.2.10 [INFO] [stderr] Downloaded regex v0.1.69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a40a0599e6a87bdf07a048479f7ace255ceae5bc07a61d89500bf75dbbcd3c23 [INFO] running `Command { std: "docker" "start" "-a" "a40a0599e6a87bdf07a048479f7ace255ceae5bc07a61d89500bf75dbbcd3c23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a40a0599e6a87bdf07a048479f7ace255ceae5bc07a61d89500bf75dbbcd3c23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a40a0599e6a87bdf07a048479f7ace255ceae5bc07a61d89500bf75dbbcd3c23", kill_on_drop: false }` [INFO] [stdout] a40a0599e6a87bdf07a048479f7ace255ceae5bc07a61d89500bf75dbbcd3c23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e043257666531ed7c71693c475a3352e2644012c9a05aa488f63d5a86cda1d8a [INFO] running `Command { std: "docker" "start" "-a" "e043257666531ed7c71693c475a3352e2644012c9a05aa488f63d5a86cda1d8a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.6 [INFO] [stderr] Checking libc v0.2.10 [INFO] [stderr] Checking num-traits v0.1.32 [INFO] [stderr] Checking serde v0.7.0 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking regex-syntax v0.3.1 [INFO] [stderr] Checking lazy_static v0.2.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking num-integer v0.1.32 [INFO] [stderr] Checking aho-corasick v0.5.1 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking walkdir v0.1.5 [INFO] [stderr] Checking thread_local v0.2.5 [INFO] [stderr] Checking num-iter v0.1.32 [INFO] [stderr] Checking num v0.1.32 [INFO] [stderr] Checking regex v0.1.69 [INFO] [stderr] Checking serde_json v0.7.0 [INFO] [stderr] Checking toml v0.1.28 [INFO] [stderr] Checking rust-test-ios v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cargo.rs:150:18 [INFO] [stdout] | [INFO] [stdout] 150 | let source = try!(DependencySource::from_metadata(package)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cargo.rs:169:15 [INFO] [stdout] | [INFO] [stdout] 169 | let out = try!(out); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cargo.rs:174:24 [INFO] [stdout] | [INFO] [stdout] 174 | let value: Value = try!(serde_json::from_slice(&out.stdout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cargo.rs:212:15 [INFO] [stdout] | [INFO] [stdout] 212 | let out = try!(out); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cargo.rs:217:24 [INFO] [stdout] | [INFO] [stdout] 217 | let value: Value = try!(serde_json::from_slice(&out.stdout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cargo.rs:236:28 [INFO] [stdout] | [INFO] [stdout] 236 | let dev_deps: Vec<_> = try!(deps.into_iter() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cargo.rs:239:20 [INFO] [stdout] | [INFO] [stdout] 239 | let dev_deps = try!(read_deps_metadata(crate_dir, dev_deps)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cargo.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | try!(config_file.write(config.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cargo.rs:245:18 [INFO] [stdout] | [INFO] [stdout] 245 | let config = try!(read_config(crate_dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cargo.rs:247:27 [INFO] [stdout] | [INFO] [stdout] 247 | let mut config_file = try!(File::create(dir.join("Cargo.toml"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cargo.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | if !try!(result).success() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tests.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | let metas: Vec<_> = try!(src_files.iter().map(|e| e.metadata()).collect()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tests.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | try!(f.read_to_string(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tests.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | try!(output_file.write(output.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tests.rs:91:33 [INFO] [stdout] | [INFO] [stdout] 91 | let mut src_files: Vec<_> = try!(WalkDir::new(src_dir).into_iter().collect()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tests.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | if !try!(should_build(&output_path, &src_files)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tests.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | let tests_prelude = try!(read_file(&dir.join("prelude.rs"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tests.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | let contents = try!(read_file(entry.path())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tests.rs:106:27 [INFO] [stdout] | [INFO] [stdout] 106 | let mut output_file = try!(File::create(output_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xcode.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | try!(fs::create_dir_all(&proj_dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xcode.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | try!(proj_file.write(PROJECT.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xcode.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | try!(fs::create_dir_all(&workspace_dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xcode.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | try!(workspace_file.write(PROJECT_WORKSPACE.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xcode.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | try!(fs::create_dir_all(&scheme_dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xcode.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | try!(scheme_file.write(PROJECT_SCHEME.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xcode.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | try!(test_file.write(TEST_CASE.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xcode.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | let mut proj_file = try!(File::create(proj_dir.join("project.pbxproj"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xcode.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | let mut workspace_file = try!(File::create(workspace_dir.join("contents.xcworkspacedata"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xcode.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | let mut scheme_file = try!(File::create(scheme_dir.join("RustTests.xcscheme"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xcode.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | let mut test_file = try!(File::create(dir.join("RustTests.m"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/cargo.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / lazy_static! { [INFO] [stdout] 37 | | static ref LOCAL_ID_REGEX: Regex = [INFO] [stdout] 38 | | Regex::new("\\(path\\+file://(.*)\\)$").unwrap(); [INFO] [stdout] 39 | | static ref REMOTE_ID_REGEX: Regex = [INFO] [stdout] 40 | | Regex::new("\\(registry\\+https://github.com/rust-lang/crates.io-index\\)$").unwrap(); [INFO] [stdout] 41 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/cargo.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / lazy_static! { [INFO] [stdout] 37 | | static ref LOCAL_ID_REGEX: Regex = [INFO] [stdout] 38 | | Regex::new("\\(path\\+file://(.*)\\)$").unwrap(); [INFO] [stdout] 39 | | static ref REMOTE_ID_REGEX: Regex = [INFO] [stdout] 40 | | Regex::new("\\(registry\\+https://github.com/rust-lang/crates.io-index\\)$").unwrap(); [INFO] [stdout] 41 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/cargo.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / lazy_static! { [INFO] [stdout] 37 | | static ref LOCAL_ID_REGEX: Regex = [INFO] [stdout] 38 | | Regex::new("\\(path\\+file://(.*)\\)$").unwrap(); [INFO] [stdout] 39 | | static ref REMOTE_ID_REGEX: Regex = [INFO] [stdout] 40 | | Regex::new("\\(registry\\+https://github.com/rust-lang/crates.io-index\\)$").unwrap(); [INFO] [stdout] 41 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/cargo.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / lazy_static! { [INFO] [stdout] 37 | | static ref LOCAL_ID_REGEX: Regex = [INFO] [stdout] 38 | | Regex::new("\\(path\\+file://(.*)\\)$").unwrap(); [INFO] [stdout] 39 | | static ref REMOTE_ID_REGEX: Regex = [INFO] [stdout] 40 | | Regex::new("\\(registry\\+https://github.com/rust-lang/crates.io-index\\)$").unwrap(); [INFO] [stdout] 41 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 22 | pub type BuildResult = Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | pub type BuildResult = Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cargo.rs:150:18 [INFO] [stdout] | [INFO] [stdout] 150 | let source = try!(DependencySource::from_metadata(package)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cargo.rs:169:15 [INFO] [stdout] | [INFO] [stdout] 169 | let out = try!(out); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cargo.rs:174:24 [INFO] [stdout] | [INFO] [stdout] 174 | let value: Value = try!(serde_json::from_slice(&out.stdout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cargo.rs:212:15 [INFO] [stdout] | [INFO] [stdout] 212 | let out = try!(out); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cargo.rs:217:24 [INFO] [stdout] | [INFO] [stdout] 217 | let value: Value = try!(serde_json::from_slice(&out.stdout)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cargo.rs:236:28 [INFO] [stdout] | [INFO] [stdout] 236 | let dev_deps: Vec<_> = try!(deps.into_iter() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cargo.rs:239:20 [INFO] [stdout] | [INFO] [stdout] 239 | let dev_deps = try!(read_deps_metadata(crate_dir, dev_deps)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cargo.rs:248:5 [INFO] [stdout] | [INFO] [stdout] 248 | try!(config_file.write(config.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cargo.rs:245:18 [INFO] [stdout] | [INFO] [stdout] 245 | let config = try!(read_config(crate_dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cargo.rs:247:27 [INFO] [stdout] | [INFO] [stdout] 247 | let mut config_file = try!(File::create(dir.join("Cargo.toml"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cargo.rs:263:13 [INFO] [stdout] | [INFO] [stdout] 263 | if !try!(result).success() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tests.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | let metas: Vec<_> = try!(src_files.iter().map(|e| e.metadata()).collect()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tests.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | try!(f.read_to_string(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tests.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 107 | try!(output_file.write(output.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tests.rs:91:33 [INFO] [stdout] | [INFO] [stdout] 91 | let mut src_files: Vec<_> = try!(WalkDir::new(src_dir).into_iter().collect()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tests.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | if !try!(should_build(&output_path, &src_files)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tests.rs:98:25 [INFO] [stdout] | [INFO] [stdout] 98 | let tests_prelude = try!(read_file(&dir.join("prelude.rs"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tests.rs:101:24 [INFO] [stdout] | [INFO] [stdout] 101 | let contents = try!(read_file(entry.path())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tests.rs:106:27 [INFO] [stdout] | [INFO] [stdout] 106 | let mut output_file = try!(File::create(output_path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xcode.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | try!(fs::create_dir_all(&proj_dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xcode.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | try!(proj_file.write(PROJECT.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xcode.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | try!(fs::create_dir_all(&workspace_dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xcode.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | try!(workspace_file.write(PROJECT_WORKSPACE.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xcode.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | try!(fs::create_dir_all(&scheme_dir)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xcode.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | try!(scheme_file.write(PROJECT_SCHEME.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xcode.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | try!(test_file.write(TEST_CASE.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xcode.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | let mut proj_file = try!(File::create(proj_dir.join("project.pbxproj"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xcode.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | let mut workspace_file = try!(File::create(workspace_dir.join("contents.xcworkspacedata"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xcode.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | let mut scheme_file = try!(File::create(scheme_dir.join("RustTests.xcscheme"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xcode.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | let mut test_file = try!(File::create(dir.join("RustTests.m"))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/cargo.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / lazy_static! { [INFO] [stdout] 37 | | static ref LOCAL_ID_REGEX: Regex = [INFO] [stdout] 38 | | Regex::new("\\(path\\+file://(.*)\\)$").unwrap(); [INFO] [stdout] 39 | | static ref REMOTE_ID_REGEX: Regex = [INFO] [stdout] 40 | | Regex::new("\\(registry\\+https://github.com/rust-lang/crates.io-index\\)$").unwrap(); [INFO] [stdout] 41 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/cargo.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / lazy_static! { [INFO] [stdout] 37 | | static ref LOCAL_ID_REGEX: Regex = [INFO] [stdout] 38 | | Regex::new("\\(path\\+file://(.*)\\)$").unwrap(); [INFO] [stdout] 39 | | static ref REMOTE_ID_REGEX: Regex = [INFO] [stdout] 40 | | Regex::new("\\(registry\\+https://github.com/rust-lang/crates.io-index\\)$").unwrap(); [INFO] [stdout] 41 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/cargo.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / lazy_static! { [INFO] [stdout] 37 | | static ref LOCAL_ID_REGEX: Regex = [INFO] [stdout] 38 | | Regex::new("\\(path\\+file://(.*)\\)$").unwrap(); [INFO] [stdout] 39 | | static ref REMOTE_ID_REGEX: Regex = [INFO] [stdout] 40 | | Regex::new("\\(registry\\+https://github.com/rust-lang/crates.io-index\\)$").unwrap(); [INFO] [stdout] 41 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/cargo.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | / lazy_static! { [INFO] [stdout] 37 | | static ref LOCAL_ID_REGEX: Regex = [INFO] [stdout] 38 | | Regex::new("\\(path\\+file://(.*)\\)$").unwrap(); [INFO] [stdout] 39 | | static ref REMOTE_ID_REGEX: Regex = [INFO] [stdout] 40 | | Regex::new("\\(registry\\+https://github.com/rust-lang/crates.io-index\\)$").unwrap(); [INFO] [stdout] 41 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:22:46 [INFO] [stdout] | [INFO] [stdout] 22 | pub type BuildResult = Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | pub type BuildResult = Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.85s [INFO] running `Command { std: "docker" "inspect" "e043257666531ed7c71693c475a3352e2644012c9a05aa488f63d5a86cda1d8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e043257666531ed7c71693c475a3352e2644012c9a05aa488f63d5a86cda1d8a", kill_on_drop: false }` [INFO] [stdout] e043257666531ed7c71693c475a3352e2644012c9a05aa488f63d5a86cda1d8a