[INFO] fetching crate fxoanda 0.1.3... [INFO] testing fxoanda-0.1.3 against 1.49.0 for beta-1.50-1 [INFO] extracting crate fxoanda 0.1.3 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate fxoanda 0.1.3 on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate fxoanda 0.1.3 [INFO] finished tweaking crates.io crate fxoanda 0.1.3 [INFO] tweaked toml for crates.io crate fxoanda 0.1.3 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate crates.io crate fxoanda 0.1.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d89ffa0151a6d6680d21856643e5a7b67c204606505fb9f2752b3f06e0ef9322 [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" "d89ffa0151a6d6680d21856643e5a7b67c204606505fb9f2752b3f06e0ef9322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d89ffa0151a6d6680d21856643e5a7b67c204606505fb9f2752b3f06e0ef9322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d89ffa0151a6d6680d21856643e5a7b67c204606505fb9f2752b3f06e0ef9322", kill_on_drop: false }` [INFO] [stdout] d89ffa0151a6d6680d21856643e5a7b67c204606505fb9f2752b3f06e0ef9322 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06e6a51827ff8b53950a129b5f1607b6d019219d0d65331511187d7d01b10e17 [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" "06e6a51827ff8b53950a129b5f1607b6d019219d0d65331511187d7d01b10e17", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling serde v1.0.84 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling openssl v0.10.16 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling encoding_rs v0.8.14 [INFO] [stderr] Compiling dtoa v0.4.3 [INFO] [stderr] Compiling base64 v0.12.1 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling openssl-sys v0.9.40 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling serde_derive v1.0.84 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.35 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling fxoanda_serdes v0.1.0 [INFO] [stderr] Compiling pin-project-internal v0.4.20 [INFO] [stderr] Compiling pin-project v0.4.20 [INFO] [stderr] Compiling fxoanda_definitions v0.1.0 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.6 [INFO] [stderr] Compiling fxoanda v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 07s [INFO] running `Command { std: "docker" "inspect" "06e6a51827ff8b53950a129b5f1607b6d019219d0d65331511187d7d01b10e17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06e6a51827ff8b53950a129b5f1607b6d019219d0d65331511187d7d01b10e17", kill_on_drop: false }` [INFO] [stdout] 06e6a51827ff8b53950a129b5f1607b6d019219d0d65331511187d7d01b10e17 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe88efcac08e0e585f4d6f608cbb66f89a0d59cb178e6171427be75d32a17e5c [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" "fe88efcac08e0e585f4d6f608cbb66f89a0d59cb178e6171427be75d32a17e5c", kill_on_drop: false }` [INFO] [stderr] Compiling fxoanda v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 13.98s [INFO] running `Command { std: "docker" "inspect" "fe88efcac08e0e585f4d6f608cbb66f89a0d59cb178e6171427be75d32a17e5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe88efcac08e0e585f4d6f608cbb66f89a0d59cb178e6171427be75d32a17e5c", kill_on_drop: false }` [INFO] [stdout] fe88efcac08e0e585f4d6f608cbb66f89a0d59cb178e6171427be75d32a17e5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9595514ab07add2549d96e4c0708270651e5c12f018c2ed121d44bd7e6447769 [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" "9595514ab07add2549d96e4c0708270651e5c12f018c2ed121d44bd7e6447769", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/fxoanda-17d3050f3b7c8d1e [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests fxoanda [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 10) ... FAILED [INFO] [stdout] test src/lib.rs - (line 16) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 10) stdout ---- [INFO] [stdout] error: expected one of `!`, `.`, `::`, `;`, `?`, `{`, `}`, or an operator, found `install` [INFO] [stdout] --> src/lib.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 4 | cargo install fxoanda [INFO] [stdout] | ^^^^^^^ expected one of 8 possible tokens [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 16) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env` [INFO] [stdout] --> src/lib.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 6 | let api_key = env::var("OANDA_KEY").expect("expected OANDA_KEY environment variable to be set"); [INFO] [stdout] | ^^^ use of undeclared crate or module `env` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `env` [INFO] [stdout] --> src/lib.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 7 | let api_host = env::var("OANDA_HOST").expect("expected OANDA_HOST environment variable to be set"); [INFO] [stdout] | ^^^ use of undeclared crate or module `env` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 10) [INFO] [stdout] src/lib.rs - (line 16) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "9595514ab07add2549d96e4c0708270651e5c12f018c2ed121d44bd7e6447769", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9595514ab07add2549d96e4c0708270651e5c12f018c2ed121d44bd7e6447769", kill_on_drop: false }` [INFO] [stdout] 9595514ab07add2549d96e4c0708270651e5c12f018c2ed121d44bd7e6447769