[INFO] cloning repository https://github.com/AerialX/rust-emscripten-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AerialX/rust-emscripten-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAerialX%2Frust-emscripten-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAerialX%2Frust-emscripten-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 898749d0da02cd8a829b276feba5bbf667f6c067 [INFO] checking AerialX/rust-emscripten-example/898749d0da02cd8a829b276feba5bbf667f6c067 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAerialX%2Frust-emscripten-example" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AerialX/rust-emscripten-example on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AerialX/rust-emscripten-example [INFO] finished tweaking git repo https://github.com/AerialX/rust-emscripten-example [INFO] tweaked toml for git repo https://github.com/AerialX/rust-emscripten-example written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AerialX/rust-emscripten-example 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-serialize v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 39afdba7f36749328aab864b679816aaca0a4306db89c87135cbf791157f0ad7 [INFO] running `Command { std: "docker" "start" "-a" "39afdba7f36749328aab864b679816aaca0a4306db89c87135cbf791157f0ad7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39afdba7f36749328aab864b679816aaca0a4306db89c87135cbf791157f0ad7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39afdba7f36749328aab864b679816aaca0a4306db89c87135cbf791157f0ad7", kill_on_drop: false }` [INFO] [stdout] 39afdba7f36749328aab864b679816aaca0a4306db89c87135cbf791157f0ad7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ea8649cf58f3eb6edfb0f51e045d63dfc1c61bd1441cafeb682d3ee987f62e0 [INFO] running `Command { std: "docker" "start" "-a" "0ea8649cf58f3eb6edfb0f51e045d63dfc1c61bd1441cafeb682d3ee987f62e0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking rustc-serialize v0.3.1 [INFO] [stdout] error[E0463]: can't find crate for `unicode` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | extern crate unicode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0642]: patterns aren't allowed in functions without bodies [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/serialize.rs:144:45 [INFO] [stdout] | [INFO] [stdout] 144 | ... &f_name: &str, [INFO] [stdout] | ^^^^^^^ pattern not allowed in function without body [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::ffi::AsOsStr` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/serialize.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | use std::ffi::{AsOsStr, OsString}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `AsOsStr` in `ffi` [INFO] [stdout] | help: a similar name exists in the module: `OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::old_path` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/serialize.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | use std::old_path::{PosixPath, WindowsPath}; [INFO] [stdout] | ^^^^^^^^ could not find `old_path` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::os::unix::OsStrExt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/serialize.rs:572:13 [INFO] [stdout] | [INFO] [stdout] 572 | use std::os::unix::OsStrExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `OsStrExt` in `os::unix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait instead [INFO] [stdout] | [INFO] [stdout] 572 | use std::os::unix::prelude::OsStrExt; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::os::unix::OsStringExt` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/serialize.rs:592:13 [INFO] [stdout] | [INFO] [stdout] 592 | use std::os::unix::OsStringExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ no `OsStringExt` in `os::unix` [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait instead [INFO] [stdout] | [INFO] [stdout] 592 | use std::os::unix::prelude::OsStringExt; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::collections::VecMap` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/collection_impls.rs:17:84 [INFO] [stdout] | [INFO] [stdout] 17 | use std::collections::{LinkedList, VecDeque, BTreeMap, BTreeSet, HashMap, HashSet, VecMap}; [INFO] [stdout] | ^^^^^^ no `VecMap` in `collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::collections::hash_state` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/collection_impls.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | use std::collections::hash_state::HashState; [INFO] [stdout] | ^^^^^^^^^^ could not find `hash_state` in `collections` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `std::num::Float`, `std::num::Int` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/json.rs:249:16 [INFO] [stdout] | [INFO] [stdout] 249 | use std::num::{Float, Int}; [INFO] [stdout] | ^^^^^ ^^^ no `Int` in `num` [INFO] [stdout] | | [INFO] [stdout] | no `Float` in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `FromError` in module `std::error` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/json.rs:419:18 [INFO] [stdout] | [INFO] [stdout] 419 | impl std::error::FromError for EncoderError { [INFO] [stdout] | ^^^^^^^^^ not found in `std::error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/json.rs:1095:34 [INFO] [stdout] | [INFO] [stdout] 1095 | Json::U64(n) => num::cast(n), [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/json.rs:1104:34 [INFO] [stdout] | [INFO] [stdout] 1104 | Json::I64(n) => num::cast(n), [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/json.rs:1114:34 [INFO] [stdout] | [INFO] [stdout] 1114 | Json::I64(n) => num::cast(n), [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/json.rs:1115:34 [INFO] [stdout] | [INFO] [stdout] 1115 | Json::U64(n) => num::cast(n), [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/json.rs:2031:44 [INFO] [stdout] | [INFO] [stdout] 2031 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2059 | read_primitive! { read_usize, usize } [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/json.rs:2035:44 [INFO] [stdout] | [INFO] [stdout] 2035 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2059 | read_primitive! { read_usize, usize } [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/json.rs:2031:44 [INFO] [stdout] | [INFO] [stdout] 2031 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2060 | read_primitive! { read_u8, u8 } [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/json.rs:2035:44 [INFO] [stdout] | [INFO] [stdout] 2035 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2060 | read_primitive! { read_u8, u8 } [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/json.rs:2031:44 [INFO] [stdout] | [INFO] [stdout] 2031 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2061 | read_primitive! { read_u16, u16 } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/json.rs:2035:44 [INFO] [stdout] | [INFO] [stdout] 2035 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2061 | read_primitive! { read_u16, u16 } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/json.rs:2031:44 [INFO] [stdout] | [INFO] [stdout] 2031 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2062 | read_primitive! { read_u32, u32 } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/json.rs:2035:44 [INFO] [stdout] | [INFO] [stdout] 2035 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2062 | read_primitive! { read_u32, u32 } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/json.rs:2031:44 [INFO] [stdout] | [INFO] [stdout] 2031 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2063 | read_primitive! { read_u64, u64 } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/json.rs:2035:44 [INFO] [stdout] | [INFO] [stdout] 2035 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2063 | read_primitive! { read_u64, u64 } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/json.rs:2031:44 [INFO] [stdout] | [INFO] [stdout] 2031 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2064 | read_primitive! { read_isize, isize } [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/json.rs:2035:44 [INFO] [stdout] | [INFO] [stdout] 2035 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2064 | read_primitive! { read_isize, isize } [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/json.rs:2031:44 [INFO] [stdout] | [INFO] [stdout] 2031 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2065 | read_primitive! { read_i8, i8 } [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/json.rs:2035:44 [INFO] [stdout] | [INFO] [stdout] 2035 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2065 | read_primitive! { read_i8, i8 } [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/json.rs:2031:44 [INFO] [stdout] | [INFO] [stdout] 2031 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2066 | read_primitive! { read_i16, i16 } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/json.rs:2035:44 [INFO] [stdout] | [INFO] [stdout] 2035 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2066 | read_primitive! { read_i16, i16 } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/json.rs:2031:44 [INFO] [stdout] | [INFO] [stdout] 2031 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2067 | read_primitive! { read_i32, i32 } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/json.rs:2035:44 [INFO] [stdout] | [INFO] [stdout] 2035 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2067 | read_primitive! { read_i32, i32 } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/json.rs:2031:44 [INFO] [stdout] | [INFO] [stdout] 2031 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2068 | read_primitive! { read_i64, i64 } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `cast` in module `num` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/json.rs:2035:44 [INFO] [stdout] | [INFO] [stdout] 2035 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2068 | read_primitive! { read_i64, i64 } [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `read_primitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `path` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/lib.rs:13:64 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(core, collections, unicode, io, std_misc, old_path, path, os)] [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `collections` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/lib.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(core, collections, unicode, io, std_misc, old_path, path, os)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `unicode` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/lib.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(core, collections, unicode, io, std_misc, old_path, path, os)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `io` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/lib.rs:13:40 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(core, collections, unicode, io, std_misc, old_path, path, os)] [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `std_misc` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/lib.rs:13:44 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(core, collections, unicode, io, std_misc, old_path, path, os)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `old_path` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/lib.rs:13:54 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(core, collections, unicode, io, std_misc, old_path, path, os)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CharacterSet: Clone` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/base64.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[derive(Copy)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `CharacterSet` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/marker.rs:415:1 [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `CharacterSet` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 23 + #[derive(Clone)] [INFO] [stdout] 24 | pub enum CharacterSet { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Newline: Clone` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/base64.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Copy)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `Newline` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/marker.rs:415:1 [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `Newline` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 32 + #[derive(Clone)] [INFO] [stdout] 33 | pub enum Newline { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Config: Clone` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/base64.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(Copy)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `Config` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/marker.rs:415:1 [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `FromBase64Error: Clone` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/base64.rs:181:10 [INFO] [stdout] | [INFO] [stdout] 181 | #[derive(Copy)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `FromBase64Error` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/marker.rs:415:1 [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `FromBase64Error` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 182 + #[derive(Clone)] [INFO] [stdout] 183 | pub enum FromBase64Error { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `FromHexError: Clone` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/hex.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Copy)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `FromHexError` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/marker.rs:415:1 [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `FromHexError` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 66 + #[derive(Clone)] [INFO] [stdout] 67 | pub enum FromHexError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `EncoderError: Clone` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/json.rs:323:10 [INFO] [stdout] | [INFO] [stdout] 323 | #[derive(Copy, Debug)] [INFO] [stdout] | ^^^^ the trait `Clone` is not implemented for `EncoderError` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Copy` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/marker.rs:415:1 [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `EncoderError` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 324 + #[derive(Clone)] [INFO] [stdout] 325 | pub enum EncoderError { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `index` has an incompatible type for trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/json.rs:1153:26 [INFO] [stdout] | [INFO] [stdout] 1153 | fn index(&self, idx: & &str) -> &Json { [INFO] [stdout] | ^^^^^^ expected `str`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&Json, &'a _) -> &Json` [INFO] [stdout] found signature `fn(&Json, &&_) -> &Json` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 1153 | fn index(&self, idx: &'a str) -> &Json { [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `index` has an incompatible type for trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.1/src/json.rs:1161:33 [INFO] [stdout] | [INFO] [stdout] 1161 | fn index<'a>(&'a self, idx: &usize) -> &'a Json { [INFO] [stdout] | ^^^^^^ expected `usize`, found `&usize` [INFO] [stdout] | [INFO] [stdout] = note: expected signature `fn(&Json, _) -> &Json` [INFO] [stdout] found signature `fn(&Json, &_) -> &Json` [INFO] [stdout] help: change the parameter type to match the trait [INFO] [stdout] | [INFO] [stdout] 1161 | fn index<'a>(&'a self, idx: usize) -> &'a Json { [INFO] [stdout] | ~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 48 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0277, E0405, E0425, E0432, E0463, E0635, E0642. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 49 previous errors [INFO] running `Command { std: "docker" "inspect" "0ea8649cf58f3eb6edfb0f51e045d63dfc1c61bd1441cafeb682d3ee987f62e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ea8649cf58f3eb6edfb0f51e045d63dfc1c61bd1441cafeb682d3ee987f62e0", kill_on_drop: false }` [INFO] [stdout] 0ea8649cf58f3eb6edfb0f51e045d63dfc1c61bd1441cafeb682d3ee987f62e0