[INFO] fetching crate cson 0.1.16... [INFO] testing cson-0.1.16 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate cson 0.1.16 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate cson 0.1.16 [INFO] finished tweaking crates.io crate cson 0.1.16 [INFO] tweaked toml for crates.io crate cson 0.1.16 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cson 0.1.16 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding rustc-serialize v0.2.15 (available: v0.3.25) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustc-serialize v0.2.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dea054656e6dd18b52df8c1f2a95d921df11b05745771d3bbc74988a34386609 [INFO] running `Command { std: "docker" "start" "-a" "dea054656e6dd18b52df8c1f2a95d921df11b05745771d3bbc74988a34386609", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dea054656e6dd18b52df8c1f2a95d921df11b05745771d3bbc74988a34386609", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dea054656e6dd18b52df8c1f2a95d921df11b05745771d3bbc74988a34386609", kill_on_drop: false }` [INFO] [stdout] dea054656e6dd18b52df8c1f2a95d921df11b05745771d3bbc74988a34386609 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7178e406b00802ab6ecf90768ccf5ab97468062ba43c484924bc46b318f693f7 [INFO] running `Command { std: "docker" "start" "-a" "7178e406b00802ab6ecf90768ccf5ab97468062ba43c484924bc46b318f693f7", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rustc-serialize v0.2.15 [INFO] [stdout] error[E0463]: can't find crate for `unicode` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.2.15/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-1949cf8c6b5b557f/rustc-serialize-0.2.15/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-1949cf8c6b5b557f/rustc-serialize-0.2.15/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-1949cf8c6b5b557f/rustc-serialize-0.2.15/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-1949cf8c6b5b557f/rustc-serialize-0.2.15/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-1949cf8c6b5b557f/rustc-serialize-0.2.15/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-1949cf8c6b5b557f/rustc-serialize-0.2.15/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-1949cf8c6b5b557f/rustc-serialize-0.2.15/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-1949cf8c6b5b557f/rustc-serialize-0.2.15/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[E0432]: unresolved import `std::old_io` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/json.rs:253:27 [INFO] [stdout] | [INFO] [stdout] 253 | use std::{char, f64, fmt, old_io, num, str}; [INFO] [stdout] | ^^^^^^ no `old_io` in the root [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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/json.rs:418:18 [INFO] [stdout] | [INFO] [stdout] 418 | 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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/json.rs:1090:34 [INFO] [stdout] | [INFO] [stdout] 1090 | 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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/json.rs:1099:34 [INFO] [stdout] | [INFO] [stdout] 1099 | 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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/json.rs:1109:34 [INFO] [stdout] | [INFO] [stdout] 1109 | 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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/json.rs:1110:34 [INFO] [stdout] | [INFO] [stdout] 1110 | 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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/json.rs:2022:44 [INFO] [stdout] | [INFO] [stdout] 2022 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2050 | 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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/json.rs:2026:44 [INFO] [stdout] | [INFO] [stdout] 2026 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2050 | 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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/json.rs:2022:44 [INFO] [stdout] | [INFO] [stdout] 2022 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2051 | 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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/json.rs:2026:44 [INFO] [stdout] | [INFO] [stdout] 2026 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2051 | 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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/json.rs:2022:44 [INFO] [stdout] | [INFO] [stdout] 2022 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2052 | 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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/json.rs:2026:44 [INFO] [stdout] | [INFO] [stdout] 2026 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2052 | 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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/json.rs:2022:44 [INFO] [stdout] | [INFO] [stdout] 2022 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2053 | 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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/json.rs:2026:44 [INFO] [stdout] | [INFO] [stdout] 2026 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2053 | 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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/json.rs:2022:44 [INFO] [stdout] | [INFO] [stdout] 2022 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2054 | 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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/json.rs:2026:44 [INFO] [stdout] | [INFO] [stdout] 2026 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2054 | 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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/json.rs:2022:44 [INFO] [stdout] | [INFO] [stdout] 2022 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2055 | 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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/json.rs:2026:44 [INFO] [stdout] | [INFO] [stdout] 2026 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2055 | 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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/json.rs:2022:44 [INFO] [stdout] | [INFO] [stdout] 2022 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2056 | 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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/json.rs:2026:44 [INFO] [stdout] | [INFO] [stdout] 2026 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2056 | 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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/json.rs:2022:44 [INFO] [stdout] | [INFO] [stdout] 2022 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2057 | 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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/json.rs:2026:44 [INFO] [stdout] | [INFO] [stdout] 2026 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2057 | 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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/json.rs:2022:44 [INFO] [stdout] | [INFO] [stdout] 2022 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2058 | 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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/json.rs:2026:44 [INFO] [stdout] | [INFO] [stdout] 2026 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2058 | 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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/json.rs:2022:44 [INFO] [stdout] | [INFO] [stdout] 2022 | Json::I64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2059 | 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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/json.rs:2026:44 [INFO] [stdout] | [INFO] [stdout] 2026 | Json::U64(f) => match num::cast(f) { [INFO] [stdout] | ^^^^ not found in `num` [INFO] [stdout] ... [INFO] [stdout] 2059 | 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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/lib.rs:13:68 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(core, collections, unicode, old_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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/lib.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(core, collections, unicode, old_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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/lib.rs:13:31 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(core, collections, unicode, old_io, std_misc, old_path, path, os)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `old_io` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/lib.rs:13:40 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(core, collections, unicode, old_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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/lib.rs:13:48 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(core, collections, unicode, old_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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/lib.rs:13:58 [INFO] [stdout] | [INFO] [stdout] 13 | #![feature(core, collections, unicode, old_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-1949cf8c6b5b557f/rustc-serialize-0.2.15/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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/marker.rs:458:1 [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-1949cf8c6b5b557f/rustc-serialize-0.2.15/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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/marker.rs:458:1 [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-1949cf8c6b5b557f/rustc-serialize-0.2.15/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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/marker.rs:458:1 [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-1949cf8c6b5b557f/rustc-serialize-0.2.15/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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/marker.rs:458:1 [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-1949cf8c6b5b557f/rustc-serialize-0.2.15/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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/marker.rs:458:1 [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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/json.rs:322:10 [INFO] [stdout] | [INFO] [stdout] 322 | #[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/8de4c7234dd9b97c9d76b58671343fdbbc9a433e/library/core/src/marker.rs:458:1 [INFO] [stdout] help: consider annotating `EncoderError` with `#[derive(Clone)]` [INFO] [stdout] | [INFO] [stdout] 323 + #[derive(Clone)] [INFO] [stdout] 324 | 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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/json.rs:1148:26 [INFO] [stdout] | [INFO] [stdout] 1148 | 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] 1148 - fn index(&self, idx: & &str) -> &Json { [INFO] [stdout] 1148 + 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-1949cf8c6b5b557f/rustc-serialize-0.2.15/src/json.rs:1156:33 [INFO] [stdout] | [INFO] [stdout] 1156 | 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] 1156 - fn index<'a>(&'a self, idx: &usize) -> &'a Json { [INFO] [stdout] 1156 + fn index<'a>(&'a self, idx: usize) -> &'a Json { [INFO] [stdout] | [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" "7178e406b00802ab6ecf90768ccf5ab97468062ba43c484924bc46b318f693f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7178e406b00802ab6ecf90768ccf5ab97468062ba43c484924bc46b318f693f7", kill_on_drop: false }` [INFO] [stdout] 7178e406b00802ab6ecf90768ccf5ab97468062ba43c484924bc46b318f693f7