{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla-sensorweb/sensorweb-firmware/issues/32","repository_url":"https://api.github.com/repos/mozilla-sensorweb/sensorweb-firmware","labels_url":"https://api.github.com/repos/mozilla-sensorweb/sensorweb-firmware/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/mozilla-sensorweb/sensorweb-firmware/issues/32/comments","events_url":"https://api.github.com/repos/mozilla-sensorweb/sensorweb-firmware/issues/32/events","html_url":"https://github.com/mozilla-sensorweb/sensorweb-firmware/issues/32","id":190309470,"number":32,"title":"Error: print macros already defined","user":{"login":"tdz","id":182914,"avatar_url":"https://avatars.githubusercontent.com/u/182914?v=3","gravatar_id":"","url":"https://api.github.com/users/tdz","html_url":"https://github.com/tdz","followers_url":"https://api.github.com/users/tdz/followers","following_url":"https://api.github.com/users/tdz/following{/other_user}","gists_url":"https://api.github.com/users/tdz/gists{/gist_id}","starred_url":"https://api.github.com/users/tdz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tdz/subscriptions","organizations_url":"https://api.github.com/users/tdz/orgs","repos_url":"https://api.github.com/users/tdz/repos","events_url":"https://api.github.com/users/tdz/events{/privacy}","received_events_url":"https://api.github.com/users/tdz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-11-18T12:36:02Z","updated_at":"2016-11-18T16:43:10Z","closed_at":null,"body":"Running ./build.sh, I got the following error today:\r\n\r\nerror[E0428]: a macro named `print` has already been defined in this module\r\nerror[E0428]: a macro named `println` has already been defined in this module\r\nerror: aborting due to 2 previous errors\r\nerror: Could not compile `sensorweb-firmware`.\r\n\r\nCaused by:\r\n  process didn't exit successfully: `rustc src/main.rs --crate-name sensorweb_firmware --crate-type bin -C panic=abort -g -C metadata=53109325ec47cbb2 -C extra-filename=-53109325ec47cbb2 --out-dir /home/mozilla/Projects/mozilla/src/sensorweb/sensorweb-firmware/target/thumbv7em-none-eabi/debug/deps --emit=dep-info,link --target thumbv7em-none-eabi -L dependency=/home/mozilla/Projects/mozilla/src/sensorweb/sensorweb-firmware/target/thumbv7em-none-eabi/debug/deps --extern sensorweb_sys=/home/mozilla/Projects/mozilla/src/sensorweb/sensorweb-firmware/target/thumbv7em-none-eabi/debug/deps/libsensorweb_sys-6ac3dbe2f33149e3.rlib --extern freertos_rs=/home/mozilla/Projects/mozilla/src/sensorweb/sensorweb-firmware/target/thumbv7em-none-eabi/debug/deps/libfreertos_rs-9355b9a390b957e8.rlib --extern freertos_alloc=/home/mozilla/Projects/mozilla/src/sensorweb/sensorweb-firmware/target/thumbv7em-none-eabi/debug/deps/libfreertos_alloc-3c2f95d37e0c1ef2.rlib --extern cc3200=/home/mozilla/Projects/mozilla/src/sensorweb/sensorweb-firmware/target/thumbv7em-none-eabi/debug/deps/libcc3200-eca4f5ced93a1632.rlib -C link-arg=-Tlayout.ld -C link-arg=-nostartfiles -C link-arg=-Wl,-Map=firmware.map --sysroot /home/mozilla/.xargo -L native=/home/mozilla/Projects/mozilla/src/sensorweb/sensorweb-firmware/target/thumbv7em-none-eabi/debug/build/sensorweb-sys-44bf968803a0cff5/out -L native=/home/mozilla/Projects/mozilla/src/sensorweb/sensorweb-firmware/target/thumbv7em-none-eabi/debug/build/freertos_alloc-7c43e7bce82a38b5/out -L native=/usr/lib/gcc/arm-none-eabi/5.2.0/../../../../arm-none-eabi/lib/armv7e-m -L native=/usr/lib/gcc/arm-none-eabi/5.2.0/armv7e-m -L native=/home/mozilla/Projects/mozilla/src/sensorweb/sensorweb-firmware/target/thumbv7em-none-eabi/debug/build/cc3200-sys-60022d3b4ada1ff5/out` (exit code: 101)\r\n\r\nRust is\r\n\r\n  rustc --version\r\n  rustc 1.15.0-nightly (ba872f270 2016-11-17)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mozilla-sensorweb/sensorweb-firmware/issues/comments/261579129","html_url":"https://github.com/mozilla-sensorweb/sensorweb-firmware/issues/32#issuecomment-261579129","issue_url":"https://api.github.com/repos/mozilla-sensorweb/sensorweb-firmware/issues/32","id":261579129,"user":{"login":"dhylands","id":127500,"avatar_url":"https://avatars.githubusercontent.com/u/127500?v=3","gravatar_id":"","url":"https://api.github.com/users/dhylands","html_url":"https://github.com/dhylands","followers_url":"https://api.github.com/users/dhylands/followers","following_url":"https://api.github.com/users/dhylands/following{/other_user}","gists_url":"https://api.github.com/users/dhylands/gists{/gist_id}","starred_url":"https://api.github.com/users/dhylands/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhylands/subscriptions","organizations_url":"https://api.github.com/users/dhylands/orgs","repos_url":"https://api.github.com/users/dhylands/repos","events_url":"https://api.github.com/users/dhylands/events{/privacy}","received_events_url":"https://api.github.com/users/dhylands/received_events","type":"User","site_admin":false},"created_at":"2016-11-18T16:43:10Z","updated_at":"2016-11-18T16:43:10Z","body":"I'd recommend that you copy one of the examples from cc3200-rs as your starting point.\r\n\r\nI also used rustup to install nightly-2016-11-06 version of the toolchain. The scripts/travis.sh script will have the particular verison that working.\r\n\r\nrustc --version should report:\r\n```\r\nrustc 1.14.0-nightly (cae6ab1c4 2016-11-05)\r\n```"}}
{"actor":{"display_login":"dhylands"}}