[INFO] crate json-codec 0.5.0 is already in cache [INFO] checking json-codec-0.5.0 against beta-2019-10-27 for pr-65897 [INFO] extracting crate json-codec 0.5.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate json-codec 0.5.0 on toolchain beta-2019-10-27 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate json-codec 0.5.0 [INFO] finished tweaking crates.io crate json-codec 0.5.0 [INFO] tweaked toml for crates.io crate json-codec 0.5.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-10-27" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-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" "+beta-2019-10-27" "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] 0738dfb0c20abe62fc65034d4f2efb57a737b6ca4b03a34891fe7fff0346fef8 [INFO] running `"docker" "start" "-a" "0738dfb0c20abe62fc65034d4f2efb57a737b6ca4b03a34891fe7fff0346fef8"` [INFO] [stderr] Checking json-codec v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0599]: no method named `gen_range` found for type `&mut G` in the current scope [INFO] [stderr] --> tests/properties.rs:132:13 [INFO] [stderr] | [INFO] [stderr] 132 | match g.gen_range(1, 8) { [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut G` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 4 | use rand::Rng; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `gen` found for type `&mut G` in the current scope [INFO] [stderr] --> tests/properties.rs:135:29 [INFO] [stderr] | [INFO] [stderr] 135 | 3 => Json::Number(g.gen()), [INFO] [stderr] | ^^^ method not found in `&mut G` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 4 | use rand::Rng; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `gen_range` found for type `&mut G` in the current scope [INFO] [stderr] --> tests/properties.rs:154:21 [INFO] [stderr] | [INFO] [stderr] 154 | let len = g.gen_range(0, 64); [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut G` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 4 | use rand::Rng; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `gen_range` found for type `&mut G` in the current scope [INFO] [stderr] --> tests/properties.rs:163:21 [INFO] [stderr] | [INFO] [stderr] 163 | let len = g.gen_range(0, 64); [INFO] [stderr] | ^^^^^^^^^ method not found in `&mut G` [INFO] [stderr] | [INFO] [stderr] = help: items from traits can only be used if the trait is in scope [INFO] [stderr] help: the following trait is implemented but not in scope, perhaps add a `use` for it: [INFO] [stderr] | [INFO] [stderr] 4 | use rand::Rng; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0599`. [INFO] [stderr] error: could not compile `json-codec`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "0738dfb0c20abe62fc65034d4f2efb57a737b6ca4b03a34891fe7fff0346fef8"` [INFO] running `"docker" "rm" "-f" "0738dfb0c20abe62fc65034d4f2efb57a737b6ca4b03a34891fe7fff0346fef8"` [INFO] [stdout] 0738dfb0c20abe62fc65034d4f2efb57a737b6ca4b03a34891fe7fff0346fef8