[INFO] fetching crate codespawn 0.3.3... [INFO] testing codespawn-0.3.3 against 1.60.0 for beta-1.61-1 [INFO] extracting crate codespawn 0.3.3 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate codespawn 0.3.3 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate codespawn 0.3.3 [INFO] finished tweaking crates.io crate codespawn 0.3.3 [INFO] tweaked toml for crates.io crate codespawn 0.3.3 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded json v0.10.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a42db16861286c0a99a4a6b94e8bd7ec17417b638033327e21d35f8fb5add134 [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" "a42db16861286c0a99a4a6b94e8bd7ec17417b638033327e21d35f8fb5add134", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a42db16861286c0a99a4a6b94e8bd7ec17417b638033327e21d35f8fb5add134", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a42db16861286c0a99a4a6b94e8bd7ec17417b638033327e21d35f8fb5add134", kill_on_drop: false }` [INFO] [stdout] a42db16861286c0a99a4a6b94e8bd7ec17417b638033327e21d35f8fb5add134 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe6e55aeae02898ee2513b8f828f48b014ab82c1ffb1c050eb1130fe18fd68ef [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" "fe6e55aeae02898ee2513b8f828f48b014ab82c1ffb1c050eb1130fe18fd68ef", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling json v0.10.3 [INFO] [stderr] Compiling xml-rs v0.3.6 [INFO] [stderr] Compiling codespawn v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/raw_code.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | let lang_idx = some_get!(self.supported_langs.get(&lang)); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/raw_code.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | _ => { some_get!(raw_code.configs.get_mut(&i.0)).global_cfg.insert(j.0.clone(), j.1.clone()); } [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/raw_code.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | some_get!(raw_code.configs.get_mut(&i.0)).name_dict.insert(n.clone(), v.clone()); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/raw_code.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | some_get!(raw_code.configs.get_mut(&i.0)).type_dict.insert(t.clone(), v.clone()); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raw_code.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | try!(process_kids(parent, i.2, &i.0, &i.1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raw_code.rs:244:32 [INFO] [stdout] | [INFO] [stdout] 244 | if depth > 1 { try!(process_kids(some_get!(item.children.last_mut()), depth-1, name, attribs)); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/raw_code.rs:244:50 [INFO] [stdout] | [INFO] [stdout] 244 | if depth > 1 { try!(process_kids(some_get!(item.children.last_mut()), depth-1, name, attribs)); } [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/raw_code.rs:250:30 [INFO] [stdout] | [INFO] [stdout] 250 | let mut parent = some_get!(raw_code.elements.last_mut()); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fmt_code.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | try!(fmt_code.process_config(&config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fmt_code.rs:67:64 [INFO] [stdout] | [INFO] [stdout] 67 | NUM_TABS => if !v.is_empty() { self.num_tabs = try!(v.parse::()); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/fmt_code.rs:68:64 [INFO] [stdout] | [INFO] [stdout] 68 | TAB_CHAR => if !v.is_empty() { self.tab_char = some!(v.chars().next(), "Invalid iterator"); }, [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fmt_code.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | try!(file.write_all(code.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fmt_code.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | let mut file = try!(File::create(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xml_parser.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | try!(file.read_to_string(&mut xml_data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xml_parser.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | let mut file = try!(File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xml_parser.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | let file =try!(File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | try!(file.read_to_string(&mut json_data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | let mut file = try!(File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | let parsed_json = try!(json::parse(json_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/json_parser.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | let cfg_file = String::from(some_str!(i.1.as_str())); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/json_parser.rs:35:49 [INFO] [stdout] | [INFO] [stdout] 35 | let cfg_file = String::from(some_str!(e.as_str())); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | try!(process(&i, &mut code_data, 0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | try!(file.read_to_string(&mut json_cfg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | let mut file = try!(File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:56:35 [INFO] [stdout] | [INFO] [stdout] 56 | let parsed_json = try!(json::parse(json_cfg.as_str())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | try!(process(&i, &mut config_data, 0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/json_parser.rs:75:63 [INFO] [stdout] | [INFO] [stdout] 75 | attribs.push((String::from(i.0), String::from(some_str!(i.1.as_str())))); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/json_parser.rs:79:64 [INFO] [stdout] | [INFO] [stdout] 79 | attribs.push((String::from(NAME), String::from(some_str!(i.1.as_str())))); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | try!(process(&(&i.0, &j), data, depth+1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | try!(process(&i, data, depth+1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | try!(process(&(&json.0, &j), data, depth)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:53:51 [INFO] [stdout] | [INFO] [stdout] 53 | CodeSpawnError::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:54:51 [INFO] [stdout] | [INFO] [stdout] 54 | CodeSpawnError::Json(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:55:51 [INFO] [stdout] | [INFO] [stdout] 55 | CodeSpawnError::Xml(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | CodeSpawnError::Other(err.description().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/raw_code.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | let mut parent = some_get!(raw_code.elements.last_mut()); [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: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.32s [INFO] running `Command { std: "docker" "inspect" "fe6e55aeae02898ee2513b8f828f48b014ab82c1ffb1c050eb1130fe18fd68ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe6e55aeae02898ee2513b8f828f48b014ab82c1ffb1c050eb1130fe18fd68ef", kill_on_drop: false }` [INFO] [stdout] fe6e55aeae02898ee2513b8f828f48b014ab82c1ffb1c050eb1130fe18fd68ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df52d7030d612d3e048889b07a2fd924d0e94bc7ae998dc1506c86ba36f51401 [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" "df52d7030d612d3e048889b07a2fd924d0e94bc7ae998dc1506c86ba36f51401", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/raw_code.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | let lang_idx = some_get!(self.supported_langs.get(&lang)); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/raw_code.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | _ => { some_get!(raw_code.configs.get_mut(&i.0)).global_cfg.insert(j.0.clone(), j.1.clone()); } [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/raw_code.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | some_get!(raw_code.configs.get_mut(&i.0)).name_dict.insert(n.clone(), v.clone()); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/raw_code.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | some_get!(raw_code.configs.get_mut(&i.0)).type_dict.insert(t.clone(), v.clone()); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raw_code.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | try!(process_kids(parent, i.2, &i.0, &i.1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raw_code.rs:244:32 [INFO] [stdout] | [INFO] [stdout] 244 | if depth > 1 { try!(process_kids(some_get!(item.children.last_mut()), depth-1, name, attribs)); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/raw_code.rs:244:50 [INFO] [stdout] | [INFO] [stdout] 244 | if depth > 1 { try!(process_kids(some_get!(item.children.last_mut()), depth-1, name, attribs)); } [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/raw_code.rs:250:30 [INFO] [stdout] | [INFO] [stdout] 250 | let mut parent = some_get!(raw_code.elements.last_mut()); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fmt_code.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | try!(fmt_code.process_config(&config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fmt_code.rs:67:64 [INFO] [stdout] | [INFO] [stdout] 67 | NUM_TABS => if !v.is_empty() { self.num_tabs = try!(v.parse::()); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/fmt_code.rs:68:64 [INFO] [stdout] | [INFO] [stdout] 68 | TAB_CHAR => if !v.is_empty() { self.tab_char = some!(v.chars().next(), "Invalid iterator"); }, [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fmt_code.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | try!(file.write_all(code.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fmt_code.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | let mut file = try!(File::create(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xml_parser.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | try!(file.read_to_string(&mut xml_data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xml_parser.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | let mut file = try!(File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xml_parser.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | let file =try!(File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | try!(file.read_to_string(&mut json_data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | let mut file = try!(File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | let parsed_json = try!(json::parse(json_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/json_parser.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | let cfg_file = String::from(some_str!(i.1.as_str())); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/json_parser.rs:35:49 [INFO] [stdout] | [INFO] [stdout] 35 | let cfg_file = String::from(some_str!(e.as_str())); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | try!(process(&i, &mut code_data, 0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | try!(file.read_to_string(&mut json_cfg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | let mut file = try!(File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:56:35 [INFO] [stdout] | [INFO] [stdout] 56 | let parsed_json = try!(json::parse(json_cfg.as_str())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | try!(process(&i, &mut config_data, 0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/json_parser.rs:75:63 [INFO] [stdout] | [INFO] [stdout] 75 | attribs.push((String::from(i.0), String::from(some_str!(i.1.as_str())))); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/json_parser.rs:79:64 [INFO] [stdout] | [INFO] [stdout] 79 | attribs.push((String::from(NAME), String::from(some_str!(i.1.as_str())))); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | try!(process(&(&i.0, &j), data, depth+1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | try!(process(&i, data, depth+1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | try!(process(&(&json.0, &j), data, depth)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:53:51 [INFO] [stdout] | [INFO] [stdout] 53 | CodeSpawnError::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:54:51 [INFO] [stdout] | [INFO] [stdout] 54 | CodeSpawnError::Json(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:55:51 [INFO] [stdout] | [INFO] [stdout] 55 | CodeSpawnError::Xml(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | CodeSpawnError::Other(err.description().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/raw_code.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | let mut parent = some_get!(raw_code.elements.last_mut()); [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: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling codespawn v0.3.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/raw_code.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | let lang_idx = some_get!(self.supported_langs.get(&lang)); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/raw_code.rs:224:24 [INFO] [stdout] | [INFO] [stdout] 224 | _ => { some_get!(raw_code.configs.get_mut(&i.0)).global_cfg.insert(j.0.clone(), j.1.clone()); } [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/raw_code.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | some_get!(raw_code.configs.get_mut(&i.0)).name_dict.insert(n.clone(), v.clone()); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/raw_code.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | some_get!(raw_code.configs.get_mut(&i.0)).type_dict.insert(t.clone(), v.clone()); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raw_code.rs:251:13 [INFO] [stdout] | [INFO] [stdout] 251 | try!(process_kids(parent, i.2, &i.0, &i.1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/raw_code.rs:244:32 [INFO] [stdout] | [INFO] [stdout] 244 | if depth > 1 { try!(process_kids(some_get!(item.children.last_mut()), depth-1, name, attribs)); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/raw_code.rs:244:50 [INFO] [stdout] | [INFO] [stdout] 244 | if depth > 1 { try!(process_kids(some_get!(item.children.last_mut()), depth-1, name, attribs)); } [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/raw_code.rs:250:30 [INFO] [stdout] | [INFO] [stdout] 250 | let mut parent = some_get!(raw_code.elements.last_mut()); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fmt_code.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | try!(fmt_code.process_config(&config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fmt_code.rs:67:64 [INFO] [stdout] | [INFO] [stdout] 67 | NUM_TABS => if !v.is_empty() { self.num_tabs = try!(v.parse::()); }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/fmt_code.rs:68:64 [INFO] [stdout] | [INFO] [stdout] 68 | TAB_CHAR => if !v.is_empty() { self.tab_char = some!(v.chars().next(), "Invalid iterator"); }, [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fmt_code.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | try!(file.write_all(code.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fmt_code.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | let mut file = try!(File::create(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xml_parser.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | try!(file.read_to_string(&mut xml_data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xml_parser.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | let mut file = try!(File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/xml_parser.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | let file =try!(File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | try!(file.read_to_string(&mut json_data)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | let mut file = try!(File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | let parsed_json = try!(json::parse(json_str)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/json_parser.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | let cfg_file = String::from(some_str!(i.1.as_str())); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/json_parser.rs:35:49 [INFO] [stdout] | [INFO] [stdout] 35 | let cfg_file = String::from(some_str!(e.as_str())); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | try!(process(&i, &mut code_data, 0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | try!(file.read_to_string(&mut json_cfg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:53:32 [INFO] [stdout] | [INFO] [stdout] 53 | let mut file = try!(File::open(&path)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:56:35 [INFO] [stdout] | [INFO] [stdout] 56 | let parsed_json = try!(json::parse(json_cfg.as_str())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | try!(process(&i, &mut config_data, 0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/json_parser.rs:75:63 [INFO] [stdout] | [INFO] [stdout] 75 | attribs.push((String::from(i.0), String::from(some_str!(i.1.as_str())))); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/error.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/json_parser.rs:79:64 [INFO] [stdout] | [INFO] [stdout] 79 | attribs.push((String::from(NAME), String::from(some_str!(i.1.as_str())))); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | try!(process(&(&i.0, &j), data, depth+1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | try!(process(&i, data, depth+1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/json_parser.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | try!(process(&(&json.0, &j), data, depth)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:53:51 [INFO] [stdout] | [INFO] [stdout] 53 | CodeSpawnError::Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:54:51 [INFO] [stdout] | [INFO] [stdout] 54 | CodeSpawnError::Json(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:55:51 [INFO] [stdout] | [INFO] [stdout] 55 | CodeSpawnError::Xml(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:87:35 [INFO] [stdout] | [INFO] [stdout] 87 | CodeSpawnError::Other(err.description().to_owned()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/raw_code.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | let mut parent = some_get!(raw_code.elements.last_mut()); [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: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.91s [INFO] running `Command { std: "docker" "inspect" "df52d7030d612d3e048889b07a2fd924d0e94bc7ae998dc1506c86ba36f51401", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df52d7030d612d3e048889b07a2fd924d0e94bc7ae998dc1506c86ba36f51401", kill_on_drop: false }` [INFO] [stdout] df52d7030d612d3e048889b07a2fd924d0e94bc7ae998dc1506c86ba36f51401 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 104338a393d7e1808acd5ee7c1e5e4a06b785d902692cb7820758a2af1395475 [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" "104338a393d7e1808acd5ee7c1e5e4a06b785d902692cb7820758a2af1395475", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/error.rs:12:30 [INFO] [stderr] | [INFO] [stderr] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/raw_code.rs:112:24 [INFO] [stderr] | [INFO] [stderr] 112 | let lang_idx = some_get!(self.supported_langs.get(&lang)); [INFO] [stderr] | ------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/error.rs:12:30 [INFO] [stderr] | [INFO] [stderr] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/raw_code.rs:224:24 [INFO] [stderr] | [INFO] [stderr] 224 | _ => { some_get!(raw_code.configs.get_mut(&i.0)).global_cfg.insert(j.0.clone(), j.1.clone()); } [INFO] [stderr] | ----------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/error.rs:12:30 [INFO] [stderr] | [INFO] [stderr] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/raw_code.rs:229:13 [INFO] [stderr] | [INFO] [stderr] 229 | some_get!(raw_code.configs.get_mut(&i.0)).name_dict.insert(n.clone(), v.clone()); [INFO] [stderr] | ----------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/error.rs:12:30 [INFO] [stderr] | [INFO] [stderr] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/raw_code.rs:232:13 [INFO] [stderr] | [INFO] [stderr] 232 | some_get!(raw_code.configs.get_mut(&i.0)).type_dict.insert(t.clone(), v.clone()); [INFO] [stderr] | ----------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/raw_code.rs:251:13 [INFO] [stderr] | [INFO] [stderr] 251 | try!(process_kids(parent, i.2, &i.0, &i.1)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/raw_code.rs:244:32 [INFO] [stderr] | [INFO] [stderr] 244 | if depth > 1 { try!(process_kids(some_get!(item.children.last_mut()), depth-1, name, attribs)); } [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/error.rs:12:30 [INFO] [stderr] | [INFO] [stderr] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/raw_code.rs:244:50 [INFO] [stderr] | [INFO] [stderr] 244 | if depth > 1 { try!(process_kids(some_get!(item.children.last_mut()), depth-1, name, attribs)); } [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/error.rs:12:30 [INFO] [stderr] | [INFO] [stderr] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/raw_code.rs:250:30 [INFO] [stderr] | [INFO] [stderr] 250 | let mut parent = some_get!(raw_code.elements.last_mut()); [INFO] [stderr] | --------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/fmt_code.rs:46:17 [INFO] [stderr] | [INFO] [stderr] 46 | try!(fmt_code.process_config(&config)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/fmt_code.rs:67:64 [INFO] [stderr] | [INFO] [stderr] 67 | NUM_TABS => if !v.is_empty() { self.num_tabs = try!(v.parse::()); }, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/error.rs:12:30 [INFO] [stderr] | [INFO] [stderr] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/fmt_code.rs:68:64 [INFO] [stderr] | [INFO] [stderr] 68 | TAB_CHAR => if !v.is_empty() { self.tab_char = some!(v.chars().next(), "Invalid iterator"); }, [INFO] [stderr] | ------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/fmt_code.rs:104:9 [INFO] [stderr] | [INFO] [stderr] 104 | try!(file.write_all(code.as_bytes())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/fmt_code.rs:103:24 [INFO] [stderr] | [INFO] [stderr] 103 | let mut file = try!(File::create(&path)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/xml_parser.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | try!(file.read_to_string(&mut xml_data)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/xml_parser.rs:16:20 [INFO] [stderr] | [INFO] [stderr] 16 | let mut file = try!(File::open(&path)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/xml_parser.rs:59:27 [INFO] [stderr] | [INFO] [stderr] 59 | let file =try!(File::open(&path)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/json_parser.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | try!(file.read_to_string(&mut json_data)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/json_parser.rs:14:20 [INFO] [stderr] | [INFO] [stderr] 14 | let mut file = try!(File::open(&path)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/json_parser.rs:25:23 [INFO] [stderr] | [INFO] [stderr] 25 | let parsed_json = try!(json::parse(json_str)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/error.rs:12:30 [INFO] [stderr] | [INFO] [stderr] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/json_parser.rs:29:45 [INFO] [stderr] | [INFO] [stderr] 29 | let cfg_file = String::from(some_str!(i.1.as_str())); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/error.rs:12:30 [INFO] [stderr] | [INFO] [stderr] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/json_parser.rs:35:49 [INFO] [stderr] | [INFO] [stderr] 35 | let cfg_file = String::from(some_str!(e.as_str())); [INFO] [stderr] | --------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/json_parser.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 42 | try!(process(&i, &mut code_data, 0)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/json_parser.rs:54:17 [INFO] [stderr] | [INFO] [stderr] 54 | try!(file.read_to_string(&mut json_cfg)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/json_parser.rs:53:32 [INFO] [stderr] | [INFO] [stderr] 53 | let mut file = try!(File::open(&path)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/json_parser.rs:56:35 [INFO] [stderr] | [INFO] [stderr] 56 | let parsed_json = try!(json::parse(json_cfg.as_str())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/json_parser.rs:58:21 [INFO] [stderr] | [INFO] [stderr] 58 | try!(process(&i, &mut config_data, 0)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/error.rs:12:30 [INFO] [stderr] | [INFO] [stderr] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/json_parser.rs:75:63 [INFO] [stderr] | [INFO] [stderr] 75 | attribs.push((String::from(i.0), String::from(some_str!(i.1.as_str())))); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/error.rs:12:30 [INFO] [stderr] | [INFO] [stderr] 12 | ($x:expr, $msg:expr) => (try!($x.ok_or(CodeSpawnError::Other($msg.to_owned())))) [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] ::: src/json_parser.rs:79:64 [INFO] [stderr] | [INFO] [stderr] 79 | attribs.push((String::from(NAME), String::from(some_str!(i.1.as_str())))); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `some` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/json_parser.rs:84:13 [INFO] [stderr] | [INFO] [stderr] 84 | try!(process(&(&i.0, &j), data, depth+1)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/json_parser.rs:87:13 [INFO] [stderr] | [INFO] [stderr] 87 | try!(process(&i, data, depth+1)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/json_parser.rs:92:8 [INFO] [stderr] | [INFO] [stderr] 92 | try!(process(&(&json.0, &j), data, depth)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:53:51 [INFO] [stderr] | [INFO] [stderr] 53 | CodeSpawnError::Io(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:54:51 [INFO] [stderr] | [INFO] [stderr] 54 | CodeSpawnError::Json(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:55:51 [INFO] [stderr] | [INFO] [stderr] 55 | CodeSpawnError::Xml(ref err) => err.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:87:35 [INFO] [stderr] | [INFO] [stderr] 87 | CodeSpawnError::Other(err.description().to_owned()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/raw_code.rs:250:17 [INFO] [stderr] | [INFO] [stderr] 250 | let mut parent = some_get!(raw_code.elements.last_mut()); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `codespawn` (lib) generated 36 warnings [INFO] [stderr] warning: `codespawn` (lib test) generated 36 warnings (36 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/codespawn-8680036dab05e9b8) [INFO] [stdout] [INFO] [stderr] Running tests/lib.rs (/opt/rustwide/target/debug/deps/lib-5a71eeb07fb86bab) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test check_simple_json ... ok [INFO] [stdout] test check_from_json ... ok [INFO] [stdout] test check_from_xml ... ok [INFO] [stdout] test check_from_json_fail - should panic ... ok [INFO] [stdout] test check_from_json_fail_enum - should panic ... ok [INFO] [stdout] test check_from_json_fail_func - should panic ... ok [INFO] [stdout] test check_from_json_fail_malformed - should panic ... ok [INFO] [stdout] test check_from_json_fail_bitflags - should panic ... ok [INFO] [stdout] test check_from_json_fail_cfg - should panic ... ok [INFO] [stdout] test check_from_xml_fail - should panic ... ok [INFO] [stdout] test check_from_xml_fail_enum - should panic ... ok [INFO] [stdout] test check_from_xml_fail_func - should panic ... ok [INFO] [stdout] test check_from_xml_fail_cfg - should panic ... ok [INFO] [stdout] test check_from_xml_fail_malformed - should panic ... ok [INFO] [stdout] test check_from_xml_fail_bitflags - should panic ... ok [INFO] [stdout] test check_from_xml_fail_malformed_cfg - should panic ... ok [INFO] [stdout] test check_write_file - should panic ... ok [INFO] [stderr] Doc-tests codespawn [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test src/lib.rs - from_xml (line 48) ... ok [INFO] [stdout] test src/lib.rs - from_json (line 74) ... ok [INFO] [stdout] test src/raw_code.rs - raw_code::RawCode::to_cpp (line 87) ... ok [INFO] [stdout] test src/lib.rs - (line 13) ... ok [INFO] [stdout] test src/lib.rs - from_json_str (line 87) ... ok [INFO] [stdout] test src/fmt_code.rs - fmt_code::FormattedCode::to_file (line 91) ... ok [INFO] [stdout] test src/lib.rs - from_xml_str (line 61) ... ok [INFO] [stdout] test src/fmt_code.rs - fmt_code::FormattedCode::to_string (line 112) ... ok [INFO] [stdout] test src/raw_code.rs - raw_code::RawCode::to_rust (line 101) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.57s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "104338a393d7e1808acd5ee7c1e5e4a06b785d902692cb7820758a2af1395475", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "104338a393d7e1808acd5ee7c1e5e4a06b785d902692cb7820758a2af1395475", kill_on_drop: false }` [INFO] [stdout] 104338a393d7e1808acd5ee7c1e5e4a06b785d902692cb7820758a2af1395475