[INFO] updating cached repository https://github.com/tercen/rustson [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] cd193645e170dc6faa1b460537f84abda1f3ccfc [INFO] checking tercen/rustson against try#1a608893c03d7722effeb0058e82770bd36b4b3c for pr-66504-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftercen%2Frustson" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tercen/rustson on toolchain 1a608893c03d7722effeb0058e82770bd36b4b3c [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/tercen/rustson [INFO] finished tweaking git repo https://github.com/tercen/rustson [INFO] tweaked toml for git repo https://github.com/tercen/rustson written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1a608893c03d7722effeb0058e82770bd36b4b3c" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b44c602346a606745d86baf71cba222358724bde528b7571faa54391aee742e4 [INFO] running `"docker" "start" "-a" "b44c602346a606745d86baf71cba222358724bde528b7571faa54391aee742e4"` [INFO] [stderr] Checking rustson v0.2.11 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: maybe a missing crate `tokio_core`? [INFO] [stderr] --> src/stream.rs:65:13 [INFO] [stderr] | [INFO] [stderr] 65 | use tokio_core::reactor::Core; [INFO] [stderr] | ^^^^^^^^^^ maybe a missing crate `tokio_core`? [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Cursor` [INFO] [stderr] --> src/stream.rs:57:28 [INFO] [stderr] | [INFO] [stderr] 57 | let value = decode(Cursor::new(&bytes)).unwrap(); [INFO] [stderr] | ^^^^^^ use of undeclared type or module `Cursor` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stderr] --> src/stream.rs:71:18 [INFO] [stderr] | [INFO] [stderr] 71 | vec.push(Value::NULL); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Value` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stderr] --> src/stream.rs:72:18 [INFO] [stderr] | [INFO] [stderr] 72 | vec.push(Value::BOOL(true)); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Value` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stderr] --> src/stream.rs:73:18 [INFO] [stderr] | [INFO] [stderr] 73 | vec.push(Value::I32(42)); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Value` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stderr] --> src/stream.rs:74:18 [INFO] [stderr] | [INFO] [stderr] 74 | vec.push(Value::F64(42.0)); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Value` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stderr] --> src/stream.rs:75:18 [INFO] [stderr] | [INFO] [stderr] 75 | vec.push(Value::STR("42.0".to_owned())); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Value` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stderr] --> src/stream.rs:76:18 [INFO] [stderr] | [INFO] [stderr] 76 | vec.push(Value::LSTU8(vec![42])); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Value` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stderr] --> src/stream.rs:77:18 [INFO] [stderr] | [INFO] [stderr] 77 | vec.push(Value::LSTI8(vec![42])); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Value` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stderr] --> src/stream.rs:78:18 [INFO] [stderr] | [INFO] [stderr] 78 | vec.push(Value::LSTU16(vec![42])); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Value` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stderr] --> src/stream.rs:79:18 [INFO] [stderr] | [INFO] [stderr] 79 | vec.push(Value::LSTI16(vec![42])); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Value` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stderr] --> src/stream.rs:80:18 [INFO] [stderr] | [INFO] [stderr] 80 | vec.push(Value::LSTU32(vec![42])); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Value` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stderr] --> src/stream.rs:81:18 [INFO] [stderr] | [INFO] [stderr] 81 | vec.push(Value::LSTI32(vec![42])); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Value` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stderr] --> src/stream.rs:82:18 [INFO] [stderr] | [INFO] [stderr] 82 | vec.push(Value::LSTU64(vec![42])); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Value` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stderr] --> src/stream.rs:83:18 [INFO] [stderr] | [INFO] [stderr] 83 | vec.push(Value::LSTI64(vec![42])); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Value` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stderr] --> src/stream.rs:84:18 [INFO] [stderr] | [INFO] [stderr] 84 | vec.push(Value::LSTF32(vec![42.0])); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Value` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stderr] --> src/stream.rs:85:18 [INFO] [stderr] | [INFO] [stderr] 85 | vec.push(Value::LSTF64(vec![42.0])); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Value` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stderr] --> src/stream.rs:86:18 [INFO] [stderr] | [INFO] [stderr] 86 | vec.push(Value::LSTSTR(vec!["42".to_owned()])); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Value` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `HashMap` [INFO] [stderr] --> src/stream.rs:88:23 [INFO] [stderr] | [INFO] [stderr] 88 | let mut map = HashMap::new(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `HashMap` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stderr] --> src/stream.rs:89:38 [INFO] [stderr] | [INFO] [stderr] 89 | map.insert("i42".to_owned(), Value::I32(42)); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Value` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `HashMap` [INFO] [stderr] --> src/stream.rs:91:29 [INFO] [stderr] | [INFO] [stderr] 91 | let mut inner_map = HashMap::new(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `HashMap` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stderr] --> src/stream.rs:92:44 [INFO] [stderr] | [INFO] [stderr] 92 | inner_map.insert("u42".to_owned(), Value::LSTU8(vec![42])); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Value` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stderr] --> src/stream.rs:94:38 [INFO] [stderr] | [INFO] [stderr] 94 | map.insert("map".to_owned(), Value::MAP(inner_map)); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Value` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stderr] --> src/stream.rs:96:18 [INFO] [stderr] | [INFO] [stderr] 96 | vec.push(Value::MAP(map)); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Value` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stderr] --> src/stream.rs:98:22 [INFO] [stderr] | [INFO] [stderr] 98 | let object = Value::LST(vec); [INFO] [stderr] | ^^^^^ use of undeclared type or module `Value` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `Core` [INFO] [stderr] --> src/stream.rs:107:24 [INFO] [stderr] | [INFO] [stderr] 107 | let mut core = Core::new().unwrap(); [INFO] [stderr] | ^^^^ use of undeclared type or module `Core` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Value` in this scope [INFO] [stderr] --> src/stream.rs:39:31 [INFO] [stderr] | [INFO] [stderr] 39 | fn encode_decode(object: &Value) { [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 37 | use Value; [INFO] [stderr] | [INFO] [stderr] 37 | use serde_json::Value; [INFO] [stderr] | [INFO] [stderr] 37 | use serde_json::value::Value; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `decode` in this scope [INFO] [stderr] --> src/stream.rs:57:21 [INFO] [stderr] | [INFO] [stderr] 57 | let value = decode(Cursor::new(&bytes)).unwrap(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 37 | use decode; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures::future::lazy` [INFO] [stderr] --> src/stream.rs:66:13 [INFO] [stderr] | [INFO] [stderr] 66 | use futures::future::lazy; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::runtime::Runtime` [INFO] [stderr] --> src/stream.rs:68:13 [INFO] [stderr] | [INFO] [stderr] 68 | use tokio::runtime::Runtime; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for type `stream::SerializerStream<'_>` in the current scope [INFO] [stderr] --> src/stream.rs:100:40 [INFO] [stderr] | [INFO] [stderr] 5 | struct SerializerStream<'v> { [INFO] [stderr] | --------------------------- function or associated item `new` not found for this [INFO] [stderr] ... [INFO] [stderr] 100 | let stream = SerializerStream::new(12, &object); [INFO] [stderr] | ^^^ function or associated item not found in `stream::SerializerStream<'_>` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stderr] = note: the following trait defines an item `new`, perhaps you need to implement it: [INFO] [stderr] candidate #1: `parking_lot_core::thread_parker::ThreadParkerT` [INFO] [stderr] [INFO] [stderr] error: aborting due to 29 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `rustson`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "b44c602346a606745d86baf71cba222358724bde528b7571faa54391aee742e4"` [INFO] running `"docker" "rm" "-f" "b44c602346a606745d86baf71cba222358724bde528b7571faa54391aee742e4"` [INFO] [stdout] b44c602346a606745d86baf71cba222358724bde528b7571faa54391aee742e4